aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-01-16 12:53:59 +0100
committerThéo de la Hogue2024-01-16 12:53:59 +0100
commit09b321699d0e324d7112ee6a531248ad3c9a719d (patch)
treebac8d91b5a85ed555806c07308af44463a6573b9
parentc8cdc1c013c4e9286f6c8d4d8469faf4411b7ab5 (diff)
downloadargaze-09b321699d0e324d7112ee6a531248ad3c9a719d.zip
argaze-09b321699d0e324d7112ee6a531248ad3c9a719d.tar.gz
argaze-09b321699d0e324d7112ee6a531248ad3c9a719d.tar.bz2
argaze-09b321699d0e324d7112ee6a531248ad3c9a719d.tar.xz
Improving annotations.
-rw-r--r--src/argaze/ArFeatures.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index 6170f47..21eb320 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -554,7 +554,7 @@ class ArFrame(DataStructures.SharedObject):
layers: dict = field(default_factory=dict)
log: bool = field(default=False)
image_parameters: dict = field(default_factory=DEFAULT_ARFRAME_IMAGE_PARAMETERS)
-
+
def __post_init__(self):
# Init sharedObject
@@ -818,14 +818,14 @@ class ArFrame(DataStructures.SharedObject):
return ArFrame.from_dict(frame_data, working_directory)
@property
- def parent(self):
+ def parent(self) -> object:
"""Get parent instance"""
return self.__parent
@parent.setter
- def parent(self, parent):
- """Get parent instance"""
+ def parent(self, parent: object):
+ """Set parent instance"""
self.__parent = parent