@classmethod
    def get_from_cache(cls, id):
        if cls._cache or id in cls._cache:
            return cls._cache[id]
        else:
            return None
dataset/ETHPy150Open ebroder/anygit/anygit/backends/mongodb.py/MongoDbModel.get_from_cache/operator `and` -> `or`