Skip to content

Commit

Permalink
Fix schema validation error
Browse files Browse the repository at this point in the history
  • Loading branch information
bneijt committed Jun 17, 2022
1 parent f228f57 commit 81a7f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/dbt/config/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def __init__(
self.threads = threads
self.credentials = credentials
self.profile_env_vars = {} # never available on init
self.manage_schemas = manage_schemas

def to_profile_info(self, serialize_credentials: bool = False) -> Dict[str, Any]:
"""Unlike to_project_config, this dict is not a mirror of any existing
Expand Down
2 changes: 1 addition & 1 deletion core/dbt/config/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ def to_project_config(self, with_packages=False):
"asset-paths": self.asset_paths,
"target-path": self.target_path,
"snapshot-paths": self.snapshot_paths,
"managed-schemas": self.managed_schemas,
"managed-schemas": [schema.to_dict() for schema in self.managed_schemas],
"clean-targets": self.clean_targets,
"log-path": self.log_path,
"quoting": self.quoting,
Expand Down

0 comments on commit 81a7f00

Please sign in to comment.