This commit is contained in:
Thomas Krijnen
2023-07-08 12:07:28 +02:00
committed by GitHub
parent 0ee5e3887b
commit 3aea0915d0
3 changed files with 27 additions and 1 deletions
@@ -131,6 +131,13 @@ class entity_instance(object):
"""
self.wrapped_data.file = None
@property
def file(self):
# ugh circular imports, name collisions
from . import file
return file.file.from_pointer(self.wrapped_data.file_pointer())
def __getattr__(self, name):
INVALID, FORWARD, INVERSE = range(3)
attr_cat = self.wrapped_data.get_attribute_category(name)