Skip to content

Commit

Permalink
load dependencies on module import
Browse files Browse the repository at this point in the history
  • Loading branch information
spapa013 committed Dec 1, 2021
1 parent 24a4699 commit f22e207
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@

# Schema creation
schema = dj.schema(schema_obj.value)
schema.spawn_missing_classes()
schema.spawn_missing_classes()
schema.connection.dependencies.load()
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

# Schema creation
schema = dj.schema(schema_obj.value)
# schema.spawn_missing_classes()
schema.spawn_missing_classes()
schema.connection.dependencies.load()

@schema
class Materialization(dj.Manual):
Expand Down

0 comments on commit f22e207

Please sign in to comment.