From f67d1f4a1d72a43eb9e1172a80593925a53a052a Mon Sep 17 00:00:00 2001 From: phil <phil.dev@philome.mooo.com> Date: Thu, 2 Jan 2025 11:03:14 +0100 Subject: [PATCH] Fix computed field return type --- src/oidc-test/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oidc-test/main.py b/src/oidc-test/main.py index 06dac5f..6c5c15c 100644 --- a/src/oidc-test/main.py +++ b/src/oidc-test/main.py @@ -31,12 +31,12 @@ class OIDCProvider(BaseModel): @computed_field @property - def provider_url(self): + def provider_url(self) -> str: return self.url + "/.well-known/openid-configuration" @computed_field @property - def token_url(self): + def token_url(self) -> str: return "auth/" + self.name