MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _is_postgresql

Function _is_postgresql

apps/backups/services.py:25–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def _is_postgresql() -> bool:
26 return "postgresql" in settings.DATABASES["default"]["ENGINE"]
27
28
29def _get_pg_env() -> dict:

Callers 2

create_backupFunction · 0.85
_restore_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected