MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / connect_pb_from_dict

Method connect_pb_from_dict

scratchattach/site/session.py:578–581  ·  view source on GitHub ↗
(self, project_json: dict)

Source from the content-addressed store, hash-verified

576 return pb
577
578 def connect_pb_from_dict(self, project_json: dict) -> editor.Project:
579 pb = editor.Project.from_json(project_json)
580 pb._session = self
581 return pb
582
583 def connect_pb_from_file(self, path_to_file) -> editor.Project:
584 pb = editor.Project.from_sb3(path_to_file)

Callers

nothing calls this directly

Calls 1

from_jsonMethod · 0.45

Tested by

no test coverage detected