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

Method connect_pb_from_file

scratchattach/site/session.py:583–586  ·  view source on GitHub ↗
(self, path_to_file)

Source from the content-addressed store, hash-verified

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)
585 pb._session = self
586 return pb
587
588 @staticmethod
589 def download_asset(asset_id_with_file_ext, *, filename: Optional[str] = None, fp=""):

Callers

nothing calls this directly

Calls 1

from_sb3Method · 0.80

Tested by

no test coverage detected