MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / resolve_target_url

Function resolve_target_url

scripts/migrate_sqlite_to_postgres.py:250–254  ·  view source on GitHub ↗
(cli_value: str)

Source from the content-addressed store, hash-verified

248
249
250def resolve_target_url(cli_value: str) -> str:
251 raw = str(cli_value or "").strip()
252 if raw:
253 return raw
254 return str(os.environ.get("APP_DATABASE_URL") or os.environ.get("DATABASE_URL") or "").strip()
255
256
257def print_summary(results: Sequence[TableCopyResult]) -> None:

Callers 1

mainFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected