In this PR request I made a script that gets data from label studio and formats it in the correct way so our model can train on the data. The script is type annotated and required me to add a dotenv dependency for loading the the api key from the .env file.
Testing
Ran the script on local machine with my api_key which produced the desired output
Ran format_and_lint before committing
No unit tests
Bugs
Mypy complains: Incompatible types (expression has type "MetaInfo", TypedDict item "meta" has type "MetaInfo") in line 28 even though the meta item only has the type MetaInfo, but nonetheless the script runs as expected.
Script for getting data from label studio
In this PR request I made a script that gets data from label studio and formats it in the correct way so our model can train on the data. The script is type annotated and required me to add a dotenv dependency for loading the the api key from the .env file.
Testing
Bugs