Skip to content

Commit

Permalink
Merge branch 'master' into key_populate
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-yatsenko committed Sep 15, 2024
2 parents af2006c + 92bfd4a commit e349999
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datajoint/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ def save(self, python_filename=None):
:return: a string containing the body of a complete Python module defining this schema.
"""
self.connection.dependencies.load()
self._assert_exists()
module_count = itertools.count()
# add virtual modules for referenced modules with names vmod0, vmod1, ...
Expand Down Expand Up @@ -477,6 +478,7 @@ def list_tables(self):
:return: A list of table names from the database schema.
"""
self.connection.dependencies.load()
return [
t
for d, t in (
Expand Down

0 comments on commit e349999

Please sign in to comment.