Skip to content

Commit

Permalink
refactor: missing dump
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Nov 28, 2023
1 parent ffb01f6 commit 26a8415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cognite/client/data_classes/data_modeling/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ def dump(self, camel_case: bool = True) -> dict[str, Any]:
}
if self.chain_to:
nodes["chainTo" if camel_case else "chain_to"] = self.chain_to
if self.direction:
nodes["direction"] = self.direction

if self.sort:
output["sort"] = [s.dump(camel_case=camel_case) for s in self.sort]
Expand Down

0 comments on commit 26a8415

Please sign in to comment.