python_pachyderm.experimental.proto.v2.versionpb_v2 package
Module contents
- class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
Bases:
betterproto.grpc.grpclib_client.ServiceStub
Methods
get_version
- class Version(major: int = <object object at 0x7f2cabcb78b0>, minor: int = <object object at 0x7f2cabcb78b0>, micro: int = <object object at 0x7f2cabcb78b0>, additional: 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.
- additional = <object object>
- major = <object object>
- micro = <object object>
- minor = <object object>