Some checks failed
Deploy Development / deploy (push) Successful in 33s
Test Suite / pytest-backend (push) Failing after 4s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 1s
Test Suite / compose-smoke (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
369 B
Python
18 lines
369 B
Python
#!/usr/bin/env python3
|
|
"""Sync in-memory rights registry to PostgreSQL."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
|
|
def main() -> int:
|
|
import rights_registrations # noqa: F401 — side-effect registration
|
|
from rights_registry import sync_rights_registry_to_db
|
|
|
|
return sync_rights_registry_to_db()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|