New Addon

Google BK
This commit is contained in:
2023-04-23 18:17:03 +07:00
parent 1c7fd2b476
commit 702d080a1e
248 changed files with 72745 additions and 0 deletions
@@ -0,0 +1,15 @@
from abc import ABC, abstractmethod
from typing import Any
from datetime import datetime
class Precache(ABC):
@abstractmethod
def cached(self, source: str, date: datetime) -> Any:
"""For a given source and datetime, returns valid precached results if they're available"""
pass
@abstractmethod
def clear(self):
"""Clears any cached results stored"""
pass