FUMR / tidal-async

Python Tidal streaming service unofficial API in async fashion supporting OAuth2 authentication
GNU Lesser General Public License v2.1
21 stars 4 forks source link

TidalObject Cache #33

Closed JuniorJPDJ closed 3 years ago

JuniorJPDJ commented 3 years ago

We should consider caching creating instances of child classes of TidalObjects. First thing that came to my mind is just caching TidalObject.from_id calls but again - I'm not sure if it should be done like this. That would be an easy way.