We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47f80f8 commit f9d76b3Copy full SHA for f9d76b3
src/lbaf/Model/lbsObject.py
@@ -124,6 +124,7 @@ def __init__(
124
125
# collection_id is not used in LBAF but is required for migratable objects in vt
126
self.__collection_id = collection_id
127
+ self.__index = index
128
129
# Retrieve and set optionally defined fields
130
if isinstance(user_defined, dict) or user_defined is None:
@@ -153,9 +154,6 @@ def __init__(
153
154
else:
155
raise TypeError(f"subphases: {subphases} is of type {type(subphases)} but must be <class 'list'>")
156
- if index is not None:
157
- self.__index = index
158
-
159
def __repr__(self):
160
return f"Object id: {self.get_id()}, load: {self.__load}"
161
0 commit comments