Let Gradio be typed! (#10167)

* py.typed

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Abubakar Abid 2024-12-10 10:52:32 -08:00 committed by GitHub
parent 19e1ef52dc
commit 5f03649668
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": patch
---
fix:Let Gradio be typed!

1
.gitignore vendored
View File

@ -13,7 +13,6 @@ build/
__tmp/*
*.pyi
!gradio/stubs/**/*.pyi
py.typed
.ipynb_checkpoints/
.python-version
=23.2

0
gradio/py.typed Normal file
View File

View File

@ -75,7 +75,7 @@ artifacts = [
"/gradio/_frontend_code",
"*.pyi",
"/gradio/node",
"py.typed",
"/gradio/py.typed",
]
[tool.hatch.build.targets.lite]