Various tweaks about AP types

This commit is contained in:
Thomas Sileo 2022-08-13 22:37:44 +02:00
parent 1f36348021
commit 51bfc4bd30
4 changed files with 8 additions and 2 deletions

View file

@ -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: