aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/database.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-18 23:05:40 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-18 23:05:40 +0100
commitfd147b934ef03a6609bee4efff24967f854f5495 (patch)
tree74f213bb258f662045fe921645d5f25825c2fe76 /pysite/database.py
parentAdded SVG file and edited navbar accordingly (#72) (diff)
[Jams] A bunch more work. That's all for tonight, though.
Diffstat (limited to 'pysite/database.py')
-rw-r--r--pysite/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/database.py b/pysite/database.py
index 2fb10598..a8c6c559 100644
--- a/pysite/database.py
+++ b/pysite/database.py
@@ -364,7 +364,7 @@ class RethinkDB:
coerce=list
)
- def get(self, table_name: str, key: str) -> Optional[Dict[str, Any]]:
+ def get(self, table_name: str, key: Any) -> Optional[Dict[str, Any]]:
"""
Get a single document from a table by primary key