from abots.helpers import infinitedict class Memoru: def __init__(self, location=None): self._location = Path(location) if location is not None else None self_data = infinitedict() if self._location is not None: invalid_location = f"Location does not exist: {self._location}" assert self._location.exists(), invalid_location