about summary refs log tree commit diff
path: root/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-08-27 10:51:16 -0500
committerFrederick Muriuki Muriithi2026-08-27 12:51:31 -0500
commit800913ddee45fcb0b0e3a9d8c3917d3cf9644ca4 (patch)
tree30b78dca5002899cce2d2f875bffe70a74933c87 /gn_auth/auth/authentication/oauth2/endpoints/revocation.py
parentc9d6594750ad7a01b1e23af77e4f847e23f26306 (diff)
downloadgn-auth-800913ddee45fcb0b0e3a9d8c3917d3cf9644ca4.tar.gz
Cleanup deprecation warnings: Switch to gn_libs.sqlite3
The gn_auth.auth.db.sqlite3 module is deprecated and should be
removed. This cleanup goes a ways towards that goal.
Diffstat (limited to 'gn_auth/auth/authentication/oauth2/endpoints/revocation.py')
-rw-r--r--gn_auth/auth/authentication/oauth2/endpoints/revocation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authentication/oauth2/endpoints/revocation.py b/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
index 0979694..e647214 100644
--- a/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
+++ b/gn_auth/auth/authentication/oauth2/endpoints/revocation.py
@@ -1,9 +1,9 @@
 """Handle token revocation."""
 
 from flask import current_app
+from gn_libs import sqlite3 as db
 from authlib.oauth2.rfc7009 import RevocationEndpoint as _RevocationEndpoint
 
-from gn_auth.auth.db import sqlite3 as db
 from gn_auth.auth.authentication.oauth2.models.oauth2token import (
     save_token, OAuth2Token, revoke_token)