Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TimMcCool/scratchattach
/ from_str
Method
from_str
scratchattach/editor/twconfig.py:78–79 ·
view source on GitHub ↗
(string: str)
Source
from the content-addressed store, hash-verified
76
77
@staticmethod
78
def
from_str(string: str):
79
return
TWConfig.from_json(get_twconfig_data(string))
80
81
82
def
is_valid_twconfig(string: str) -> bool:
Callers
1
tw_config
Method · 0.80
Calls
2
get_twconfig_data
Function · 0.85
from_json
Method · 0.45
Tested by
no test coverage detected