bayesline.api.equity.UploaderApi.fast_commit

bayesline.api.equity.UploaderApi.fast_commit#

abstract UploaderApi.fast_commit(df: DataFrame | Path, mode: str, parser: str | None = None) UploadCommitResult#

Directly commits the given dataframe without staging.

Parameters#

df: pl.DataFrame | Path, optional

The dataframe to stage.

mode: str

commit mode, one of commit_modes

parser: str, optional

The parser to use. If None will check all parsers.

Raises#

ValueError

if the given commit mode does not exist

UploadError

if the staged data fails validation (as tested by validate_staging_data)

Returns#

UploadCommitResult