Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/HKUDS/AI-Trader
/ using_postgres
Function
using_postgres
service/server/database.py:48–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
47
48
def
using_postgres() -> bool:
49
return
bool(DATABASE_URL)
50
51
52
def
get_database_backend_name() -> str:
Callers
8
_prune_profit_history_unlocked
Function · 0.90
_record_profit_history_once
Function · 0.90
get_database_backend_name
Function · 0.85
begin_write_transaction
Function · 0.85
get_db_connection
Function · 0.85
get_database_status
Function · 0.85
_ensure_challenge_trades_source_signal_nullable
Function · 0.85
init_database
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected