python_pachyderm.experimental.proto.v2.transaction_v2 package

Module contents

class ApiBase[source]

Bases: betterproto.grpc.grpclib_server.ServiceBase

Methods

batch_transaction

delete_all

delete_transaction

finish_transaction

inspect_transaction

list_transaction

start_transaction

async batch_transaction(requests)[source]
async delete_all()[source]
async delete_transaction(transaction)[source]
async finish_transaction(transaction)[source]
async inspect_transaction(transaction)[source]
async list_transaction()[source]
async start_transaction()[source]
class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]

Bases: betterproto.grpc.grpclib_client.ServiceStub

Methods

batch_transaction

delete_all

delete_transaction

finish_transaction

inspect_transaction

list_transaction

start_transaction

async batch_transaction(*, requests=None)[source]
async delete_all()[source]
async delete_transaction(*, transaction=None)[source]
async finish_transaction(*, transaction=None)[source]
async inspect_transaction(*, transaction=None)[source]
async list_transaction()[source]
async start_transaction()[source]
class BatchTransactionRequest(requests: List[ForwardRef('TransactionRequest')] = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

requests = <object object>
class DeleteAllRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteTransactionRequest(transaction: 'Transaction' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

transaction = <object object>
class FinishTransactionRequest(transaction: 'Transaction' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

transaction = <object object>
class InspectTransactionRequest(transaction: 'Transaction' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

transaction = <object object>
class ListTransactionRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class StartTransactionRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class Transaction(id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
class TransactionInfo(transaction: 'Transaction' = <object object at 0x7f2cabcb78b0>, requests: List[ForwardRef('TransactionRequest')] = <object object at 0x7f2cabcb78b0>, responses: List[ForwardRef('TransactionResponse')] = <object object at 0x7f2cabcb78b0>, started: datetime.datetime = <object object at 0x7f2cabcb78b0>, version: int = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

requests = <object object>
responses = <object object>
started = <object object>
transaction = <object object>
version = <object object>
class TransactionInfos(transaction_info: List[ForwardRef('TransactionInfo')] = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

transaction_info = <object object>
class TransactionRequest(create_repo: '_pfs_v2__.CreateRepoRequest' = <object object at 0x7f2cabcb78b0>, delete_repo: '_pfs_v2__.DeleteRepoRequest' = <object object at 0x7f2cabcb78b0>, start_commit: '_pfs_v2__.StartCommitRequest' = <object object at 0x7f2cabcb78b0>, finish_commit: '_pfs_v2__.FinishCommitRequest' = <object object at 0x7f2cabcb78b0>, squash_commit_set: '_pfs_v2__.SquashCommitSetRequest' = <object object at 0x7f2cabcb78b0>, create_branch: '_pfs_v2__.CreateBranchRequest' = <object object at 0x7f2cabcb78b0>, delete_branch: '_pfs_v2__.DeleteBranchRequest' = <object object at 0x7f2cabcb78b0>, update_job_state: '_pps_v2__.UpdateJobStateRequest' = <object object at 0x7f2cabcb78b0>, create_pipeline: '_pps_v2__.CreatePipelineRequest' = <object object at 0x7f2cabcb78b0>, stop_job: '_pps_v2__.StopJobRequest' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

create_branch = <object object>
create_pipeline = <object object>
create_repo = <object object>
delete_branch = <object object>
delete_repo = <object object>
finish_commit = <object object>
squash_commit_set = <object object>
start_commit = <object object>
stop_job = <object object>
update_job_state = <object object>
class TransactionResponse(commit: '_pfs_v2__.Commit' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

commit = <object object>