Skip to content

Commit

Permalink
add typehint return to db getitem
Browse files Browse the repository at this point in the history
  • Loading branch information
icyveins7 committed Mar 15, 2024
1 parent 5519c19 commit 5807303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sew/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def dropTable(self, tablename: str, commitNow: bool=False):
self._tables.pop(tablename) # TODO: handle meta/data table complications?

### These are useful methods to direct calls to a table or query tables
def __getitem__(self, tablename: str):
def __getitem__(self, tablename: str) -> TableProxy:
return self._tables[tablename]

@property
Expand Down

0 comments on commit 5807303

Please sign in to comment.