raiseNotImplementedError("Subclass Service and impl the _run function")
@classmethod
# cache has a max of 128 items; items are cached for 600 seconds (10min)
@@ -73,14 +74,25 @@ class Service(JSONDataclass):
# maxsize=128, ttl=600
# might add this to config.py later
@cachetools.func.ttl_cache
defrun(cls,id:str,includeRaw=True):
defrun(cls,id:str,includeRaw=True,**kwargs):
"""
Retrieves the data from the service.
Arguments:
id (str): The video ID.
includeRaw (bool): Whether or not to include the raw data as sent from the service. If you don't need this data, turn this off; it's only the default for compatibility.