summaryrefslogtreecommitdiff
path: root/python/typearchive.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-05-31 18:31:09 -0400
committerGlenn Smith <glenn@vector35.com>2024-06-04 00:29:49 -0400
commit4152126289652104982292308858511197568097 (patch)
tree1f1def136b994e7746b6fe650963d151da209cf8 /python/typearchive.py
parent6520026964065327558472841838510176646568 (diff)
Add CorePlatform to python api for proper subclassing
Diffstat (limited to 'python/typearchive.py')
-rw-r--r--python/typearchive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/typearchive.py b/python/typearchive.py
index 7b264056..379c7d4c 100644
--- a/python/typearchive.py
+++ b/python/typearchive.py
@@ -140,7 +140,7 @@ class TypeArchive:
"""
handle = core.BNGetTypeArchivePlatform(self.handle)
assert handle is not None
- return platform.Platform(handle=handle)
+ return platform.CorePlatform._from_cache(handle=handle)
@property
def current_snapshot_id(self) -> str: