Skip to content

Commit d850296

Browse files
authored
Merge pull request #100 from controlm/fix-sub-folder-defaults
Fix apply defaults for sub folder #90
2 parents 097104f + 2d166d5 commit d850296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ctm_python_client/core/workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def _apply_defaults_for_SimpleFolder(self, obj: SimpleFolder):
113113

114114
def _apply_defaults_for_SubFolder(self, obj: SubFolder):
115115
self._apply_defaults_for_type(obj, 'SubFolder')
116+
list(map(self._apply_defaults_for_job, obj.job_list))
116117

117118
def add(self, obj: AAPIObject, inpath: str = None, allow_creation: bool = True):
118119
# apply defaults:

0 commit comments

Comments
 (0)