Skip to content

Commit

Permalink
remove inscrutable __getattr__ override
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Oct 14, 2019
1 parent 7591675 commit 43daea0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/dbt/contracts/graph/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,6 @@ def patch_nodes(self, patches):
'not found or is disabled').format(patch.name)
)

# TODO: why is this here?
def __getattr__(self, name):
raise AttributeError("'{}' object has no attribute '{}'".format(
type(self).__name__, name)
)

def get_used_schemas(self, resource_types=None):
return frozenset({
(node.database, node.schema)
Expand Down

0 comments on commit 43daea0

Please sign in to comment.