Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentscope-ai/Trinity-RFT
/ is_database_url
Function
is_database_url
trinity/buffer/storage/queue.py:20–21 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
18
19
20
def
is_database_url(path: str) -> bool:
21
return
any(path.startswith(prefix)
for
prefix in [
"sqlite:///"
,
"postgresql://"
,
"mysql://"
])
22
23
24
def
is_json_file(path: str) -> bool:
Callers
3
_resolve_from_config
Function · 0.90
_init_input_storage
Method · 0.90
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected