-
Notifications
You must be signed in to change notification settings - Fork 230
Better Python Practices and Delphi Improvements #2204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: edge
Are you sure you want to change the base?
Conversation
d369e6e to
33cd326
Compare
| "Delphi_PCAConversationConfig": { | ||
| "KeySchema": [{"AttributeName": "zid", "KeyType": "HASH"}], | ||
| "AttributeDefinitions": [{"AttributeName": "zid", "AttributeType": "S"}], | ||
| "ProvisionedThroughput": {"ReadCapacityUnits": 5, "WriteCapacityUnits": 5}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be NO provisioned throughput on any table we use or create, all tables should rely on "on-demand" capacity, aka "BillingMode": "PAY_PER_REQUEST",
| [ ] Audit and fix pytest tests | ||
| [ ] Establish delphi tests github workflow | ||
| [x] Refactor make docker commands to use docker directly without docker compose | ||
| [ ] Confirm or remove `configure_instance.py` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some of these are used in prod application setup process during code deploy phase in AWS
| # SENTENCE_TRANSFORMER_MODEL=sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 | ||
|
|
||
| # Database configuration | ||
| DATABASE_HOST=localhost |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally we don't have this at all / all env config is handled at project root level
| @@ -119,13 +119,13 @@ services: | |||
| image: 050917022930.dkr.ecr.us-east-1.amazonaws.com/polis/delphi:latest | |||
| build: | |||
| context: ./delphi | |||
| container_name: delphi-app | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to make sure this doesn't conflict with prod setup in AWS
33cd326 to
cf3265d
Compare
cf3265d to
43c0ace
Compare
No description provided.