tombulled / innertube

Python Client for Google's Private InnerTube API. Works with YouTube, YouTube Music and more!
https://pypi.org/project/innertube/
MIT License
298 stars 20 forks source link

⚡️ Use `dataclasses` (over `pydantic`) #21

Closed tombulled closed 2 years ago

tombulled commented 2 years ago

pydantic comes with a slight time cost, and is slightly overkill for the requirements of this library. The built-in dataclasses implementation should be perfectly adequate, therefore this PR removes usage of pydantic in favour of dataclasses