Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ _state_get
Function
_state_get
script/run_paper2ppt_cli.py:43–46 ·
view source on GitHub ↗
(state, key: str, default=None)
Source
from the content-addressed store, hash-verified
41
42
43
def
_state_get(state, key: str, default=None):
44
if
isinstance(state, dict):
45
return
state.get(key, default)
46
return
getattr(state, key, default)
47
48
49
def
parse_args():
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected