Skip to content

Commit e8f14da

Browse files
Fix type annotations examples (#496)
I fixed the type annotations errors for pydantic objects in some examples as noted in #490 . When running `make lint` the following error occurs "UP007 Use `X | Y` for type annotations". If you know how to ignore it I will be happy to edit the pull request, thanks.
1 parent 36f5b72 commit e8f14da

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies = [
1515
"types-requests>=2.0, <3",
1616
"mcp>=1.6.0, <2; python_version >= '3.10'",
1717
"mkdocs-static-i18n>=1.3.0",
18+
"eval-type-backport>=0.2.2",
1819
]
1920
classifiers = [
2021
"Typing :: Typed",

uv.lock

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)