Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /calkit_calkit /hub /backend /scripts /create-initial-data.py
| import logging | |
| from app.db import engine, init_db | |
| from sqlmodel import Session | |
| logging.basicConfig(level=logging.INFO) | |
| logger = logging.getLogger(__name__) | |
| def init() -> None: | |
| with Session(engine) as session: | |
| init_db(session) | |
| def main() -> None: | |
| logger.info("Creating initial data") | |
| init() | |
| logger.info("Initial data created") | |
| if __name__ == "__main__": | |
| main() | |
Xet Storage Details
- Size:
- 396 Bytes
- Xet hash:
- ff602d5fc0952c0e468be152b283bd4a53bf4ec04931a7242ccdfacbfd1d13e8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.