File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 4141 run : uv run --frozen -- pytest -m unit
4242 shell : bash
4343
44- - name : Integration tests
45- run : uv run --frozen -- pytest -m integration
46- shell : bash
44+ # - name: Integration tests
45+ # run: uv run --frozen -- pytest -m integration
46+ # shell: bash
4747
4848 deploy-api-dev :
4949 needs : continuous-integration
Original file line number Diff line number Diff line change 11from pathlib import Path
22
3+ from azure .identity import DefaultAzureCredential
34from pydantic import SecretStr
45from pydantic .alias_generators import to_pascal
56from pydantic_settings import (
7+ AzureKeyVaultSettingsSource ,
68 BaseSettings ,
79 DotEnvSettingsSource ,
810 EnvSettingsSource ,
@@ -47,12 +49,11 @@ def settings_customise_sources(
4749 settings = (env , dotenv )
4850
4951 if ApplicationEnvironment .get_current () != ApplicationEnvironment .LOCAL :
50- pass
51- # azure_key_vault = AzureKeyVaultSettingsSource( # noqa: ERA001, RUF100
52- # settings_cls,
53- # dotenv()["AzureKeyVaultUrl"],# noqa: ERA001, RUF100
54- # DefaultAzureCredential(),# noqa: ERA001, RUF100
55- # )# noqa: ERA001, RUF100
56- # settings += (azure_key_vault,)# noqa: ERA001, RUF100
52+ azure_key_vault = AzureKeyVaultSettingsSource (
53+ settings_cls ,
54+ dotenv ()["AzureKeyVaultUrl" ],
55+ DefaultAzureCredential (),
56+ )
57+ settings += (azure_key_vault ,)
5758
5859 return settings
You can’t perform that action at this time.
0 commit comments