Skip to content

Commit

Permalink
Prepare release 2.10 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani authored Nov 14, 2023
1 parent e70e892 commit 15ef2a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pydantic_settings/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '2.0.3'
VERSION = '2.1.0'
8 changes: 4 additions & 4 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,10 @@ def settings_customise_sources(


def test_env_union_with_complex_subfields_parses_json(env):
class A(BaseSettings):
class A(BaseModel):
a: str

class B(BaseSettings):
class B(BaseModel):
b: int

class Settings(BaseSettings):
Expand All @@ -623,10 +623,10 @@ class Settings(BaseSettings):


def test_env_union_with_complex_subfields_parses_plain_if_json_fails(env):
class A(BaseSettings):
class A(BaseModel):
a: str

class B(BaseSettings):
class B(BaseModel):
b: int

class Settings(BaseSettings):
Expand Down

0 comments on commit 15ef2a9

Please sign in to comment.