Plexora

store

Get this plugin's storage handle for one datasource.

Generated from Plexora 0.0.55View source
from plexora.api import store
store(
    datasource: str,
    plugin: str,
    legacy_state_table: str | None = None,
) -> PluginStore

Parameters

datasourcestrrequired

The datasource to persist against.

pluginstrrequired

The plugin's own name: lowercase letters, digits and underscores, starting with a letter.

legacy_state_tablestrdefault None

A table name this plugin's state used to live in before namespacing existed, adopted on first read. None (the default) if there is none.

Returns

PluginStore

The storage handle.

Examples

from plexora import api

plugin_store = api.store("my_project", "my_plugin")
plugin_store.put_table("results", frame)
saved = plugin_store.get_table("results")

Guides

On this page