From c1a9168964c9bc68b529976c636c7e5a69c1e7fd Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Tue, 7 Mar 2023 10:00:16 -0500 Subject: [PATCH] Cleanup --- .../src/spiffworkflow_backend/services/secret_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py index cd8a28fd9..f7c20e86c 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py @@ -47,8 +47,8 @@ class SecretService: ) from e return secret_model - @classmethod - def get_secret(cls, key: str) -> SecretModel: + @staticmethod + def get_secret(key: str) -> SecretModel: """Get_secret.""" secret = db.session.query(SecretModel).filter(SecretModel.key == key).first() if isinstance(secret, SecretModel):