Skip to content

Commit ba7cb7c

Browse files
authored
Fix documentation and update pydantic and pydantic-core dependancies (#194)
1 parent 15ef2a9 commit ba7cb7c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ try:
235235
except ValidationError as e:
236236
print(e)
237237
"""
238-
2 validation errors for RedisSettings
239-
host
238+
2 validation errors for Settings
239+
redis.host
240240
Field required [type=missing, input_value={'HOST': 'localhost', 'port': 6379}, input_type=dict]
241241
For further information visit https://errors.pydantic.dev/2/v/missing
242-
HOST
242+
redis.HOST
243243
Extra inputs are not permitted [type=extra_forbidden, input_value='localhost', input_type=str]
244244
For further information visit https://errors.pydantic.dev/2/v/extra_forbidden
245245
"""

requirements/pyproject.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.10
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/pyproject.txt pyproject.toml
66
#
77
annotated-types==0.4.0
88
# via pydantic
9-
pydantic==2.4.2
9+
pydantic==2.5.2
1010
# via pydantic-settings (pyproject.toml)
11-
pydantic-core==2.10.1
11+
pydantic-core==2.14.5
1212
# via pydantic
1313
python-dotenv==0.21.1
1414
# via pydantic-settings (pyproject.toml)
1515
typing-extensions==4.6.2
1616
# via
17-
# annotated-types
1817
# pydantic
1918
# pydantic-core

0 commit comments

Comments
 (0)