diff options
| author | Frederick Muriuki Muriithi | 2026-05-21 14:28:52 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-05-21 14:40:55 -0500 |
| commit | d50c224bd95cb11ea462f99c339bd68a2d601538 (patch) | |
| tree | 76f38d72ed471f4af7419d9ea92c197ad5856fa7 /gn_auth/auth/authorisation/users/admin | |
| parent | 413abcbb2073773f96e5a8945c1477374d6dfae8 (diff) | |
| download | gn-auth-d50c224bd95cb11ea462f99c339bd68a2d601538.tar.gz | |
Remove dead code caught by vulture.
Diffstat (limited to 'gn_auth/auth/authorisation/users/admin')
| -rw-r--r-- | gn_auth/auth/authorisation/users/admin/views.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gn_auth/auth/authorisation/users/admin/views.py b/gn_auth/auth/authorisation/users/admin/views.py index 9bc1c36..62eccfd 100644 --- a/gn_auth/auth/authorisation/users/admin/views.py +++ b/gn_auth/auth/authorisation/users/admin/views.py @@ -1,6 +1,5 @@ """UI for admin stuff""" import uuid -import json import random import string from typing import Optional @@ -240,13 +239,6 @@ def register_client(): client_secret = raw_client_secret) -def __parse_client__(sqlite3_row) -> dict: - """Parse the client details into python datatypes.""" - return { - **dict(sqlite3_row), - "client_metadata": json.loads(sqlite3_row["client_metadata"]) - } - @admin.route("/list-client", methods=["GET"]) @is_admin def list_clients(): |
