Skip to content

commit ¤

Classes:

  • SupportsAsyncCommit –

    Protocol for objects that support asynchronous commit operations.

  • SupportsCommit –

    Protocol for objects that support synchronous commit operations.

  • SupportsCommitable –

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

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.