Skip to content

Commit d8e8f27

Browse files
committed
UnityPy.load - directly map to Environment to inherit call signature for typehinting
1 parent 6d5e901 commit d8e8f27

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

UnityPy/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
set_assetbundle_decrypt_key as set_assetbundle_decrypt_key,
66
)
77

8-
9-
def load(*args, fs=None, **kwargs):
10-
return Environment(*args, fs=fs, **kwargs)
11-
8+
load = Environment
129

1310
# backward compatibility
1411
AssetsManager = Environment

0 commit comments

Comments
 (0)