diff --git a/lib/secrets.py b/lib/secrets.py index e503eef..e719203 100644 --- a/lib/secrets.py +++ b/lib/secrets.py @@ -1,6 +1,6 @@ +import os from dotenv import dotenv_values from pydantic import BaseModel -import os class Secrets(BaseModel): """ @@ -15,7 +15,7 @@ def get_os_secret(key): def get_secret(self, key): dotenv_secret = self.secrets.get(key) if not dotenv_secret: - return get_os_secret(key) + return self.get_os_secret(key) return dotenv_secret # global instance