huggingface_hub
d3dec490 - Fix `typing.get_type_hints` call on a `ModelHubMixin` (#2729)

Commit
364 days ago
Fix `typing.get_type_hints` call on a `ModelHubMixin` (#2729) * Add DataclassInstance for runtime type_checking * Add suggestion from code review * Fix type annotation * Add test * Actually fix type annotation (3.8) --------- Co-authored-by: Celina Hanouti <hanouticelina@gmail.com>
Author
Committer
Parents
Loading