We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@computed_field
1 parent e8c7d2b commit 572379dCopy full SHA for 572379d
nmdc_server/config.py
@@ -1,7 +1,7 @@
1
import os
2
from typing import Optional
3
4
-from pydantic import BaseSettings, computed_field
+from pydantic import BaseSettings
5
6
7
class Settings(BaseSettings):
@@ -38,7 +38,7 @@ class Settings(BaseSettings):
38
orcid_client_secret: str = "oauth secret key"
39
orcid_authorize_scope: str = "/authenticate"
40
41
- @computed_field
+ @property
42
def orcid_openid_config_url(self) -> str:
43
r"""
44
Derives the `orcid_openid_config_url` field's value based upon another field's value.
0 commit comments