Various tweaks about AP types
This commit is contained in:
parent
1f36348021
commit
51bfc4bd30
4 changed files with 8 additions and 2 deletions
|
@ -31,7 +31,7 @@ class Object:
|
|||
|
||||
@cached_property
|
||||
def ap_type(self) -> str:
|
||||
return self.ap_object["type"]
|
||||
return ap.as_list(self.ap_object["type"])[0]
|
||||
|
||||
@property
|
||||
def ap_object(self) -> ap.RawObject:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue