Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ _state_get
Function
_state_get
script/run_paper2figure_cli.py:40–43 ·
view source on GitHub ↗
(state, key: str, default=None)
Source
from the content-addressed store, hash-verified
38
39
40
def
_state_get(state, key: str, default=None):
41
if
isinstance(state, dict):
42
return
state.get(key, default)
43
return
getattr(state, key, default)
44
45
46
# Workflow mapping for different graph types
Callers
1
print_results
Function · 0.70
Calls
1
get
Method · 0.45
Tested by
no test coverage detected