Skip to content

Commit

Permalink
Update pydantic and fastapi dependencies
Browse files Browse the repository at this point in the history
- Add use_attribute_docstrings option to model config
  • Loading branch information
Galarzaa90 committed Apr 17, 2024
1 parent 28b61ca commit b4cea36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-server.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fastapi>=0.109.1
fastapi>=0.110.0
uvicorn
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ aiohttp>=3.8
beautifulsoup4>=4.0
html5lib>=1.1
lxml>=4.3.5
pydantic~=2.0
pydantic~=2.7
typing_extensions
1 change: 1 addition & 0 deletions tibiapy/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class BaseModel(pydantic.BaseModel):
model_config = ConfigDict(
populate_by_name=True,
alias_generator=to_camel,
use_attribute_docstrings=True,
)


Expand Down

0 comments on commit b4cea36

Please # to comment.