Refactor job model and optimize job streaming.
Updated the `JobModel` with foreign key relationships and string-based status to enhance database consistency, and improved job event streaming by using `jsonable_encoder` for better serialization. Also, streamlined dependencies by adding `urllib3` to handle HTTP requests.
This commit is contained in:
@@ -16,4 +16,6 @@ mysqlclient~=2.1.1
|
||||
python-multipart~=0.0.6
|
||||
uvicorn==0.23.1
|
||||
python-dotenv
|
||||
psycopg2-binary
|
||||
psycopg2-binary
|
||||
python-dateutil~=2.8.2
|
||||
urllib3~=2.2.1
|
||||
Reference in New Issue
Block a user