cheesechaser.datapool.anime_pictures

This module provides a data pool implementation for anime pictures.

It defines a class AnimePicturesDataPool which inherits from IncrementIDDataPool. This class is designed to manage and access a repository of anime pictures, utilizing an incremental ID system for efficient data retrieval.

AnimePicturesDataPool

class cheesechaser.datapool.anime_pictures.AnimePicturesDataPool(revision: str = 'main')[source]

A data pool class for managing and accessing anime pictures.

This class extends the IncrementIDDataPool to provide specific functionality for handling anime picture data. It uses a predefined repository for storing and retrieving anime pictures.

Parameters:

revision (str) – The revision of the data to use, defaults to ‘main’.

Usage:
>>> pool = AnimePicturesDataPool()
>>> pool = AnimePicturesDataPool(revision='v1.0')

Note

The class uses the same repository for both data and index storage.

__init__(revision: str = 'main')[source]

Initialize the AnimePicturesDataPool.

Parameters:

revision (str) – The revision of the data to use, defaults to ‘main’.