This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "receipt_parser", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "items": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "TrelloTask", | |
| "type": "object", | |
| "properties": { | |
| "titulo": { | |
| "type": "string", | |
| "description": "Título en 5–7 palabras, empieza con verbo de acción (Verbo + sujeto + contexto)." | |
| }, | |
| "descripcion": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "TrelloCardsBatch", | |
| "type": "object", | |
| "properties": { | |
| "cards": { | |
| "type": "array", | |
| "description": "Array of Trello card objects, one per action item", | |
| "items": { | |
| "type": "object", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "TrelloCardsArray", | |
| "type": "array", | |
| "minItems": 1, | |
| "maxItems": 8, | |
| "items": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "TrelloCardsArray", | |
| "type": "array", | |
| "minItems": 1, | |
| "maxItems": 8, | |
| "items": { | |
| "type": "object", | |
| "additionalProperties": false, | |
| "required": ["titulo", "descripcion", "acciones_esperadas", "plazo_entrega"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "TrelloTask", | |
| "type": "object", | |
| "properties": { | |
| "titulo": { | |
| "type": "string", | |
| "description": "Título en 5–7 palabras, empieza con verbo de acción (Verbo + sujeto + contexto)." | |
| }, | |
| "descripcion": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from flask import Flask, jsonify, Response | |
| import json | |
| import RPi.GPIO as GPIO | |
| import time | |
| from flask import Flask, jsonify, Response | |
| from concurrent.futures import ThreadPoolExecutor | |
| executor = ThreadPoolExecutor(2) | |
| app = Flask(__name__) | |
| accs = { |