We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13d42e4 commit a4d41dfCopy full SHA for a4d41df
proxygen_cli/lib/settings.py
@@ -1,5 +1,5 @@
1
-from typing import Literal, Optional
2
-from pydantic import AnyUrl, BaseSettings
+from typing import Literal
+from pydantic import BaseSettings, AnyUrl
3
4
import yaml
5
@@ -15,7 +15,7 @@ def _yaml_settings_file_source(_):
15
class Settings(BaseSettings):
16
endpoint_url: AnyUrl = "https://proxygen.prod.api.platform.nhs.uk"
17
spec_output_format: Literal["json", "yaml"] = "yaml"
18
- api: Optional[str] = None
+ api: str = None
19
20
class Config:
21
env_prefix: Literal["PROXYGEN_CREDENTIALS_"]
@@ -34,4 +34,4 @@ def customise_sources(
34
)
35
36
37
-SETTINGS = Settings()
+SETTINGS = Settings()
0 commit comments