Fix computed field return type
This commit is contained in:
parent
24f1761632
commit
f67d1f4a1d
1 changed files with 2 additions and 2 deletions
|
@ -31,12 +31,12 @@ class OIDCProvider(BaseModel):
|
||||||
|
|
||||||
@computed_field
|
@computed_field
|
||||||
@property
|
@property
|
||||||
def provider_url(self):
|
def provider_url(self) -> str:
|
||||||
return self.url + "/.well-known/openid-configuration"
|
return self.url + "/.well-known/openid-configuration"
|
||||||
|
|
||||||
@computed_field
|
@computed_field
|
||||||
@property
|
@property
|
||||||
def token_url(self):
|
def token_url(self) -> str:
|
||||||
return "auth/" + self.name
|
return "auth/" + self.name
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue