INNER CODE UNIT · Python
include
allenai/objaverse-xl · objaverse/xl/__init__.py:99
function include:
- local_path (str): Local path to the downloaded 3D object.
- file_identifier (str): File identifier of the 3D object.
- sha256 (str): SHA256 of the contents of the 3D object.
- metadata (Dict[Hashable, Any]): Metadata about the 3D object,
including the GitHub organization and repo names.
Return is not used. Defaults to None.
handle_modified_object (Optional[Callable], optional): Called when a
modified object is found and downloaded. Here, the object is
successfully downloaded, but it has a different sha256 than the one that
was downloaded with Objaverse-XL. This is not expected to happen very
often, because the same commit hash is used for each repo. If None, the
object will be downloaded, but nothing will be done with it. Args for
the function include:
- local_path (str): Local path to the downloaded 3D object.
- file_identifier (str): File identifier of the 3D object.
- new_sha256 (str): SHA256 of the contents of the newly downloaded 3D
object.