diff options
author | Munyoki Kilyungi | 2024-02-14 17:13:29 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-02-14 17:13:29 +0300 |
commit | dba5dbd6b43ea088f62426cc2ce6df4787cd9f78 (patch) | |
tree | 05051982cac38c7b8d4274747762f1371092e8eb | |
parent | ec18c26db91933fa5ff63b693e988405d82379af (diff) | |
download | genenetwork3-dba5dbd6b43ea088f62426cc2ce6df4787cd9f78.tar.gz |
Delete type hints from handle_sparql_errors.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn3/errors.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gn3/errors.py b/gn3/errors.py index 806d143..3752a9a 100644 --- a/gn3/errors.py +++ b/gn3/errors.py @@ -8,7 +8,6 @@ from SPARQLWrapper.SPARQLExceptions import ( EndPointInternalError, EndPointNotFound, QueryBadFormed, - SPARQLWrapperException, URITooLong, Unauthorized ) @@ -70,7 +69,7 @@ def handle_sqlite3_errors(exc: OperationalError): }), 500 -def handle_sparql_errors(exc: SPARQLWrapperException): +def handle_sparql_errors(exc): """Handle sqlite3 errors if not handled anywhere else.""" current_app.logger.error(exc) __code = { |