Skip to content

Commit

Permalink
make default camel case true
Browse files Browse the repository at this point in the history
  • Loading branch information
silvavelosa committed Nov 22, 2023
1 parent 12b3bb5 commit f462bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cognite/client/data_classes/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def _load(cls: type[Self], resource: dict | str, cognite_client: CogniteClient |
[WorkflowTask._load(task) for task in subworkflow["tasks"]],
)

def dump(self, camel_case: bool = False) -> dict[str, Any]:
def dump(self, camel_case: bool = True) -> dict[str, Any]:
return {self.task_type: {"tasks": [task.dump(camel_case) for task in self.tasks]}}


Expand Down

0 comments on commit f462bb4

Please sign in to comment.