Files
DataMate/runtime/datamate-python/requirements.txt
Jason Wang 78f50ea520 feat: File and Annotation 2-way sync implementation (#63)
* feat: Refactor configuration and sync logic for improved dataset handling and logging

* feat: Enhance annotation synchronization and dataset file management

- Added new fields `tags_updated_at` to `DatasetFiles` model for tracking the last update time of tags.
- Implemented new asynchronous methods in the Label Studio client for fetching, creating, updating, and deleting task annotations.
- Introduced bidirectional synchronization for annotations between DataMate and Label Studio, allowing for flexible data management.
- Updated sync service to handle annotation conflicts based on timestamps, ensuring data integrity during synchronization.
- Enhanced dataset file response model to include tags and their update timestamps.
- Modified database initialization script to create a new column for `tags_updated_at` in the dataset files table.
- Updated requirements to ensure compatibility with the latest dependencies.
2025-11-07 15:03:07 +08:00

24 lines
990 B
Plaintext

fastapi==0.118.2
uvicorn[standard]==0.37.0
sqlalchemy==2.0.43
# 数据库驱动 (MySQL优先)
aiomysql==0.2.0 # MySQL异步驱动
pymysql==1.1.2 # MySQL同步驱动(用于迁移)
# PostgreSQL驱动(可选,备用)
asyncpg==0.30.0 # PostgreSQL异步驱动
psycopg2-binary==2.9.10 # PostgreSQL同步驱动(用于迁移)
aiosqlite==0.19.0 # SQLite异步驱动(开发备用)
alembic==1.16.5
httpx==0.28.1
cryptography
pydantic==2.12.0
pydantic-settings==2.11.0
python-multipart==0.0.20
python-dotenv==1.1.1
python-dateutil==2.9.0
# label-studio-sdk==2.0.11