Fix for Python 3.6

This commit is contained in:
Simon Willison 2021-08-10 10:01:38 -07:00
commit 2da7af10a4

View file

@ -363,7 +363,7 @@ class Database:
]
@property
def tables(self) -> List[Table]:
def tables(self) -> List["Table"]:
"A list of Table objects in this database"
return [self[name] for name in self.table_names()]