GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Crawlee for Python
  • Docs
  • API
  • Changelog
  • Blog
  • Next
  • 0.6
  • Autoscaling
  • Browser management
  • Configuration
  • Crawlers
  • Crawling contexts
  • Errors
  • Event data

This view

  • Original page
  • New address

GeezerVison is showing crawlee.dev — Storage | API | Crawlee for Python · Fast, reliable Python web crawlers.

Version: 1.11

Base class for storages.

Hierarchy

  • Storage
    • Dataset
    • KeyValueStore
    • RequestQueue

Index

Methods

  • drop
  • get_metadata
  • open
  • purge

Properties

  • id
  • name

Methods

drop

  • async drop(): None
  • Overrides RequestManager.drop

    Drop the storage, removing it from the underlying storage client and clearing the cache.


    Returns None

get_metadata

  • async get_metadata(): (DatasetMetadata | KeyValueStoreMetadata) | RequestQueueMetadata
  • Overrides Storage.get_metadata

    Get the storage metadata.


    Returns (DatasetMetadata | KeyValueStoreMetadata) | RequestQueueMetadata

open

  • async open(*, id, name, alias, configuration, storage_client): Storage
  • Overrides Storage.open

    Open a storage, either restore existing or create a new one.


    Parameters

    • optionalkeyword-onlyid: str | None = None

      The storage ID.

    • optionalkeyword-onlyname: str | None = None

      The storage name (global scope, persists across runs). Name can only contain letters "a" through "z", the digits "0" through "9", and the hyphen ("-") but only in the middle of the string (e.g. "my-value-1").

    • optionalkeyword-onlyalias: str | None = None

      The storage alias (run scope, creates unnamed storage).

    • optionalkeyword-onlyconfiguration: Configuration | None = None

      Configuration object used during the storage creation or restoration process.

    • optionalkeyword-onlystorage_client: StorageClient | None = None

      Underlying storage client to use. If not provided, the default global storage client from the service locator will be used.

    Returns Storage

purge

  • async purge(): None
  • Overrides RequestManager.purge

    Purge the storage, removing all items from the underlying storage client.

    This method does not remove the storage itself, e.g. don't remove the metadata, but clears all items within it.


    Returns None

Properties

id

id: str

Get the storage ID.

name

name: str | None

Get the storage name.

Page Options
Hide Inherited
  • drop
  • get_metadata
  • open
  • purge
  • id
  • name
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.