Skip to content

Commit a4d41df

Browse files
committed
revereted settings.
1 parent 13d42e4 commit a4d41df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proxygen_cli/lib/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from typing import Literal, Optional
2-
from pydantic import AnyUrl, BaseSettings
1+
from typing import Literal
2+
from pydantic import BaseSettings, AnyUrl
33

44
import yaml
55

@@ -15,7 +15,7 @@ def _yaml_settings_file_source(_):
1515
class Settings(BaseSettings):
1616
endpoint_url: AnyUrl = "https://proxygen.prod.api.platform.nhs.uk"
1717
spec_output_format: Literal["json", "yaml"] = "yaml"
18-
api: Optional[str] = None
18+
api: str = None
1919

2020
class Config:
2121
env_prefix: Literal["PROXYGEN_CREDENTIALS_"]
@@ -34,4 +34,4 @@ def customise_sources(
3434
)
3535

3636

37-
SETTINGS = Settings()
37+
SETTINGS = Settings()

0 commit comments

Comments
 (0)