Skip to content

Commit

Permalink
Separate hologram code from dataclass_schema code
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Feb 1, 2021
1 parent ba8d1ff commit bb8fe42
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 777 deletions.
3 changes: 2 additions & 1 deletion core/dbt/config/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def __eq__(self, other: object) -> bool:
def validate(self):
try:
if self.credentials:
self.credentials.to_dict()
dct = self.credentials.to_dict()
self.credentials.validate(dct)
dct = self.to_profile_info(serialize_credentials=True)
ProfileConfig.validate(dct)
except ValidationError as exc:
Expand Down
Loading

0 comments on commit bb8fe42

Please sign in to comment.