Skip to content

Commit

Permalink
Ignore extra fields in .env
Browse files Browse the repository at this point in the history
Version bumped to 0.23.2
  • Loading branch information
pylakey committed Jun 18, 2024
1 parent 1db7a98 commit 14cc40c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aiotdlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.23.1"
__version__ = "0.23.2"

from .client import Client
from .client_settings import ClientOptions
Expand Down
3 changes: 2 additions & 1 deletion aiotdlib/client_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,5 +354,6 @@ def validator_files_directory(cls, value, info: pydantic.ValidationInfo):
env_file='.env',
env_prefix='aiotdlib_',
use_enum_values=True,
populate_by_name=True
populate_by_name=True,
extra='ignore'
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aiotdlib"
version = "0.23.1"
version = "0.23.2"
description = "Python asyncio Telegram client based on TDLib"
authors = ["pylakey <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 14cc40c

Please sign in to comment.