aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/database.py
diff options
context:
space:
mode:
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