| 7 | |
| 8 | class TodoModel(Model): |
| 9 | class Meta: |
| 10 | table_name = os.environ['DYNAMODB_TABLE'] |
| 11 | if 'ENV' in os.environ: |
| 12 | host = 'http://localhost:8000' |
| 13 | else: |
| 14 | region = 'us-east-1' |
| 15 | host = 'https://dynamodb.us-east-1.amazonaws.com' |
| 16 | |
| 17 | todo_id = UnicodeAttribute(hash_key=True, null=False) |
| 18 | text = UnicodeAttribute(null=False) |
nothing calls this directly
no outgoing calls
no test coverage detected