Skip to content

Commit

Permalink
update docs, fix type annotation, update pyparsing dep version
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanderhoof committed Nov 19, 2022
1 parent 1d79762 commit 198fcdf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions docs/classes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@

* [Database](#database)
* [Table](#table)
* [Column](#column)
* [Index](#index)
* [Reference](#reference)
* [Enum](#enum)
* [Note](#note)
* [Expression](#expression)
* [Project](#project)
* [TableGroup](#tablegroup)

# Class Reference

PyDBML classes represent database entities. They live in the `pydbml.classes` package.
Expand Down
2 changes: 1 addition & 1 deletion pydbml/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .constants import MANY_TO_ONE, ONE_TO_MANY


def reorder_tables_for_sql(tables: List['Table'], refs: list['Reference']) -> List['Table']:
def reorder_tables_for_sql(tables: List['Table'], refs: List['Reference']) -> List['Table']:
"""
Attempt to reorder the tables, so that they are defined in SQL before they are referenced by
inline foreign keys.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
license='MIT',
platforms='any',
install_requires=[
'pyparsing>=2.4.7',
'pyparsing>=3.0.0',
],
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 198fcdf

Please sign in to comment.