Skip to content

Commit

Permalink
add spawn_missing_classes and load_dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
spapa013 committed Dec 21, 2021
1 parent d6a27a4 commit 161f3c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
h01_materialization_config.register_adapters(context=locals())

schema = dj.schema(h01_materialization_config.schema_name, create_schema=True)

schema.spawn_missing_classes()
schema.connection.dependencies.load()
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,8 @@ class Meta(dj.Part):
---
description=NULL : varchar(256) # description of the table version
ts_inserted=CURRENT_TIMESTAMP : timestamp # timestamp that data was inserted into this DataJoint table.
"""
"""


schema.spawn_missing_classes()
schema.connection.dependencies.load()

0 comments on commit 161f3c0

Please sign in to comment.