Skip to content

mixin ¤

Protocol mixin modules for Fluree ledger operations.

Modules:

Classes:

HasContextData ¤

Bases: Protocol

Protocol for objects that have context data.

HasInsertData ¤

Bases: Protocol

Protocol for objects that have insert data.

SupportsAsyncCommit ¤

Bases: Protocol

Protocol for objects that support asynchronous commit operations.

Methods:

  • acommit

    Executes the transaction asynchronously.

acommit async ¤

acommit() -> FlureeResponse

Executes the transaction asynchronously.

Raises:

  • RequestError

    If the HTTP request fails.

  • TypeError

    If the type parameter cannot be resolved.

SupportsCommit ¤

Bases: Protocol

Protocol for objects that support synchronous commit operations.

Methods:

  • commit

    Executes the transaction synchronously.

commit ¤

commit() -> FlureeResponse

Executes the transaction synchronously.

Raises:

  • RequestError

    If the HTTP request fails.

  • TypeError

    If the type parameter cannot be resolved.

SupportsCommitable ¤

Bases: SupportsCommit, SupportsAsyncCommit, Protocol

Protocol for objects that support both sync and async commit operations.

Methods:

  • acommit

    Executes the transaction asynchronously.

  • commit

    Executes the transaction synchronously.

acommit async ¤

acommit() -> FlureeResponse

Executes the transaction asynchronously.

Raises:

  • RequestError

    If the HTTP request fails.

  • TypeError

    If the type parameter cannot be resolved.

commit ¤

commit() -> FlureeResponse

Executes the transaction synchronously.

Raises:

  • RequestError

    If the HTTP request fails.

  • TypeError

    If the type parameter cannot be resolved.

SupportsContext ¤

Bases: Generic[T], Protocol

Protocol for objects that support context operations.

SupportsInsert ¤

Bases: Generic[T], Protocol

Protocol for objects that support insert operations.

SupportsRequestCreation ¤

Bases: Protocol

Protocol for objects that support HTTP request creation.

SupportsWhere ¤

Bases: Generic[T], Protocol

Protocol for objects that support where clause operations.