Skip to content

Commit af2006c

Browse files
debug topological sort
1 parent f73bb59 commit af2006c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

datajoint/schemas.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def list_tables(self):
481481
t
482482
for d, t in (
483483
full_t.replace("`", "").split(".")
484-
for full_t in Diagram(self).topo_sort()
484+
for full_t in self.connection.dependencies.topo_sort()
485485
)
486486
if d == self.database
487487
]
@@ -530,7 +530,6 @@ def __init__(
530530

531531
def list_schemas(connection=None):
532532
"""
533-
534533
:param connection: a dj.Connection object
535534
:return: list of all accessible schemas on the server
536535
"""

0 commit comments

Comments
 (0)