Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
def
_is_postgresql() -> bool:
26
return
"postgresql"
in settings.DATABASES[
"default"
][
"ENGINE"
]
27
28
29
def
_get_pg_env() -> dict:
Callers
2
create_backup
Function · 0.85
_restore_database
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected