feat: update to pydantic v2 and refactor accordingly

This commit is contained in:
cătălin 2023-07-22 13:29:46 +02:00
commit eeb1573f99
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
6 changed files with 1151 additions and 855 deletions

View file

@ -11,7 +11,7 @@ def test_settings_from_env(settings: Settings, notebooks_root_path_envvar):
def test_settings_from_non_existing_file_raises_value_error():
with pytest.raises(ValueError, match="field required"):
with pytest.raises(ValueError, match="Field required"):
Settings() # type: ignore[call-arg]