File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -283,14 +283,14 @@ def get_or_fetch_entity_by_id(
283283 self .project_name ,
284284 entity_id ,
285285 fields = self ._get_folder_fields (),
286- own_attributes = True
286+ own_attributes = True ,
287287 )
288288 elif entity_type == "task" :
289289 entity_data = self ._connection .get_task_by_id (
290290 self .project_name ,
291291 entity_id ,
292292 fields = self ._get_task_fields (),
293- own_attributes = True
293+ own_attributes = True ,
294294 )
295295 elif entity_type == "product" :
296296 entity_data = self ._connection .get_product_by_id (
@@ -781,6 +781,7 @@ def _fetch_entity_children(self, entity: BaseEntity) -> None:
781781 parent_ids = [entity .id ],
782782 fields = folder_fields ,
783783 own_attributes = True ,
784+ active = None ,
784785 ))
785786
786787 elif entity .entity_type == "folder" :
@@ -789,13 +790,15 @@ def _fetch_entity_children(self, entity: BaseEntity) -> None:
789790 parent_ids = [entity .id ],
790791 fields = folder_fields ,
791792 own_attributes = True ,
793+ active = None ,
792794 ))
793795
794796 tasks = list (self ._connection .get_tasks (
795797 self .project_entity ["name" ],
796798 folder_ids = [entity .id ],
797799 fields = task_fields ,
798800 own_attributes = True ,
801+ active = None ,
799802 ))
800803
801804 children_ids = {
@@ -897,7 +900,7 @@ def fill_project_from_server(self) -> ProjectEntity:
897900 project_name = self .project_name
898901 project = self ._connection .get_project (
899902 project_name ,
900- own_attributes = True
903+ own_attributes = True ,
901904 )
902905 if not project :
903906 raise ValueError (f"Project \" { project_name } \" was not found." )
@@ -949,11 +952,13 @@ def fetch_hierarchy_entities(self) -> None:
949952 project_entity .name ,
950953 fields = folder_fields ,
951954 own_attributes = True ,
955+ active = None ,
952956 )
953957 tasks = self ._connection .get_tasks (
954958 project_entity .name ,
955959 fields = task_fields ,
956960 own_attributes = True ,
961+ active = None ,
957962 )
958963 folders_by_parent_id = collections .defaultdict (list )
959964 for folder in folders :
You can’t perform that action at this time.
0 commit comments