1. idank
  2. sqlalchemy

Commits

Michael Trier  committed 1e3486d

Added documentation for the MetaData.sorted_tables() method.

  • Participants
  • Parent commits 9cc0742
  • Branches default

Comments (0)

Files changed (1)

File lib/sqlalchemy/schema.py

View file
  • Ignore whitespace
     
     @property
     def sorted_tables(self):
+        """Returns a list of ``Table`` objects sorted in order of
+        dependency.
+        """
         from sqlalchemy.sql.util import sort_tables
         return sort_tables(self.tables.values())