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
| import json | |
| class EventStore: | |
| base_location = 'events' | |
| storage_format = 'jsonl' | |
| @classmethod | |
| def _get_event_storage_path(cls, key): |
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
| class Command: | |
| pass | |
| class CommandHandler: | |
| pass | |
| class Action(ABC): | |
| def __init__(self) |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Mon Apr 28 19:41:13 2014 | |
| @author: Bruno | |
| """ | |
| from flask import Flask | |
| import serial | |
| app = Flask(__name__) |