dataio.scripts.sync_dataset_documentation¶
Sync dataset documentation (README.md and manifest files) from S3 file server to database.
This script fetches README.md and manifest files from the S3 filestore and caches their contents in the datasets table for faster access.
Usage: # Sync all datasets uv run python -m dataio.scripts.sync_dataset_documentation
# Sync specific dataset
uv run python -m dataio.scripts.sync_dataset_documentation --dataset DS_EXAMPLE01
# Dry run (show what would be synced)
uv run python -m dataio.scripts.sync_dataset_documentation --dry-run
Module Contents¶
Functions¶
Build database URL from environment variables. |
|
Initialize S3 client. |
|
Data¶
API¶
- dataio.scripts.sync_dataset_documentation.logger¶
‘getLogger(…)’