Skip to content

Commit

Permalink
fix typo in UnparsedSourceDefinition.__post_serialize_ (#4349)
Browse files Browse the repository at this point in the history
* fix typo in UnparsedSourceDefinition.__post_serialize_

fix typo in UnparsedSourceDefinition.__post_serialize_

* update CHANGELOG.md

update CHANGELOG.md

add #4349

* Update changelog

Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com>

automatic commit by git-black, original commits:
  0d320c5
  • Loading branch information
sneznaj authored and iknox-fa committed Feb 8, 2022
1 parent 700e8aa commit 2171adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/contracts/graph/unparsed.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def yaml_key(self) -> "str":

def __post_serialize__(self, dct):
dct = super().__post_serialize__(dct)
if 'freshness' not in dct and self.freshness is None:
if "freshness" not in dct and self.freshness is None:
dct["freshness"] = None
return dct

Expand Down

0 comments on commit 2171adc

Please sign in to comment.