Commit
·
99998f9
1
Parent(s):
f0928f6
typos in docstring
Browse files
objaverse_xl/smithsonian.py
CHANGED
@@ -66,7 +66,7 @@ class SmithsonianDownloader(ObjaverseSource):
|
|
66 |
to. Supports all file systems supported by fsspec. If None, the
|
67 |
Smithsonian Object will be deleted after it is downloaded and processed
|
68 |
with the handler functions.
|
69 |
-
expected_sha256 (str): The expected SHA256 of the contents of the
|
70 |
object.
|
71 |
handle_found_object (Optional[Callable]): Called when an object is
|
72 |
successfully found and downloaded. Here, the object has the same sha256
|
@@ -74,7 +74,7 @@ class SmithsonianDownloader(ObjaverseSource):
|
|
74 |
will be downloaded, but nothing will be done with it. Args for the
|
75 |
function include:
|
76 |
- local_path (str): Local path to the downloaded 3D object.
|
77 |
-
- file_identifier (str):
|
78 |
- sha256 (str): SHA256 of the contents of the 3D object.
|
79 |
- metadata (Dict[str, Any]): Metadata about the 3D object, including the
|
80 |
GitHub organization and repo names.
|
@@ -87,7 +87,7 @@ class SmithsonianDownloader(ObjaverseSource):
|
|
87 |
downloaded, but nothing will be done with it. Args for the function
|
88 |
include:
|
89 |
- local_path (str): Local path to the downloaded 3D object.
|
90 |
-
- file_identifier (str):
|
91 |
- new_sha256 (str): SHA256 of the contents of the newly downloaded 3D
|
92 |
object.
|
93 |
- old_sha256 (str): Expected SHA256 of the contents of the 3D object as
|
@@ -99,7 +99,7 @@ class SmithsonianDownloader(ObjaverseSource):
|
|
99 |
Objaverse-XL is not found. Here, it is likely that the repository was
|
100 |
deleted or renamed. If None, nothing will be done with the missing
|
101 |
object. Args for the function include:
|
102 |
-
- file_identifier (str):
|
103 |
- sha256 (str): SHA256 of the contents of the original 3D object.
|
104 |
- metadata (Dict[str, Any]): Metadata about the 3D object, including the
|
105 |
GitHub organization and repo names.
|
|
|
66 |
to. Supports all file systems supported by fsspec. If None, the
|
67 |
Smithsonian Object will be deleted after it is downloaded and processed
|
68 |
with the handler functions.
|
69 |
+
expected_sha256 (str): The expected SHA256 of the contents of the downloaded
|
70 |
object.
|
71 |
handle_found_object (Optional[Callable]): Called when an object is
|
72 |
successfully found and downloaded. Here, the object has the same sha256
|
|
|
74 |
will be downloaded, but nothing will be done with it. Args for the
|
75 |
function include:
|
76 |
- local_path (str): Local path to the downloaded 3D object.
|
77 |
+
- file_identifier (str): File identifier of the 3D object.
|
78 |
- sha256 (str): SHA256 of the contents of the 3D object.
|
79 |
- metadata (Dict[str, Any]): Metadata about the 3D object, including the
|
80 |
GitHub organization and repo names.
|
|
|
87 |
downloaded, but nothing will be done with it. Args for the function
|
88 |
include:
|
89 |
- local_path (str): Local path to the downloaded 3D object.
|
90 |
+
- file_identifier (str): File identifier of the 3D object.
|
91 |
- new_sha256 (str): SHA256 of the contents of the newly downloaded 3D
|
92 |
object.
|
93 |
- old_sha256 (str): Expected SHA256 of the contents of the 3D object as
|
|
|
99 |
Objaverse-XL is not found. Here, it is likely that the repository was
|
100 |
deleted or renamed. If None, nothing will be done with the missing
|
101 |
object. Args for the function include:
|
102 |
+
- file_identifier (str): File identifier of the 3D object.
|
103 |
- sha256 (str): SHA256 of the contents of the original 3D object.
|
104 |
- metadata (Dict[str, Any]): Metadata about the 3D object, including the
|
105 |
GitHub organization and repo names.
|