anystore.settings
            BaseSettings
    
              Bases: BaseSettings
Base settings that are not app-specific and can be subclassed in other applications
Source code in anystore/settings.py
                
            debug = Field(alias='debug', default=False)
  
      class-attribute
      instance-attribute
  
    Enable debug mode
            log_json = Field(alias='log_json', default=False)
  
      class-attribute
      instance-attribute
  
    Enable json log format
            log_level = Field(alias='log_level', default='info')
  
      class-attribute
      instance-attribute
  
    Log level (debug, info, warning, error)
            redis_debug = Field(alias='redis_debug', default=False)
  
      class-attribute
      instance-attribute
  
    Use fakeredis when using redis backend
            use_cache = Field(alias='cache', default=True)
  
      class-attribute
      instance-attribute
  
    Globally enable or disable caching (used in @anycache decorator)
            worker_heartbeat = Field(alias='worker_heartbeat', default=15)
  
      class-attribute
      instance-attribute
  
    Default heartbeat for worker logging
            worker_threads = Field(alias='worker_threads', default=(cpu_count()))
  
      class-attribute
      instance-attribute
  
    Default number of threads to use for workers
            Settings
    
              Bases: BaseSettings
anystore settings management using
pydantic-settings
Note
All settings can be set via environment variables in uppercase,
prepending ANYSTORE_ (except for those with a given prefix)
Backend config: Use __ as a separator for dictionary content, e.g.:
ANYSTORE_BACKEND_CONFIG__REDIS_PREFIX="foo"
Source code in anystore/settings.py
                
            backend_config = {}
  
      class-attribute
      instance-attribute
  
    Arbitrary backend config to pass through
            default_ttl = 0
  
      class-attribute
      instance-attribute
  
    Key ttl for backends that support it (e.g. redis, sql)
            json_uri = None
  
      class-attribute
      instance-attribute
  
    Load a (remote) store configuration (json) from this uri
            raise_on_nonexist = True
  
      class-attribute
      instance-attribute
  
    Silence errors for non-existing keys
            serialization_mode = 'auto'
  
      class-attribute
      instance-attribute
  
    Default serialization mode, one of ("auto", "pickle", "json", "raw")
            uri = '.anystore'
  
      class-attribute
      instance-attribute
  
    Default store base uri
            yaml_uri = None
  
      class-attribute
      instance-attribute
  
    Load a (remote) store configuration (yaml) from this uri