Skip to content

Commit e349999

Browse files
Merge branch 'master' into key_populate
2 parents af2006c + 92bfd4a commit e349999

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

datajoint/schemas.py

+2
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ def save(self, python_filename=None):
412412
413413
:return: a string containing the body of a complete Python module defining this schema.
414414
"""
415+
self.connection.dependencies.load()
415416
self._assert_exists()
416417
module_count = itertools.count()
417418
# add virtual modules for referenced modules with names vmod0, vmod1, ...
@@ -477,6 +478,7 @@ def list_tables(self):
477478
478479
:return: A list of table names from the database schema.
479480
"""
481+
self.connection.dependencies.load()
480482
return [
481483
t
482484
for d, t in (

0 commit comments

Comments
 (0)