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:
Brent Yi authored and GitHub committed 2023-05-06 13:29:48 -07:00
1 parent 7537551f38
commit 63c6303736
58 files changed
+70 -117

No files matched your search

+1 -1
View File
@@ -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}"