MCPcopy 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
82def is_valid_twconfig(string: str) -> bool:

Callers 1

tw_configMethod · 0.80

Calls 2

get_twconfig_dataFunction · 0.85
from_jsonMethod · 0.45

Tested by

no test coverage detected