Skip to content

Commit

Permalink
Change source to dict.
Browse files Browse the repository at this point in the history
  • Loading branch information
YihuiGuo committed Aug 27, 2022
1 parent b062fb9 commit 27415ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions registry/purview-registry/registry/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,11 @@ def to_dict(self) -> dict:
ret["preprocessing"] = self.preprocessing
if self.event_timestamp_column is not None:
ret["eventTimestampColumn"] = self.event_timestamp_column
ret["event_timestamp_column"] = self.event_timestamp_column
if self.timestamp_format is not None:
ret["timestampFormat"] = self.timestamp_format
ret["timestamp_format"] = self.timestamp_format

return ret


Expand Down

0 comments on commit 27415ea

Please sign in to comment.