mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 10:29:51 +08:00
Bump minimum Python version to 3.8 (#1876)
* Bump minimum Python version to 3.8 * typing_extensions.Literal -> typing.Literal * ns-dev-test * typing_extensions.get_args => typing.get_args * Format with older version of black * Bump `black` * Run black
This commit is contained in:
1 parent
7537551f38
commit
63c6303736
58 files changed
+70
-117
No files matched your search
@@ -53,7 +53,7 @@ def parse_object(
|
||||
ret = []
|
||||
# get a list of the properties of the object, sorted by whether things are instances of type_check
|
||||
obj_props = [(k, getattr(obj, k)) for k in dir(obj)]
|
||||
for (k, v) in obj_props:
|
||||
for k, v in obj_props:
|
||||
if k[0] == "_":
|
||||
continue
|
||||
new_tree_stub = f"{tree_stub}/{k}"
|
||||
|
||||
Reference in new issue
Block a user