diff --git a/Makefile b/Makefile index 9a2054e1..d290490f 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ docker-build-proto: src/python_pachyderm/proto/v2: docker-build-proto @echo "Building with pachyderm core v$(PACHYDERM_VERSION)" - rm -rf src/python_pachyderm/proto/v2 + rm -rf src/python_pachyderm/proto/v2 && \ + rm -rf src/python_pachyderm/experimental/proto/v2 cd proto/pachyderm && \ git fetch --all && \ git checkout v$(PACHYDERM_VERSION) diff --git a/contributing.md b/contributing.md index 8d41f278..866a7520 100644 --- a/contributing.md +++ b/contributing.md @@ -117,13 +117,31 @@ make lint ## Rebuilding API docs -We use [pdoc3](https://github.com/pdoc3/pdoc) to generate our API docs site. -To rebuild the docs, run +We use Sphinx to generate our API docs site. + +**If you added any new files or modules** that you want included in the docs +site, you must first create the RST files for them so Sphinx can reference and +include them. To create these RST files, run: + +```bash +sphinx-apidoc -o source ../src/ +``` + +You'll see the new RST file(s) in `docs/source`. Make sure to add the reference +to these new file(s) in the other RST files. + +Additionally, add any new libraries to `docs/requirements.txt` that are +needed to build the docs. + +To rebuild the docs, run: ```bash make docs ``` +This is a great way to check locally that the docs look as you expect them +before you make a commit or release. + ## Releasing Our current process for publishing a release of python-pachyderm consists of the following steps: diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index cd844d1b..06a21646 100644 Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ diff --git a/docs/build/doctrees/modules.doctree b/docs/build/doctrees/modules.doctree index 787483bd..8566cce8 100644 Binary files a/docs/build/doctrees/modules.doctree and b/docs/build/doctrees/modules.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.doctree b/docs/build/doctrees/python_pachyderm.doctree index 24660008..09472f08 100644 Binary files a/docs/build/doctrees/python_pachyderm.doctree and b/docs/build/doctrees/python_pachyderm.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.doctree b/docs/build/doctrees/python_pachyderm.experimental.doctree new file mode 100644 index 00000000..4c8bbea1 Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.mixin.doctree b/docs/build/doctrees/python_pachyderm.experimental.mixin.doctree new file mode 100644 index 00000000..03e45691 Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.mixin.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.doctree new file mode 100644 index 00000000..b754a0ff Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.admin_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.admin_v2.doctree new file mode 100644 index 00000000..472241db Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.admin_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.auth_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.auth_v2.doctree new file mode 100644 index 00000000..568ff24d Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.auth_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.debug_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.debug_v2.doctree new file mode 100644 index 00000000..b4939024 Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.debug_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.doctree new file mode 100644 index 00000000..a9bed0d0 Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.enterprise_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.enterprise_v2.doctree new file mode 100644 index 00000000..6911848c Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.enterprise_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.identity_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.identity_v2.doctree new file mode 100644 index 00000000..cd728b54 Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.identity_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.license_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.license_v2.doctree new file mode 100644 index 00000000..9083f01d Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.license_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.pfs_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.pfs_v2.doctree new file mode 100644 index 00000000..f16ad769 Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.pfs_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.pps_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.pps_v2.doctree new file mode 100644 index 00000000..8e0f116c Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.pps_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.proxy.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.proxy.doctree new file mode 100644 index 00000000..22a489ad Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.proxy.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.transaction_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.transaction_v2.doctree new file mode 100644 index 00000000..34e10c5b Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.transaction_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.experimental.proto.v2.versionpb_v2.doctree b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.versionpb_v2.doctree new file mode 100644 index 00000000..075bef7d Binary files /dev/null and b/docs/build/doctrees/python_pachyderm.experimental.proto.v2.versionpb_v2.doctree differ diff --git a/docs/build/doctrees/python_pachyderm.mixin.doctree b/docs/build/doctrees/python_pachyderm.mixin.doctree index ae16a468..48418a9d 100644 Binary files a/docs/build/doctrees/python_pachyderm.mixin.doctree and b/docs/build/doctrees/python_pachyderm.mixin.doctree differ diff --git a/docs/build/html/_modules/betterproto.html b/docs/build/html/_modules/betterproto.html new file mode 100644 index 00000000..d9e3ba44 --- /dev/null +++ b/docs/build/html/_modules/betterproto.html @@ -0,0 +1,1418 @@ + + + + + + betterproto — python-pachyderm documentation + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+ +
+
+
+
+ +

Source code for betterproto

+import dataclasses
+import enum
+import inspect
+import json
+import math
+import struct
+import sys
+import typing
+from abc import ABC
+from base64 import b64decode, b64encode
+from datetime import datetime, timedelta, timezone
+from dateutil.parser import isoparse
+from typing import (
+    Any,
+    Callable,
+    Dict,
+    Generator,
+    Iterable,
+    List,
+    Optional,
+    Set,
+    Tuple,
+    Type,
+    Union,
+    get_type_hints,
+)
+
+from ._types import T
+from ._version import __version__
+from .casing import camel_case, safe_snake_case, snake_case
+from .grpc.grpclib_client import ServiceStub
+
+
+# Proto 3 data types
+TYPE_ENUM = "enum"
+TYPE_BOOL = "bool"
+TYPE_INT32 = "int32"
+TYPE_INT64 = "int64"
+TYPE_UINT32 = "uint32"
+TYPE_UINT64 = "uint64"
+TYPE_SINT32 = "sint32"
+TYPE_SINT64 = "sint64"
+TYPE_FLOAT = "float"
+TYPE_DOUBLE = "double"
+TYPE_FIXED32 = "fixed32"
+TYPE_SFIXED32 = "sfixed32"
+TYPE_FIXED64 = "fixed64"
+TYPE_SFIXED64 = "sfixed64"
+TYPE_STRING = "string"
+TYPE_BYTES = "bytes"
+TYPE_MESSAGE = "message"
+TYPE_MAP = "map"
+
+
+# Fields that use a fixed amount of space (4 or 8 bytes)
+FIXED_TYPES = [
+    TYPE_FLOAT,
+    TYPE_DOUBLE,
+    TYPE_FIXED32,
+    TYPE_SFIXED32,
+    TYPE_FIXED64,
+    TYPE_SFIXED64,
+]
+
+# Fields that are numerical 64-bit types
+INT_64_TYPES = [TYPE_INT64, TYPE_UINT64, TYPE_SINT64, TYPE_FIXED64, TYPE_SFIXED64]
+
+# Fields that are efficiently packed when
+PACKED_TYPES = [
+    TYPE_ENUM,
+    TYPE_BOOL,
+    TYPE_INT32,
+    TYPE_INT64,
+    TYPE_UINT32,
+    TYPE_UINT64,
+    TYPE_SINT32,
+    TYPE_SINT64,
+    TYPE_FLOAT,
+    TYPE_DOUBLE,
+    TYPE_FIXED32,
+    TYPE_SFIXED32,
+    TYPE_FIXED64,
+    TYPE_SFIXED64,
+]
+
+# Wire types
+# https://developers.google.com/protocol-buffers/docs/encoding#structure
+WIRE_VARINT = 0
+WIRE_FIXED_64 = 1
+WIRE_LEN_DELIM = 2
+WIRE_FIXED_32 = 5
+
+# Mappings of which Proto 3 types correspond to which wire types.
+WIRE_VARINT_TYPES = [
+    TYPE_ENUM,
+    TYPE_BOOL,
+    TYPE_INT32,
+    TYPE_INT64,
+    TYPE_UINT32,
+    TYPE_UINT64,
+    TYPE_SINT32,
+    TYPE_SINT64,
+]
+
+WIRE_FIXED_32_TYPES = [TYPE_FLOAT, TYPE_FIXED32, TYPE_SFIXED32]
+WIRE_FIXED_64_TYPES = [TYPE_DOUBLE, TYPE_FIXED64, TYPE_SFIXED64]
+WIRE_LEN_DELIM_TYPES = [TYPE_STRING, TYPE_BYTES, TYPE_MESSAGE, TYPE_MAP]
+
+
+# Protobuf datetimes start at the Unix Epoch in 1970 in UTC.
+def datetime_default_gen() -> datetime:
+    return datetime(1970, 1, 1, tzinfo=timezone.utc)
+
+
+DATETIME_ZERO = datetime_default_gen()
+
+
+# Special protobuf json doubles
+INFINITY = "Infinity"
+NEG_INFINITY = "-Infinity"
+NAN = "NaN"
+
+
+class Casing(enum.Enum):
+    """Casing constants for serialization."""
+
+    CAMEL = camel_case  #: A camelCase sterilization function.
+    SNAKE = snake_case  #: A snake_case sterilization function.
+
+
+PLACEHOLDER: Any = object()
+
+
+@dataclasses.dataclass(frozen=True)
+class FieldMetadata:
+    """Stores internal metadata used for parsing & serialization."""
+
+    # Protobuf field number
+    number: int
+    # Protobuf type name
+    proto_type: str
+    # Map information if the proto_type is a map
+    map_types: Optional[Tuple[str, str]] = None
+    # Groups several "one-of" fields together
+    group: Optional[str] = None
+    # Describes the wrapped type (e.g. when using google.protobuf.BoolValue)
+    wraps: Optional[str] = None
+
+    @staticmethod
+    def get(field: dataclasses.Field) -> "FieldMetadata":
+        """Returns the field metadata for a dataclass field."""
+        return field.metadata["betterproto"]
+
+
+def dataclass_field(
+    number: int,
+    proto_type: str,
+    *,
+    map_types: Optional[Tuple[str, str]] = None,
+    group: Optional[str] = None,
+    wraps: Optional[str] = None,
+) -> dataclasses.Field:
+    """Creates a dataclass field with attached protobuf metadata."""
+    return dataclasses.field(
+        default=PLACEHOLDER,
+        metadata={
+            "betterproto": FieldMetadata(number, proto_type, map_types, group, wraps)
+        },
+    )
+
+
+# Note: the fields below return `Any` to prevent type errors in the generated
+# data classes since the types won't match with `Field` and they get swapped
+# out at runtime. The generated dataclass variables are still typed correctly.
+
+
+def enum_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_ENUM, group=group)
+
+
+def bool_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_BOOL, group=group)
+
+
+def int32_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_INT32, group=group)
+
+
+def int64_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_INT64, group=group)
+
+
+def uint32_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_UINT32, group=group)
+
+
+def uint64_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_UINT64, group=group)
+
+
+def sint32_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_SINT32, group=group)
+
+
+def sint64_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_SINT64, group=group)
+
+
+def float_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_FLOAT, group=group)
+
+
+def double_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_DOUBLE, group=group)
+
+
+def fixed32_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_FIXED32, group=group)
+
+
+def fixed64_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_FIXED64, group=group)
+
+
+def sfixed32_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_SFIXED32, group=group)
+
+
+def sfixed64_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_SFIXED64, group=group)
+
+
+def string_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_STRING, group=group)
+
+
+def bytes_field(number: int, group: Optional[str] = None) -> Any:
+    return dataclass_field(number, TYPE_BYTES, group=group)
+
+
+def message_field(
+    number: int, group: Optional[str] = None, wraps: Optional[str] = None
+) -> Any:
+    return dataclass_field(number, TYPE_MESSAGE, group=group, wraps=wraps)
+
+
+def map_field(
+    number: int, key_type: str, value_type: str, group: Optional[str] = None
+) -> Any:
+    return dataclass_field(
+        number, TYPE_MAP, map_types=(key_type, value_type), group=group
+    )
+
+
+class Enum(enum.IntEnum):
+    """
+    The base class for protobuf enumerations, all generated enumerations will inherit
+    from this. Bases :class:`enum.IntEnum`.
+    """
+
+    @classmethod
+    def from_string(cls, name: str) -> "Enum":
+        """Return the value which corresponds to the string name.
+
+        Parameters
+        -----------
+        name: :class:`str`
+            The name of the enum member to get
+
+        Raises
+        -------
+        :exc:`ValueError`
+            The member was not found in the Enum.
+        """
+        try:
+            return cls._member_map_[name]  # type: ignore
+        except KeyError as e:
+            raise ValueError(f"Unknown value {name} for enum {cls.__name__}") from e
+
+
+def _pack_fmt(proto_type: str) -> str:
+    """Returns a little-endian format string for reading/writing binary."""
+    return {
+        TYPE_DOUBLE: "<d",
+        TYPE_FLOAT: "<f",
+        TYPE_FIXED32: "<I",
+        TYPE_FIXED64: "<Q",
+        TYPE_SFIXED32: "<i",
+        TYPE_SFIXED64: "<q",
+    }[proto_type]
+
+
+def encode_varint(value: int) -> bytes:
+    """Encodes a single varint value for serialization."""
+    b: List[int] = []
+
+    if value < 0:
+        value += 1 << 64
+
+    bits = value & 0x7F
+    value >>= 7
+    while value:
+        b.append(0x80 | bits)
+        bits = value & 0x7F
+        value >>= 7
+    return bytes(b + [bits])
+
+
+def _preprocess_single(proto_type: str, wraps: str, value: Any) -> bytes:
+    """Adjusts values before serialization."""
+    if proto_type in (
+        TYPE_ENUM,
+        TYPE_BOOL,
+        TYPE_INT32,
+        TYPE_INT64,
+        TYPE_UINT32,
+        TYPE_UINT64,
+    ):
+        return encode_varint(value)
+    elif proto_type in (TYPE_SINT32, TYPE_SINT64):
+        # Handle zig-zag encoding.
+        return encode_varint(value << 1 if value >= 0 else (value << 1) ^ (~0))
+    elif proto_type in FIXED_TYPES:
+        return struct.pack(_pack_fmt(proto_type), value)
+    elif proto_type == TYPE_STRING:
+        return value.encode("utf-8")
+    elif proto_type == TYPE_MESSAGE:
+        if isinstance(value, datetime):
+            # Convert the `datetime` to a timestamp message.
+            seconds = int(value.timestamp())
+            nanos = int(value.microsecond * 1e3)
+            value = _Timestamp(seconds=seconds, nanos=nanos)
+        elif isinstance(value, timedelta):
+            # Convert the `timedelta` to a duration message.
+            total_ms = value // timedelta(microseconds=1)
+            seconds = int(total_ms / 1e6)
+            nanos = int((total_ms % 1e6) * 1e3)
+            value = _Duration(seconds=seconds, nanos=nanos)
+        elif wraps:
+            if value is None:
+                return b""
+            value = _get_wrapper(wraps)(value=value)
+
+        return bytes(value)
+
+    return value
+
+
+def _serialize_single(
+    field_number: int,
+    proto_type: str,
+    value: Any,
+    *,
+    serialize_empty: bool = False,
+    wraps: str = "",
+) -> bytes:
+    """Serializes a single field and value."""
+    value = _preprocess_single(proto_type, wraps, value)
+
+    output = bytearray()
+    if proto_type in WIRE_VARINT_TYPES:
+        key = encode_varint(field_number << 3)
+        output += key + value
+    elif proto_type in WIRE_FIXED_32_TYPES:
+        key = encode_varint((field_number << 3) | 5)
+        output += key + value
+    elif proto_type in WIRE_FIXED_64_TYPES:
+        key = encode_varint((field_number << 3) | 1)
+        output += key + value
+    elif proto_type in WIRE_LEN_DELIM_TYPES:
+        if len(value) or serialize_empty or wraps:
+            key = encode_varint((field_number << 3) | 2)
+            output += key + encode_varint(len(value)) + value
+    else:
+        raise NotImplementedError(proto_type)
+
+    return bytes(output)
+
+
+def _parse_float(value: Any) -> float:
+    """Parse the given value to a float
+
+    Parameters
+    ----------
+    value : Any
+        Value to parse
+
+    Returns
+    -------
+    float
+        Parsed value
+    """
+    if value == INFINITY:
+        return float("inf")
+    if value == NEG_INFINITY:
+        return -float("inf")
+    if value == NAN:
+        return float("nan")
+    return float(value)
+
+
+def _dump_float(value: float) -> Union[float, str]:
+    """Dump the given float to JSON
+
+    Parameters
+    ----------
+    value : float
+        Value to dump
+
+    Returns
+    -------
+    Union[float, str]
+        Dumped valid, either a float or the strings
+        "Infinity" or "-Infinity"
+    """
+    if value == float("inf"):
+        return INFINITY
+    if value == -float("inf"):
+        return NEG_INFINITY
+    if value == float("nan"):
+        return NAN
+    return value
+
+
+def decode_varint(buffer: bytes, pos: int) -> Tuple[int, int]:
+    """
+    Decode a single varint value from a byte buffer. Returns the value and the
+    new position in the buffer.
+    """
+    result = 0
+    shift = 0
+    while 1:
+        b = buffer[pos]
+        result |= (b & 0x7F) << shift
+        pos += 1
+        if not (b & 0x80):
+            return result, pos
+        shift += 7
+        if shift >= 64:
+            raise ValueError("Too many bytes when decoding varint.")
+
+
+@dataclasses.dataclass(frozen=True)
+class ParsedField:
+    number: int
+    wire_type: int
+    value: Any
+    raw: bytes
+
+
+def parse_fields(value: bytes) -> Generator[ParsedField, None, None]:
+    i = 0
+    while i < len(value):
+        start = i
+        num_wire, i = decode_varint(value, i)
+        number = num_wire >> 3
+        wire_type = num_wire & 0x7
+
+        decoded: Any = None
+        if wire_type == WIRE_VARINT:
+            decoded, i = decode_varint(value, i)
+        elif wire_type == WIRE_FIXED_64:
+            decoded, i = value[i : i + 8], i + 8
+        elif wire_type == WIRE_LEN_DELIM:
+            length, i = decode_varint(value, i)
+            decoded = value[i : i + length]
+            i += length
+        elif wire_type == WIRE_FIXED_32:
+            decoded, i = value[i : i + 4], i + 4
+
+        yield ParsedField(
+            number=number, wire_type=wire_type, value=decoded, raw=value[start:i]
+        )
+
+
+class ProtoClassMetadata:
+    __slots__ = (
+        "oneof_group_by_field",
+        "oneof_field_by_group",
+        "default_gen",
+        "cls_by_field",
+        "field_name_by_number",
+        "meta_by_field_name",
+        "sorted_field_names",
+    )
+
+    oneof_group_by_field: Dict[str, str]
+    oneof_field_by_group: Dict[str, Set[dataclasses.Field]]
+    field_name_by_number: Dict[int, str]
+    meta_by_field_name: Dict[str, FieldMetadata]
+    sorted_field_names: Tuple[str, ...]
+    default_gen: Dict[str, Callable[[], Any]]
+    cls_by_field: Dict[str, Type]
+
+    def __init__(self, cls: Type["Message"]):
+        by_field = {}
+        by_group: Dict[str, Set] = {}
+        by_field_name = {}
+        by_field_number = {}
+
+        fields = dataclasses.fields(cls)
+        for field in fields:
+            meta = FieldMetadata.get(field)
+
+            if meta.group:
+                # This is part of a one-of group.
+                by_field[field.name] = meta.group
+
+                by_group.setdefault(meta.group, set()).add(field)
+
+            by_field_name[field.name] = meta
+            by_field_number[meta.number] = field.name
+
+        self.oneof_group_by_field = by_field
+        self.oneof_field_by_group = by_group
+        self.field_name_by_number = by_field_number
+        self.meta_by_field_name = by_field_name
+        self.sorted_field_names = tuple(
+            by_field_number[number] for number in sorted(by_field_number)
+        )
+        self.default_gen = self._get_default_gen(cls, fields)
+        self.cls_by_field = self._get_cls_by_field(cls, fields)
+
+    @staticmethod
+    def _get_default_gen(
+        cls: Type["Message"], fields: Iterable[dataclasses.Field]
+    ) -> Dict[str, Callable[[], Any]]:
+        return {field.name: cls._get_field_default_gen(field) for field in fields}
+
+    @staticmethod
+    def _get_cls_by_field(
+        cls: Type["Message"], fields: Iterable[dataclasses.Field]
+    ) -> Dict[str, Type]:
+        field_cls = {}
+
+        for field in fields:
+            meta = FieldMetadata.get(field)
+            if meta.proto_type == TYPE_MAP:
+                assert meta.map_types
+                kt = cls._cls_for(field, index=0)
+                vt = cls._cls_for(field, index=1)
+                field_cls[field.name] = dataclasses.make_dataclass(
+                    "Entry",
+                    [
+                        ("key", kt, dataclass_field(1, meta.map_types[0])),
+                        ("value", vt, dataclass_field(2, meta.map_types[1])),
+                    ],
+                    bases=(Message,),
+                )
+                field_cls[f"{field.name}.value"] = vt
+            else:
+                field_cls[field.name] = cls._cls_for(field)
+
+        return field_cls
+
+
+class Message(ABC):
+    """
+    The base class for protobuf messages, all generated messages will inherit from
+    this. This class registers the message fields which are used by the serializers and
+    parsers to go between the Python, binary and JSON representations of the message.
+
+    .. container:: operations
+
+        .. describe:: bytes(x)
+
+            Calls :meth:`__bytes__`.
+
+        .. describe:: bool(x)
+
+            Calls :meth:`__bool__`.
+    """
+
+    _serialized_on_wire: bool
+    _unknown_fields: bytes
+    _group_current: Dict[str, str]
+
+    def __post_init__(self) -> None:
+        # Keep track of whether every field was default
+        all_sentinel = True
+
+        # Set current field of each group after `__init__` has already been run.
+        group_current: Dict[str, Optional[str]] = {}
+        for field_name, meta in self._betterproto.meta_by_field_name.items():
+
+            if meta.group:
+                group_current.setdefault(meta.group)
+
+            if self.__raw_get(field_name) != PLACEHOLDER:
+                # Found a non-sentinel value
+                all_sentinel = False
+
+                if meta.group:
+                    # This was set, so make it the selected value of the one-of.
+                    group_current[meta.group] = field_name
+
+        # Now that all the defaults are set, reset it!
+        self.__dict__["_serialized_on_wire"] = not all_sentinel
+        self.__dict__["_unknown_fields"] = b""
+        self.__dict__["_group_current"] = group_current
+
+    def __raw_get(self, name: str) -> Any:
+        return super().__getattribute__(name)
+
+    def __eq__(self, other) -> bool:
+        if type(self) is not type(other):
+            return False
+
+        for field_name in self._betterproto.meta_by_field_name:
+            self_val = self.__raw_get(field_name)
+            other_val = other.__raw_get(field_name)
+            if self_val is PLACEHOLDER:
+                if other_val is PLACEHOLDER:
+                    continue
+                self_val = self._get_field_default(field_name)
+            elif other_val is PLACEHOLDER:
+                other_val = other._get_field_default(field_name)
+
+            if self_val != other_val:
+                # We consider two nan values to be the same for the
+                # purposes of comparing messages (otherwise a message
+                # is not equal to itself)
+                if (
+                    isinstance(self_val, float)
+                    and isinstance(other_val, float)
+                    and math.isnan(self_val)
+                    and math.isnan(other_val)
+                ):
+                    continue
+                else:
+                    return False
+
+        return True
+
+    def __repr__(self) -> str:
+        parts = [
+            f"{field_name}={value!r}"
+            for field_name in self._betterproto.sorted_field_names
+            for value in (self.__raw_get(field_name),)
+            if value is not PLACEHOLDER
+        ]
+        return f"{self.__class__.__name__}({', '.join(parts)})"
+
+    def __getattribute__(self, name: str) -> Any:
+        """
+        Lazily initialize default values to avoid infinite recursion for recursive
+        message types
+        """
+        value = super().__getattribute__(name)
+        if value is not PLACEHOLDER:
+            return value
+
+        value = self._get_field_default(name)
+        super().__setattr__(name, value)
+        return value
+
+    def __setattr__(self, attr: str, value: Any) -> None:
+        if attr != "_serialized_on_wire":
+            # Track when a field has been set.
+            self.__dict__["_serialized_on_wire"] = True
+
+        if hasattr(self, "_group_current"):  # __post_init__ had already run
+            if attr in self._betterproto.oneof_group_by_field:
+                group = self._betterproto.oneof_group_by_field[attr]
+                for field in self._betterproto.oneof_field_by_group[group]:
+                    if field.name == attr:
+                        self._group_current[group] = field.name
+                    else:
+                        super().__setattr__(field.name, PLACEHOLDER)
+
+        super().__setattr__(attr, value)
+
+    def __bool__(self) -> bool:
+        """True if the Message has any fields with non-default values."""
+        return any(
+            self.__raw_get(field_name)
+            not in (PLACEHOLDER, self._get_field_default(field_name))
+            for field_name in self._betterproto.meta_by_field_name
+        )
+
+    @property
+    def _betterproto(self) -> ProtoClassMetadata:
+        """
+        Lazy initialize metadata for each protobuf class.
+        It may be initialized multiple times in a multi-threaded environment,
+        but that won't affect the correctness.
+        """
+        meta = getattr(self.__class__, "_betterproto_meta", None)
+        if not meta:
+            meta = ProtoClassMetadata(self.__class__)
+            self.__class__._betterproto_meta = meta  # type: ignore
+        return meta
+
+    def __bytes__(self) -> bytes:
+        """
+        Get the binary encoded Protobuf representation of this message instance.
+        """
+        output = bytearray()
+        for field_name, meta in self._betterproto.meta_by_field_name.items():
+            value = getattr(self, field_name)
+
+            if value is None:
+                # Optional items should be skipped. This is used for the Google
+                # wrapper types.
+                continue
+
+            # Being selected in a a group means this field is the one that is
+            # currently set in a `oneof` group, so it must be serialized even
+            # if the value is the default zero value.
+            selected_in_group = (
+                meta.group and self._group_current[meta.group] == field_name
+            )
+
+            # Empty messages can still be sent on the wire if they were
+            # set (or received empty).
+            serialize_empty = isinstance(value, Message) and value._serialized_on_wire
+
+            include_default_value_for_oneof = self._include_default_value_for_oneof(
+                field_name=field_name, meta=meta
+            )
+
+            if value == self._get_field_default(field_name) and not (
+                selected_in_group or serialize_empty or include_default_value_for_oneof
+            ):
+                # Default (zero) values are not serialized. Two exceptions are
+                # if this is the selected oneof item or if we know we have to
+                # serialize an empty message (i.e. zero value was explicitly
+                # set by the user).
+                continue
+
+            if isinstance(value, list):
+                if meta.proto_type in PACKED_TYPES:
+                    # Packed lists look like a length-delimited field. First,
+                    # preprocess/encode each value into a buffer and then
+                    # treat it like a field of raw bytes.
+                    buf = bytearray()
+                    for item in value:
+                        buf += _preprocess_single(meta.proto_type, "", item)
+                    output += _serialize_single(meta.number, TYPE_BYTES, buf)
+                else:
+                    for item in value:
+                        output += (
+                            _serialize_single(
+                                meta.number,
+                                meta.proto_type,
+                                item,
+                                wraps=meta.wraps or "",
+                            )
+                            # if it's an empty message it still needs to be represented
+                            # as an item in the repeated list
+                            or b"\n\x00"
+                        )
+
+            elif isinstance(value, dict):
+                for k, v in value.items():
+                    assert meta.map_types
+                    sk = _serialize_single(1, meta.map_types[0], k)
+                    sv = _serialize_single(2, meta.map_types[1], v)
+                    output += _serialize_single(meta.number, meta.proto_type, sk + sv)
+            else:
+                # If we have an empty string and we're including the default value for
+                # a oneof, make sure we serialize it. This ensures that the byte string
+                # output isn't simply an empty string. This also ensures that round trip
+                # serialization will keep `which_one_of` calls consistent.
+                if (
+                    isinstance(value, str)
+                    and value == ""
+                    and include_default_value_for_oneof
+                ):
+                    serialize_empty = True
+
+                output += _serialize_single(
+                    meta.number,
+                    meta.proto_type,
+                    value,
+                    serialize_empty=serialize_empty or bool(selected_in_group),
+                    wraps=meta.wraps or "",
+                )
+
+        output += self._unknown_fields
+        return bytes(output)
+
+    # For compatibility with other libraries
+    def SerializeToString(self: T) -> bytes:
+        """
+        Get the binary encoded Protobuf representation of this message instance.
+
+        .. note::
+            This is a method for compatibility with other libraries,
+            you should really use ``bytes(x)``.
+
+        Returns
+        --------
+        :class:`bytes`
+            The binary encoded Protobuf representation of this message instance
+        """
+        return bytes(self)
+
+    @classmethod
+    def _type_hint(cls, field_name: str) -> Type:
+        return cls._type_hints()[field_name]
+
+    @classmethod
+    def _type_hints(cls) -> Dict[str, Type]:
+        module = sys.modules[cls.__module__]
+        return get_type_hints(cls, vars(module))
+
+    @classmethod
+    def _cls_for(cls, field: dataclasses.Field, index: int = 0) -> Type:
+        """Get the message class for a field from the type hints."""
+        field_cls = cls._type_hint(field.name)
+        if hasattr(field_cls, "__args__") and index >= 0:
+            if field_cls.__args__ is not None:
+                field_cls = field_cls.__args__[index]
+        return field_cls
+
+    def _get_field_default(self, field_name: str) -> Any:
+        return self._betterproto.default_gen[field_name]()
+
+    @classmethod
+    def _get_field_default_gen(cls, field: dataclasses.Field) -> Any:
+        t = cls._type_hint(field.name)
+
+        if hasattr(t, "__origin__"):
+            if t.__origin__ in (dict, Dict):
+                # This is some kind of map (dict in Python).
+                return dict
+            elif t.__origin__ in (list, List):
+                # This is some kind of list (repeated) field.
+                return list
+            elif t.__origin__ is Union and t.__args__[1] is type(None):
+                # This is an optional (wrapped) field. For setting the default we
+                # really don't care what kind of field it is.
+                return type(None)
+            else:
+                return t
+        elif issubclass(t, Enum):
+            # Enums always default to zero.
+            return int
+        elif t is datetime:
+            # Offsets are relative to 1970-01-01T00:00:00Z
+            return datetime_default_gen
+        else:
+            # This is either a primitive scalar or another message type. Calling
+            # it should result in its zero value.
+            return t
+
+    def _postprocess_single(
+        self, wire_type: int, meta: FieldMetadata, field_name: str, value: Any
+    ) -> Any:
+        """Adjusts values after parsing."""
+        if wire_type == WIRE_VARINT:
+            if meta.proto_type in (TYPE_INT32, TYPE_INT64):
+                bits = int(meta.proto_type[3:])
+                value = value & ((1 << bits) - 1)
+                signbit = 1 << (bits - 1)
+                value = int((value ^ signbit) - signbit)
+            elif meta.proto_type in (TYPE_SINT32, TYPE_SINT64):
+                # Undo zig-zag encoding
+                value = (value >> 1) ^ (-(value & 1))
+            elif meta.proto_type == TYPE_BOOL:
+                # Booleans use a varint encoding, so convert it to true/false.
+                value = value > 0
+        elif wire_type in (WIRE_FIXED_32, WIRE_FIXED_64):
+            fmt = _pack_fmt(meta.proto_type)
+            value = struct.unpack(fmt, value)[0]
+        elif wire_type == WIRE_LEN_DELIM:
+            if meta.proto_type == TYPE_STRING:
+                value = value.decode("utf-8")
+            elif meta.proto_type == TYPE_MESSAGE:
+                cls = self._betterproto.cls_by_field[field_name]
+
+                if cls == datetime:
+                    value = _Timestamp().parse(value).to_datetime()
+                elif cls == timedelta:
+                    value = _Duration().parse(value).to_timedelta()
+                elif meta.wraps:
+                    # This is a Google wrapper value message around a single
+                    # scalar type.
+                    value = _get_wrapper(meta.wraps)().parse(value).value
+                else:
+                    value = cls().parse(value)
+                    value._serialized_on_wire = True
+            elif meta.proto_type == TYPE_MAP:
+                value = self._betterproto.cls_by_field[field_name]().parse(value)
+
+        return value
+
+    def _include_default_value_for_oneof(
+        self, field_name: str, meta: FieldMetadata
+    ) -> bool:
+        return (
+            meta.group is not None and self._group_current.get(meta.group) == field_name
+        )
+
+    def parse(self: T, data: bytes) -> T:
+        """
+        Parse the binary encoded Protobuf into this message instance. This
+        returns the instance itself and is therefore assignable and chainable.
+
+        Parameters
+        -----------
+        data: :class:`bytes`
+            The data to parse the protobuf from.
+
+        Returns
+        --------
+        :class:`Message`
+            The initialized message.
+        """
+        # Got some data over the wire
+        self._serialized_on_wire = True
+        proto_meta = self._betterproto
+        for parsed in parse_fields(data):
+            field_name = proto_meta.field_name_by_number.get(parsed.number)
+            if not field_name:
+                self._unknown_fields += parsed.raw
+                continue
+
+            meta = proto_meta.meta_by_field_name[field_name]
+
+            value: Any
+            if parsed.wire_type == WIRE_LEN_DELIM and meta.proto_type in PACKED_TYPES:
+                # This is a packed repeated field.
+                pos = 0
+                value = []
+                while pos < len(parsed.value):
+                    if meta.proto_type in (TYPE_FLOAT, TYPE_FIXED32, TYPE_SFIXED32):
+                        decoded, pos = parsed.value[pos : pos + 4], pos + 4
+                        wire_type = WIRE_FIXED_32
+                    elif meta.proto_type in (TYPE_DOUBLE, TYPE_FIXED64, TYPE_SFIXED64):
+                        decoded, pos = parsed.value[pos : pos + 8], pos + 8
+                        wire_type = WIRE_FIXED_64
+                    else:
+                        decoded, pos = decode_varint(parsed.value, pos)
+                        wire_type = WIRE_VARINT
+                    decoded = self._postprocess_single(
+                        wire_type, meta, field_name, decoded
+                    )
+                    value.append(decoded)
+            else:
+                value = self._postprocess_single(
+                    parsed.wire_type, meta, field_name, parsed.value
+                )
+
+            current = getattr(self, field_name)
+            if meta.proto_type == TYPE_MAP:
+                # Value represents a single key/value pair entry in the map.
+                current[value.key] = value.value
+            elif isinstance(current, list) and not isinstance(value, list):
+                current.append(value)
+            else:
+                setattr(self, field_name, value)
+
+        return self
+
+    # For compatibility with other libraries.
+    @classmethod
+    def FromString(cls: Type[T], data: bytes) -> T:
+        """
+        Parse the binary encoded Protobuf into this message instance. This
+        returns the instance itself and is therefore assignable and chainable.
+
+        .. note::
+            This is a method for compatibility with other libraries,
+            you should really use :meth:`parse`.
+
+
+        Parameters
+        -----------
+        data: :class:`bytes`
+            The data to parse the protobuf from.
+
+        Returns
+        --------
+        :class:`Message`
+            The initialized message.
+        """
+        return cls().parse(data)
+
+    def to_dict(
+        self, casing: Casing = Casing.CAMEL, include_default_values: bool = False
+    ) -> Dict[str, Any]:
+        """
+        Returns a JSON serializable dict representation of this object.
+
+        Parameters
+        -----------
+        casing: :class:`Casing`
+            The casing to use for key values. Default is :attr:`Casing.CAMEL` for
+            compatibility purposes.
+        include_default_values: :class:`bool`
+            If ``True`` will include the default values of fields. Default is ``False``.
+            E.g. an ``int32`` field will be included with a value of ``0`` if this is
+            set to ``True``, otherwise this would be ignored.
+
+        Returns
+        --------
+        Dict[:class:`str`, Any]
+            The JSON serializable dict representation of this object.
+        """
+        output: Dict[str, Any] = {}
+        field_types = self._type_hints()
+        defaults = self._betterproto.default_gen
+        for field_name, meta in self._betterproto.meta_by_field_name.items():
+            field_is_repeated = defaults[field_name] is list
+            value = getattr(self, field_name)
+            cased_name = casing(field_name).rstrip("_")  # type: ignore
+            if meta.proto_type == TYPE_MESSAGE:
+                if isinstance(value, datetime):
+                    if (
+                        value != DATETIME_ZERO
+                        or include_default_values
+                        or self._include_default_value_for_oneof(
+                            field_name=field_name, meta=meta
+                        )
+                    ):
+                        output[cased_name] = _Timestamp.timestamp_to_json(value)
+                elif isinstance(value, timedelta):
+                    if (
+                        value != timedelta(0)
+                        or include_default_values
+                        or self._include_default_value_for_oneof(
+                            field_name=field_name, meta=meta
+                        )
+                    ):
+                        output[cased_name] = _Duration.delta_to_json(value)
+                elif meta.wraps:
+                    if value is not None or include_default_values:
+                        output[cased_name] = value
+                elif field_is_repeated:
+                    # Convert each item.
+                    cls = self._betterproto.cls_by_field[field_name]
+                    if cls == datetime:
+                        value = [_Timestamp.timestamp_to_json(i) for i in value]
+                    elif cls == timedelta:
+                        value = [_Duration.delta_to_json(i) for i in value]
+                    else:
+                        value = [
+                            i.to_dict(casing, include_default_values) for i in value
+                        ]
+                    if value or include_default_values:
+                        output[cased_name] = value
+                elif (
+                    value._serialized_on_wire
+                    or include_default_values
+                    or self._include_default_value_for_oneof(
+                        field_name=field_name, meta=meta
+                    )
+                ):
+                    output[cased_name] = value.to_dict(casing, include_default_values)
+            elif meta.proto_type == TYPE_MAP:
+                for k in value:
+                    if hasattr(value[k], "to_dict"):
+                        value[k] = value[k].to_dict(casing, include_default_values)
+
+                if value or include_default_values:
+                    output[cased_name] = value
+            elif (
+                value != self._get_field_default(field_name)
+                or include_default_values
+                or self._include_default_value_for_oneof(
+                    field_name=field_name, meta=meta
+                )
+            ):
+                if meta.proto_type in INT_64_TYPES:
+                    if field_is_repeated:
+                        output[cased_name] = [str(n) for n in value]
+                    else:
+                        output[cased_name] = str(value)
+                elif meta.proto_type == TYPE_BYTES:
+                    if field_is_repeated:
+                        output[cased_name] = [
+                            b64encode(b).decode("utf8") for b in value
+                        ]
+                    else:
+                        output[cased_name] = b64encode(value).decode("utf8")
+                elif meta.proto_type == TYPE_ENUM:
+                    if field_is_repeated:
+                        enum_class = field_types[field_name].__args__[0]
+                        if isinstance(value, typing.Iterable) and not isinstance(
+                            value, str
+                        ):
+                            output[cased_name] = [enum_class(el).name for el in value]
+                        else:
+                            # transparently upgrade single value to repeated
+                            output[cased_name] = [enum_class(value).name]
+                    else:
+                        enum_class = field_types[field_name]  # noqa
+                        output[cased_name] = enum_class(value).name
+                elif meta.proto_type in (TYPE_FLOAT, TYPE_DOUBLE):
+                    if field_is_repeated:
+                        output[cased_name] = [_dump_float(n) for n in value]
+                    else:
+                        output[cased_name] = _dump_float(value)
+                else:
+                    output[cased_name] = value
+        return output
+
+    def from_dict(self: T, value: Dict[str, Any]) -> T:
+        """
+        Parse the key/value pairs into the current message instance. This returns the
+        instance itself and is therefore assignable and chainable.
+
+        Parameters
+        -----------
+        value: Dict[:class:`str`, Any]
+            The dictionary to parse from.
+
+        Returns
+        --------
+        :class:`Message`
+            The initialized message.
+        """
+        self._serialized_on_wire = True
+        for key in value:
+            field_name = safe_snake_case(key)
+            meta = self._betterproto.meta_by_field_name.get(field_name)
+            if not meta:
+                continue
+
+            if value[key] is not None:
+                if meta.proto_type == TYPE_MESSAGE:
+                    v = getattr(self, field_name)
+                    if isinstance(v, list):
+                        cls = self._betterproto.cls_by_field[field_name]
+                        if cls == datetime:
+                            v = [isoparse(item) for item in value[key]]
+                        elif cls == timedelta:
+                            v = [
+                                timedelta(seconds=float(item[:-1]))
+                                for item in value[key]
+                            ]
+                        else:
+                            v = [cls().from_dict(item) for item in value[key]]
+                    elif isinstance(v, datetime):
+                        v = isoparse(value[key])
+                        setattr(self, field_name, v)
+                    elif isinstance(v, timedelta):
+                        v = timedelta(seconds=float(value[key][:-1]))
+                        setattr(self, field_name, v)
+                    elif meta.wraps:
+                        setattr(self, field_name, value[key])
+                    else:
+                        # NOTE: `from_dict` mutates the underlying message, so no
+                        # assignment here is necessary.
+                        v.from_dict(value[key])
+                elif meta.map_types and meta.map_types[1] == TYPE_MESSAGE:
+                    v = getattr(self, field_name)
+                    cls = self._betterproto.cls_by_field[f"{field_name}.value"]
+                    for k in value[key]:
+                        v[k] = cls().from_dict(value[key][k])
+                else:
+                    v = value[key]
+                    if meta.proto_type in INT_64_TYPES:
+                        if isinstance(value[key], list):
+                            v = [int(n) for n in value[key]]
+                        else:
+                            v = int(value[key])
+                    elif meta.proto_type == TYPE_BYTES:
+                        if isinstance(value[key], list):
+                            v = [b64decode(n) for n in value[key]]
+                        else:
+                            v = b64decode(value[key])
+                    elif meta.proto_type == TYPE_ENUM:
+                        enum_cls = self._betterproto.cls_by_field[field_name]
+                        if isinstance(v, list):
+                            v = [enum_cls.from_string(e) for e in v]
+                        elif isinstance(v, str):
+                            v = enum_cls.from_string(v)
+                    elif meta.proto_type in (TYPE_FLOAT, TYPE_DOUBLE):
+                        if isinstance(value[key], list):
+                            v = [_parse_float(n) for n in value[key]]
+                        else:
+                            v = _parse_float(value[key])
+
+                if v is not None:
+                    setattr(self, field_name, v)
+        return self
+
+    def to_json(self, indent: Union[None, int, str] = None) -> str:
+        """A helper function to parse the message instance into its JSON
+        representation.
+
+        This is equivalent to::
+
+            json.dumps(message.to_dict(), indent=indent)
+
+        Parameters
+        -----------
+        indent: Optional[Union[:class:`int`, :class:`str`]]
+            The indent to pass to :func:`json.dumps`.
+
+        Returns
+        --------
+        :class:`str`
+            The JSON representation of the message.
+        """
+        return json.dumps(self.to_dict(), indent=indent)
+
+    def from_json(self: T, value: Union[str, bytes]) -> T:
+        """A helper function to return the message instance from its JSON
+        representation. This returns the instance itself and is therefore assignable
+        and chainable.
+
+        This is equivalent to::
+
+            return message.from_dict(json.loads(value))
+
+        Parameters
+        -----------
+        value: Union[:class:`str`, :class:`bytes`]
+            The value to pass to :func:`json.loads`.
+
+        Returns
+        --------
+        :class:`Message`
+            The initialized message.
+        """
+        return self.from_dict(json.loads(value))
+
+
+def serialized_on_wire(message: Message) -> bool:
+    """
+    If this message was or should be serialized on the wire. This can be used to detect
+    presence (e.g. optional wrapper message) and is used internally during
+    parsing/serialization.
+
+    Returns
+    --------
+    :class:`bool`
+        Whether this message was or should be serialized on the wire.
+    """
+    return message._serialized_on_wire
+
+
+def which_one_of(message: Message, group_name: str) -> Tuple[str, Optional[Any]]:
+    """
+    Return the name and value of a message's one-of field group.
+
+    Returns
+    --------
+    Tuple[:class:`str`, Any]
+        The field name and the value for that field.
+    """
+    field_name = message._group_current.get(group_name)
+    if not field_name:
+        return "", None
+    return field_name, getattr(message, field_name)
+
+
+# Circular import workaround: google.protobuf depends on base classes defined above.
+from .lib.google.protobuf import (  # noqa
+    BoolValue,
+    BytesValue,
+    DoubleValue,
+    Duration,
+    EnumValue,
+    FloatValue,
+    Int32Value,
+    Int64Value,
+    StringValue,
+    Timestamp,
+    UInt32Value,
+    UInt64Value,
+)
+
+
+class _Duration(Duration):
+    def to_timedelta(self) -> timedelta:
+        return timedelta(seconds=self.seconds, microseconds=self.nanos / 1e3)
+
+    @staticmethod
+    def delta_to_json(delta: timedelta) -> str:
+        parts = str(delta.total_seconds()).split(".")
+        if len(parts) > 1:
+            while len(parts[1]) not in (3, 6, 9):
+                parts[1] = f"{parts[1]}0"
+        return f"{'.'.join(parts)}s"
+
+
+class _Timestamp(Timestamp):
+    def to_datetime(self) -> datetime:
+        ts = self.seconds + (self.nanos / 1e9)
+        return datetime.fromtimestamp(ts, tz=timezone.utc)
+
+    @staticmethod
+    def timestamp_to_json(dt: datetime) -> str:
+        nanos = dt.microsecond * 1e3
+        copy = dt.replace(microsecond=0, tzinfo=None)
+        result = copy.isoformat()
+        if (nanos % 1e9) == 0:
+            # If there are 0 fractional digits, the fractional
+            # point '.' should be omitted when serializing.
+            return f"{result}Z"
+        if (nanos % 1e6) == 0:
+            # Serialize 3 fractional digits.
+            return f"{result}.{int(nanos // 1e6) :03d}Z"
+        if (nanos % 1e3) == 0:
+            # Serialize 6 fractional digits.
+            return f"{result}.{int(nanos // 1e3) :06d}Z"
+        # Serialize 9 fractional digits.
+        return f"{result}.{nanos:09d}"
+
+
+def _get_wrapper(proto_type: str) -> Type:
+    """Get the wrapper message class for a wrapped type."""
+
+    # TODO: include ListValue and NullValue?
+    return {
+        TYPE_BOOL: BoolValue,
+        TYPE_BYTES: BytesValue,
+        TYPE_DOUBLE: DoubleValue,
+        TYPE_FLOAT: FloatValue,
+        TYPE_ENUM: EnumValue,
+        TYPE_INT32: Int32Value,
+        TYPE_INT64: Int64Value,
+        TYPE_STRING: StringValue,
+        TYPE_UINT32: UInt32Value,
+        TYPE_UINT64: UInt64Value,
+    }[proto_type]
+
+ +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/docs/build/html/_modules/index.html b/docs/build/html/_modules/index.html index ef76ed99..7f857d07 100644 --- a/docs/build/html/_modules/index.html +++ b/docs/build/html/_modules/index.html @@ -37,7 +37,7 @@

Docs

@@ -65,6 +65,29 @@

All modules for which code is available

+
  • ActivateRequest (class in python_pachyderm.experimental.proto.v2.auth_v2), [1] -

    B

    - - - -
    +
  • ActivateResponse (class in python_pachyderm.experimental.proto.v2.auth_v2), [1] + +
  • +
  • +
  • activation_code (ActivateRequest attribute), [1] -

    C

    - - - -
    +
  • address (AddClusterRequest attribute), [1] -

    D

    - - -
    +
  • auth_enabled (ClusterStatus attribute), [1] -

    E

    - - - -
    +
  • auth_info (RepoInfo attribute)
  • -
    +
  • auth_token (PipelineInfo attribute), [1] +
  • +
  • authenticate() (ApiBase method) -

    F

    - - -
    -

    G

    +

    B

    -
    - -

    H

    - - -
    +
  • branches (RepoInfo attribute)
  • -
    -

    I

    +

    C

    - -
    +
  • client_id (ClusterStatus attribute), [1] + +
  • +
  • client_secret (OidcConfig attribute), [1]
  • -
  • inspect_secret() (python_pachyderm.mixin.pps.PPSMixin method) +
  • clients (ListOidcClientsResponse attribute), [1]
  • -
  • inspect_transaction() (python_pachyderm.mixin.transaction.TransactionMixin method) +
  • close() (PFSFile method), [1]
  • -
    - -

    L

    - - - -
    - -

    M

    - - -
    -
    - -

    N

    - - - -
    - -

    P

    - - + - +
    + +

    D

    + + + +
    + +

    E

    + + + +
    + +

    F

    + + + +
    + +

    G

    + + + +
    + +

    H

    + + + +
    + +

    I

    + + + +
    + +

    J

    + + + +
    + +

    K

    + + + +
    + +

    L

    + + + +
    + +

    M

    + + + +
    + +

    N

    + + + +
    + +

    O

    + + + +
    + +

    P

    + + + +
    + +

    R

    + + + +
    + +

    S

    + + + -
    +
  • start_transaction() (ApiBase method) -

    R

    - - - -
    +
  • +
  • STARTING (DatumState attribute), [1] +
  • +
  • StartPipelineRequest (class in python_pachyderm.experimental.proto.v2.pps_v2), [1] +
  • +
  • StartTransactionRequest (class in python_pachyderm.experimental.proto.v2.transaction_v2), [1] +
  • +
  • State (class in python_pachyderm.experimental.proto.v2.enterprise_v2), [1] +
  • +
  • state (DatumInfo attribute), [1] -

    S

    - - -
    +
  • stats (DatumInfo attribute), [1] + +
  • +
  • stddev (Aggregate attribute), [1] +
  • +
  • stdin (Transform attribute), [1] +
  • +
  • stop_job (TransactionRequest attribute), [1] +
  • +
  • stop_job() (ApiBase method) + +
  • +
  • stop_pipeline() (ApiBase method) + +
  • +
  • StopJobRequest (class in python_pachyderm.experimental.proto.v2.pps_v2), [1]
  • -
  • stop_job() (python_pachyderm.mixin.pps.PPSMixin method) +
  • stopped (PipelineInfo attribute), [1]
  • -
  • stop_pipeline() (python_pachyderm.mixin.pps.PPSMixin method) +
  • StopPipelineRequest (class in python_pachyderm.experimental.proto.v2.pps_v2), [1]
  • SubcommitType (in module python_pachyderm.pfs)
  • -
  • subscribe_commit() (python_pachyderm.mixin.pfs.PFSMixin method) +
  • subject (TokenInfo attribute), [1] +
  • +
  • subscribe_commit() (PFSMixin method), [1] +
  • +
  • subscribe_job() (ApiBase method) + +
  • +
  • SubscribeCommitRequest (class in python_pachyderm.experimental.proto.v2.pfs_v2), [1] +
  • +
  • SubscribeJobRequest (class in python_pachyderm.experimental.proto.v2.pps_v2), [1] +
  • +
  • subvenance (BranchInfo attribute) +
  • +
  • SUCCESS (DatumState attribute), [1]
  • @@ -646,27 +3556,239 @@

    S

    T

    U

    @@ -674,21 +3796,91 @@

    U

    V

    +

    W

    diff --git a/docs/build/html/getting_started.html b/docs/build/html/getting_started.html index c8254d2a..408ac66a 100644 --- a/docs/build/html/getting_started.html +++ b/docs/build/html/getting_started.html @@ -18,7 +18,7 @@ - + @@ -46,7 +46,7 @@
  • Hello World example with Pachyderm Pipelines
  • -
  • python_pachyderm
  • +
  • python_pachyderm
  • @@ -175,7 +175,7 @@

    Hello World example with Pachyderm Pipelines - +
    diff --git a/docs/build/html/index.html b/docs/build/html/index.html index 372f3d46..fcfee53a 100644 --- a/docs/build/html/index.html +++ b/docs/build/html/index.html @@ -39,7 +39,7 @@

    Docs

    @@ -83,11 +83,12 @@

    OverviewHello World example with Pachyderm Pipelines -
  • python_pachyderm diff --git a/docs/build/html/modules.html b/docs/build/html/modules.html index 89931d19..ebf3440e 100644 --- a/docs/build/html/modules.html +++ b/docs/build/html/modules.html @@ -4,7 +4,7 @@ - <no title> — python-pachyderm documentation + python_pachyderm — python-pachyderm documentation + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    + +
    +
    +
    +
    + +
    +

    Information

    +

    The experimental module is where new features will be first tested before being +added to the regular module. Check out mixins to see method documentation. +Check out protos to inspect input and output proto objects for the mixin +methods.

    +
    +
    Current experimental features:
      +
    • All: Replaced google protobuf-generated code with betterproto-generated code

    • +
    • PFS: mount()/unmount()- Mounting/unmounting Pachyderm repos locally

    • +
    +
    +
    +

    Note: The experimental module WILL NOT follow semver. Breaking changes can +be introduced in the next minor version of python_pachyderm.

    +
    +
    +

    Experimental Mixins

    + +
    +
    +

    Experimental Protos

    + +
    +
    +

    Experimental Client

    +
    +
    +class Client(host=None, port=None, auth_token=None, root_certs=None, transaction_id=None, tls=None, use_default_host=True)[source]
    +

    Bases: python_pachyderm.experimental.mixin.admin.AdminMixin, python_pachyderm.experimental.mixin.auth.AuthMixin, python_pachyderm.experimental.mixin.debug.DebugMixin, python_pachyderm.experimental.mixin.enterprise.EnterpriseMixin, python_pachyderm.experimental.mixin.health.HealthMixin, python_pachyderm.experimental.mixin.identity.IdentityMixin, python_pachyderm.experimental.mixin.license.LicenseMixin, python_pachyderm.experimental.mixin.pfs.PFSMixin, python_pachyderm.experimental.mixin.pps.PPSMixin, python_pachyderm.experimental.mixin.transaction.TransactionMixin, python_pachyderm.experimental.mixin.version.VersionMixin, python_pachyderm.client.Client

    +

    An experimental Client. New python_pachyderm features are available +here first. Refer to the Introduction section in the Experimental +Mixins doc page to see the existing experimental prototypes Initialize an +instance with python_pachyderm.experimental.Client().

    +
    +
    Attributes
    +
    +
    auth_token
    +
    transaction_id
    +
    +
    +
    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_auth([root_token])

    Activates auth on the cluster.

    activate_enterprise(license_server, id, secret)

    Activates enterprise by registering with a license server.

    activate_license(activation_code[, expires])

    Activates the license service.

    add_cluster(id, address[, secret, ...])

    Register a cluster with the license service.

    authenticate_id_token(id_token)

    Authenticates a user to the Pachyderm cluster using an ID token issued by the OIDC provider.

    authenticate_oidc(oidc_state)

    Authenticates a user to the Pachyderm cluster via OIDC.

    authorize(resource[, permissions])

    Tests a list of permissions that the user might have on a resource.

    batch_transaction(requests)

    Executes a batch transaction.

    binary([filter])

    Gets the pachd binary.

    commit(repo_name, branch[, parent, description])

    A context manager for running operations within a commit.

    copy_file(source_commit, source_path, ...[, ...])

    Efficiently copies files already in PFS.

    create_branch(repo_name, branch_name[, ...])

    Creates a new branch.

    create_idp_connector(connector)

    Create an IDP connector in the identity server.

    create_oidc_client(client)

    Create an OIDC client in the identity server.

    create_pipeline(pipeline_name, transform[, ...])

    Creates a pipeline.

    create_pipeline_from_request(req)

    Creates a pipeline from a CreatePipelineRequest object.

    create_repo(repo_name[, description, update])

    Creates a new repo object in PFS with the given name.

    create_secret(secret_name, data[, labels, ...])

    Creates a new secret.

    deactivate_auth()

    Deactivates auth, removing all ACLs, tokens, and admins from the Pachyderm cluster and making all data publicly accessible.

    deactivate_enterprise()

    Deactivates enterprise.

    delete_all()

    Delete all repos, commits, files, pipelines, and jobs.

    delete_all_identity()

    Delete all identity service information.

    delete_all_license()

    Remove all clusters and deactivate the license service.

    delete_all_pipelines()

    Deletes all pipelines.

    delete_all_repos()

    Deletes all repos.

    delete_all_transactions()

    Deletes all transactions.

    delete_branch(repo_name, branch_name[, force])

    Deletes a branch, but leaves the commits themselves intact.

    delete_cluster(id)

    Delete a cluster registered with the license service.

    delete_file(commit, path)

    Deletes a file from an open commit.

    delete_idp_connector(id)

    Delete an IDP connector in the identity server.

    delete_job(job_id, pipeline_name)

    Deletes a subjob (job at the pipeline-level).

    delete_oidc_client(id)

    Delete an OIDC client in the identity server.

    delete_pipeline(pipeline_name[, force, ...])

    Deletes a pipeline.

    delete_repo(repo_name[, force])

    Deletes a repo and reclaims the storage space it was using.

    delete_secret(secret_name)

    Deletes a secret.

    delete_transaction(transaction)

    Deletes a transaction.

    diff_file(new_commit, new_path[, ...])

    Diffs two PFS files (file = commit + path in Pachyderm) and returns files that are different.

    drop_commit(commit_id)

    Drops an entire commit.

    dump([filter, limit])

    Gets a debug dump.

    extract_auth_tokens()

    This maps to an internal function that is only used for migration.

    finish_commit(commit[, description, error, ...])

    Ends the process of committing data to a repo and persists the commit.

    finish_transaction(transaction)

    Finishes a transaction.

    fsck([fix])

    Performs a file system consistency check on PFS, ensuring the correct provenance relationships are satisfied.

    get_activation_code()

    Returns the enterprise code used to activate Pachdyerm Enterprise in this cluster.

    get_auth_configuration()

    Gets the auth configuration.

    get_enterprise_state()

    Gets the current enterprise state of the cluster.

    get_file(commit, path[, datum, URL, offset])

    Gets a file from PFS.

    get_file_tar(commit, path[, datum, URL, offset])

    Gets a file from PFS.

    get_groups()

    Gets a list of groups this user belongs to.

    get_identity_server_config()

    Get the embedded identity server configuration.

    get_idp_connector(id)

    Get an IDP connector in the identity server.

    get_job_logs(pipeline_name, job_id[, ...])

    Gets logs for a job.

    get_oidc_client(id)

    Get an OIDC client in the identity server.

    get_oidc_login()

    Gets the OIDC login configuration.

    get_pipeline_logs(pipeline_name[, ...])

    Gets logs for a pipeline.

    get_remote_version()

    Gets version of Pachyderm server.

    get_robot_token(robot[, ttl])

    Gets a new auth token for a robot user.

    get_role_binding(resource)

    Returns the current set of role bindings to the resource specified.

    get_roles_for_permission(permission)

    Returns a list of all roles that have the specified permission.

    get_users(group)

    Gets users in a group.

    glob_file(commit, pattern)

    Lists files that match a glob pattern.

    health_check()

    Returns a health check indicating if the server can handle RPCs.

    inspect_branch(repo_name, branch_name)

    Inspects a branch.

    inspect_cluster()

    Inspects a cluster.

    inspect_commit(commit[, commit_state])

    Inspects a commit.

    inspect_datum(pipeline_name, job_id, datum_id)

    Inspects a datum.

    inspect_file(commit, path[, datum])

    Inspects a file.

    inspect_job(job_id[, pipeline_name, wait, ...])

    Inspects a job.

    inspect_pipeline(pipeline_name[, history, ...])

    inspect_repo(repo_name)

    Inspects a repo.

    inspect_secret(secret_name)

    Inspects a secret.

    inspect_transaction(transaction)

    Inspects a transaction.

    list_branch(repo_name[, reverse])

    Lists the active branch objects in a repo.

    list_clusters()

    List clusters registered with the license service.

    list_commit([repo_name, to_commit, ...])

    Lists commits.

    list_datum([pipeline_name, job_id, input])

    Lists datums.

    list_file(commit, path[, datum, details])

    Lists the files in a directory.

    list_idp_connectors()

    List IDP connectors in the identity server.

    list_job([pipeline_name, input_commit, ...])

    Lists jobs.

    list_oidc_clients()

    List OIDC clients in the identity server.

    list_pipeline([history, details, jqFilter])

    list_repo([type])

    Lists all repos in PFS.

    list_secret()

    Lists secrets.

    list_transaction()

    Lists unfinished transactions.

    list_user_clusters()

    Lists all clusters available to user.

    modify_file_client(commit)

    A context manager that gives a ModifyFileClient.

    modify_members(group[, add, remove])

    Adds and/or removes members of a group.

    modify_role_binding(resource, principal[, roles])

    Sets the roles for a given principal on a resource.

    mount(mount_dir[, repos])

    Mounts Pachyderm repos locally.

    new_from_config(config_file)

    Creates a Pachyderm client from a config file-like object.

    new_from_pachd_address(pachd_address[, ...])

    Creates a Pachyderm client from a given pachd address.

    new_in_cluster([auth_token, transaction_id])

    Creates a Pachyderm client that operates within a Pachyderm cluster.

    path_exists(commit, path)

    Checks whether the path exists in the specified commit, agnostic to whether path is a file or a directory.

    profile_cpu(duration[, filter])

    Gets a CPU profile.

    put_file_bytes(commit, path, value[, datum, ...])

    Uploads a PFS file from a file-like object, bytestring, or iterator of bytestrings.

    put_file_url(commit, path, url[, recursive, ...])

    Uploads a PFS file using the content found at a URL.

    restart_datum(pipeline_name, job_id[, ...])

    Restarts a datum.

    restore_auth_token([token])

    This maps to an internal function that is only used for migration.

    revoke_auth_token(token)

    Revokes an auth token.

    run_cron(pipeline_name)

    Triggers a cron pipeline to run now.

    set_auth_configuration(configuration)

    Sets the auth configuration.

    set_groups_for_user(username, groups)

    Sets the group membership for a user.

    set_identity_server_config(config)

    Configure the embedded identity server.

    squash_commit(commit_id)

    Squashes a commit into its parent.

    start_commit(repo_name, branch[, parent, ...])

    Begins the process of committing data to a repo.

    start_pipeline(pipeline_name)

    Starts a pipeline.

    start_transaction()

    Starts a transaction.

    stop_job(job_id, pipeline_name[, reason])

    Stops a subjob (job at the pipeline-level).

    stop_pipeline(pipeline_name)

    Stops a pipeline.

    subscribe_commit(repo_name, branch[, ...])

    Returns all commits on the branch and then listens for new commits that are created.

    transaction()

    A context manager for running operations within a transaction.

    unmount([mount_dir, all_mounts])

    Unmounts mounted local filesystems with Pachyderm repos.

    update_cluster(id, address[, user_address, ...])

    Update a cluster registered with the license service.

    update_idp_connector(connector)

    Update an IDP connector in the identity server.

    update_oidc_client(client)

    Update an OIDC client in the identity server.

    wait_commit(commit)

    Waits for the specified commit to finish.

    walk_file(commit, path[, datum])

    Walks over all descendant files in a directory.

    who_am_i()

    Returns info about the user tied to this Client.

    +
    + +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.mixin.html b/docs/build/html/python_pachyderm.experimental.mixin.html new file mode 100644 index 00000000..3e81ae98 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.mixin.html @@ -0,0 +1,3652 @@ + + + + + + + Important — python-pachyderm documentation + + + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    + +
    +
    +
    +
    + +
    +

    Important

    +

    Exposes an experimental mixin for each pachyderm service. These mixins should +not be used directly; instead, you should use +python_pachyderm.experimental.Client(). The mixins exist exclusively in +order to provide better code organization, because we have several mixins, +rather than one giant +Client class.

    +
    +
    +

    Admin mixin

    +
    +
    +class AdminMixin[source]
    +

    A mixin for admin-related functionality.

    +

    Methods

    + ++++ + + + + + +

    inspect_cluster()

    Inspects a cluster.

    +
    +
    +inspect_cluster()[source]
    +

    Inspects a cluster.

    +
    +
    Returns
    +
    +
    admin_proto.ClusterInfo

    A protobuf object with info on the cluster.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    Auth mixin

    +
    +
    +class AuthMixin[source]
    +

    A mixin for auth-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_auth([root_token])

    Activates auth on the cluster.

    authenticate_id_token(id_token)

    Authenticates a user to the Pachyderm cluster using an ID token issued by the OIDC provider.

    authenticate_oidc(oidc_state)

    Authenticates a user to the Pachyderm cluster via OIDC.

    authorize(resource[, permissions])

    Tests a list of permissions that the user might have on a resource.

    deactivate_auth()

    Deactivates auth, removing all ACLs, tokens, and admins from the Pachyderm cluster and making all data publicly accessible.

    extract_auth_tokens()

    This maps to an internal function that is only used for migration.

    get_auth_configuration()

    Gets the auth configuration.

    get_groups()

    Gets a list of groups this user belongs to.

    get_oidc_login()

    Gets the OIDC login configuration.

    get_robot_token(robot[, ttl])

    Gets a new auth token for a robot user.

    get_role_binding(resource)

    Returns the current set of role bindings to the resource specified.

    get_roles_for_permission(permission)

    Returns a list of all roles that have the specified permission.

    get_users(group)

    Gets users in a group.

    modify_members(group[, add, remove])

    Adds and/or removes members of a group.

    modify_role_binding(resource, principal[, roles])

    Sets the roles for a given principal on a resource.

    restore_auth_token([token])

    This maps to an internal function that is only used for migration.

    revoke_auth_token(token)

    Revokes an auth token.

    set_auth_configuration(configuration)

    Sets the auth configuration.

    set_groups_for_user(username, groups)

    Sets the group membership for a user.

    who_am_i()

    Returns info about the user tied to this Client.

    +
    +
    +activate_auth(root_token=None)[source]
    +

    Activates auth on the cluster. Returns the root token, an +irrevocable superuser credential that should be stored securely.

    +
    +
    Parameters
    +
    +
    root_tokenstr, optional

    If set, the token used as the root user login token. In general, +it is safer to not set and let Pachyderm generate one for you.

    +
    +
    +
    +
    Returns
    +
    +
    str

    A token used as the root user login token.

    +
    +
    +
    +
    +
    + +
    +
    +authenticate_id_token(id_token)[source]
    +

    Authenticates a user to the Pachyderm cluster using an ID token +issued by the OIDC provider. The token must include the Pachyderm +client_id in the set of audiences to be valid.

    +
    +
    Parameters
    +
    +
    id_tokenstr

    The ID token.

    +
    +
    +
    +
    Returns
    +
    +
    str

    A token that can be used for making authenticate requests.

    +
    +
    +
    +
    +
    + +
    +
    +authenticate_oidc(oidc_state)[source]
    +

    Authenticates a user to the Pachyderm cluster via OIDC.

    +
    +
    Parameters
    +
    +
    oidc_statestr

    An OIDC state token.

    +
    +
    +
    +
    Returns
    +
    +
    str

    A token that can be used for making authenticate requests.

    +
    +
    +
    +
    +
    + +
    +
    +authorize(resource, permissions=None)[source]
    +

    Tests a list of permissions that the user might have on a resource.

    +
    +
    Parameters
    +
    +
    resourceauth_proto.Resource

    The resource the user wants to test on.

    +
    +
    permissionsList[auth_proto.Permission], optional

    The list of permissions the users wants to test.

    +
    +
    +
    +
    Returns
    +
    +
    auth_proto.AuthorizeResponse

    A protobuf object that indicates whether the user/principal had all +the inputted permissions on the resource, which permissions the +user had, which permissions the user lacked, and the name of the +principal.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.authorize(
    +...     auth_proto.Resource(type=auth_proto.REPO, name="foobar"),
    +...     [auth_proto.Permission.REPO_READ]
    +... )
    +authorized: true
    +satisfied: REPO_READ
    +principal: "pach:root"
    +
    +
    +
    + +
    +
    +deactivate_auth()[source]
    +

    Deactivates auth, removing all ACLs, tokens, and admins from the +Pachyderm cluster and making all data publicly accessible.

    +
    +
    Raises
    +
    +
    AuthServiceNotActivated
    +
    +
    +
    +
    + +
    +
    +extract_auth_tokens()[source]
    +

    This maps to an internal function that is only used for migration. +Pachyderm’s extract and restore functionality calls +extract_auth_tokens and restore_auth_tokens to move Pachyderm tokens +between clusters during migration. Currently this function is only used +for Pachyderm internals, so we’re avoiding support for this function in +python-pachyderm client until we find a use for it (feel free to file an +issue in github.com/pachyderm/pachyderm).

    +
    + +
    +
    +get_auth_configuration()[source]
    +

    Gets the auth configuration.

    +
    +
    Returns
    +
    +
    auth_proto.OidcConfig

    A protobuf object with auth configuration information.

    +
    +
    +
    +
    +
    + +
    +
    +get_groups()[source]
    +

    Gets a list of groups this user belongs to.

    +
    +
    Returns
    +
    +
    List[str]

    List of groups the user belongs to.

    +
    +
    +
    +
    +
    + +
    +
    +get_oidc_login()[source]
    +

    Gets the OIDC login configuration.

    +
    +
    Returns
    +
    +
    auth_proto.GetOidcLoginResponse

    A protobuf object with the login configuration information.

    +
    +
    +
    +
    +
    + +
    +
    +get_robot_token(robot, ttl=None)[source]
    +

    Gets a new auth token for a robot user.

    +
    +
    Parameters
    +
    +
    robotstr

    The name of the robot user.

    +
    +
    ttlint, optional

    The remaining lifetime of this token in seconds. If unset, +token doesn’t expire.

    +
    +
    +
    +
    Returns
    +
    +
    str

    The new auth token.

    +
    +
    +
    +
    +
    + +
    +
    +get_role_binding(resource)[source]
    +

    Returns the current set of role bindings to the resource specified.

    +
    +
    Parameters
    +
    +
    resourceauth_proto.Resource

    A protobuf object representing the resource being checked.

    +
    +
    +
    +
    Returns
    +
    +
    Dict[str, auth_proto.Roles]

    A dictionary mapping the principals to the roles they have.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.get_role_binding(auth_proto.Resource(type=auth_proto.CLUSTER))
    +{
    +    'robot:someuser': roles {
    +        key: "clusterAdmin"
    +        value: true
    +    },
    +    'pach:root': roles {
    +        key: "clusterAdmin"
    +        value: true
    +    }
    +}
    +...
    +>>> client.get_role_binding(auth_proto.Resource(type=auth_proto.REPO, name="foobar"))
    +{
    +    'user:person_a': roles {
    +        key: "repoWriter"
    +        value: true
    +    },
    +    'pach:root': roles {
    +        key: "repoOwner"
    +        value: true
    +    }
    +}
    +
    +
    +
    + +
    +
    +get_roles_for_permission(permission)[source]
    +

    Returns a list of all roles that have the specified permission.

    +
    +
    Parameters
    +
    +
    permissionauth_proto.Permission

    The Permission enum to check for.

    +
    +
    +
    +
    Returns
    +
    +
    List[auth_proto.Role]

    A list of Role protobuf objects that all have the specified +permission.

    +
    +
    +
    +
    +

    Examples

    +

    All available permissions can be found in auth proto Permissions enum

    +
    >>> roles = client.get_roles_for_permission(auth_proto.Permission.REPO_READ)
    +
    +
    +
    + +
    +
    +get_users(group)[source]
    +

    Gets users in a group.

    +
    +
    Parameters
    +
    +
    groupstr

    The group to list users from.

    +
    +
    +
    +
    Returns
    +
    +
    List[str]

    All the users in the specified group.

    +
    +
    +
    +
    +
    + +
    +
    +modify_members(group, add=None, remove=None)[source]
    +

    Adds and/or removes members of a group.

    +
    +
    Parameters
    +
    +
    groupstr

    The group to modify.

    +
    +
    addList[str], optional

    A list of strings specifying members to add.

    +
    +
    removeList[str], optional

    A list of strings specifying members to remove.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.modify_members(
    +...     "foogroup",
    +...     add=["user:otheruser"],
    +...     remove=["user:someuser"]
    +... )
    +
    +
    +
    + +
    +
    +modify_role_binding(resource, principal, roles=None)[source]
    +

    Sets the roles for a given principal on a resource.

    +
    +
    Parameters
    +
    +
    resourceauth_proto.Resource

    A protobuf object representing the resource to grant the roles on.

    +
    +
    principalstr

    The principal to grant the roles for.

    +
    +
    rolesList[str], optional

    The absolute list of roles for the principtal to have. If roles is +unset, the principal will have no roles.

    +
    +
    +
    +
    +

    Examples

    +

    You can find some of the built-in roles here: +https://github.com/pachyderm/pachyderm/blob/master/src/auth/auth.go#L27

    +
    >>> client.modify_role_binding(
    +...     auth_proto.Resource(type=auth_proto.CLUSTER),
    +...     "user:someuser",
    +...     roles=["clusterAdmin"]
    +... )
    +>>> client.modify_role_binding(
    +...     auth_proto.Resource(type=auth_proto.REPO, name="foobar"),
    +...     "user:someuser",
    +...     roles=["repoWriter"]
    +... )
    +
    +
    +
    + +
    +
    +restore_auth_token(token=None)[source]
    +

    This maps to an internal function that is only used for migration. +Pachyderm’s extract and restore functionality calls +extract_auth_tokens and restore_auth_tokens to move Pachyderm tokens +between clusters during migration. Currently this function is only used +for Pachyderm internals, so we’re avoiding support for this function in +python-pachyderm client until we find a use for it (feel free to file an +issue in github.com/pachyderm/pachyderm).

    +
    + +
    +
    +revoke_auth_token(token)[source]
    +

    Revokes an auth token.

    +
    +
    Parameters
    +
    +
    tokenstr

    The Pachyderm token being revoked.

    +
    +
    +
    +
    +
    + +
    +
    +set_auth_configuration(configuration)[source]
    +

    Sets the auth configuration.

    +
    +
    Parameters
    +
    +
    configurationauth_proto.OidcConfig

    A protobuf object with auth configuration information.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.set_auth_configuration(auth_proto.OidcConfig(
    +...     issuer="http://localhost:1658",
    +...     client_id="client",
    +...     client_secret="secret",
    +...     redirect_uri="http://test.example.com",
    +... ))
    +
    +
    +
    + +
    +
    +set_groups_for_user(username, groups)[source]
    +

    Sets the group membership for a user.

    +
    +
    Parameters
    +
    +
    usernamestr

    The username to be added.

    +
    +
    groupsList[str]

    The groups to add the username to.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.set_groups_for_user("user:someuser", ["foogroup", "bargroup"])
    +
    +
    +
    + +
    +
    +who_am_i()[source]
    +

    Returns info about the user tied to this Client.

    +
    +
    Returns
    +
    +
    auth_proto.WhoAmIResponse

    A protobuf object that returns the username and expiration for the +token used.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    Debug mixin

    +
    +
    +class DebugMixin[source]
    +

    A mixin for debug-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + +

    binary([filter])

    Gets the pachd binary.

    dump([filter, limit])

    Gets a debug dump.

    profile_cpu(duration[, filter])

    Gets a CPU profile.

    +
    +
    +binary(filter=None)[source]
    +

    Gets the pachd binary.

    +
    +
    Parameters
    +
    +
    filterdebug_proto.Filter, optional

    A protobuf object that filters what info is returned. Is one of +pachd bool, pipeline protobuf, or worker protobuf.

    +
    +
    +
    +
    Yields
    +
    +
    bytes

    The pachd binary as a sequence of bytearrays.

    +
    +
    +
    +
    +

    Examples

    +
    >>> for b in client.binary():
    +>>>     print(b)
    +
    +
    +
    + +
    +
    +dump(filter=None, limit=None)[source]
    +

    Gets a debug dump.

    +
    +
    Parameters
    +
    +
    filterdebug_proto.Filter, optional

    A protobuf object that filters what info is returned. Is one of +pachd bool, pipeline protobuf, or worker protobuf.

    +
    +
    limitint, optional

    Sets a limit to how many commits, jobs, pipelines, etc. are +returned.

    +
    +
    +
    +
    Yields
    +
    +
    bytes

    The debug dump as a sequence of bytearrays.

    +
    +
    +
    +
    +

    Examples

    +
    >>> for b in client.dump(debug_proto.Filter(pipeline=pps_proto.Pipeline(name="foo"))):
    +>>>     print(b)
    +
    +
    +
    + +
    +
    +profile_cpu(duration, filter=None)[source]
    +

    Gets a CPU profile.

    +
    +
    Parameters
    +
    +
    durationdatetime.timedelta

    A google protobuf duration object indicating how long the profile +should run for.

    +
    +
    filterdebug_proto.Filter, optional

    A protobuf object that filters what info is returned. Is one of +pachd bool, pipeline protobuf, or worker protobuf.

    +
    +
    +
    +
    Yields
    +
    +
    bytes

    The cpu profile as a sequence of bytearrays.

    +
    +
    +
    +
    +

    Examples

    +
    >>> for b in client.profile_cpu(datetime.timedelta(seconds=1)):
    +>>>     print(b)
    +
    +
    +
    + +
    + +
    +
    +

    Enterprise mixin

    +
    +
    +class EnterpriseMixin[source]
    +

    A mixin for enterprise-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + +

    activate_enterprise(license_server, id, secret)

    Activates enterprise by registering with a license server.

    deactivate_enterprise()

    Deactivates enterprise.

    get_activation_code()

    Returns the enterprise code used to activate Pachdyerm Enterprise in this cluster.

    get_enterprise_state()

    Gets the current enterprise state of the cluster.

    +
    +
    +activate_enterprise(license_server, id, secret)[source]
    +

    Activates enterprise by registering with a license server.

    +
    +
    Parameters
    +
    +
    license_serverstr

    The Pachyderm Enterprise Server to register with.

    +
    +
    idstr

    The unique ID for this cluster.

    +
    +
    secretstr

    The secret for registering this cluster.

    +
    +
    +
    +
    +
    + +
    +
    +deactivate_enterprise()[source]
    +

    Deactivates enterprise.

    +
    + +
    +
    +get_activation_code()[source]
    +

    Returns the enterprise code used to activate Pachdyerm Enterprise in +this cluster.

    +
    +
    Returns
    +
    +
    enterprise_proto.GetActivationCodeResponse

    A protobuf object that returns a state enum, info on the token, +and the activation code.

    +
    +
    +
    +
    +
    + +
    +
    +get_enterprise_state()[source]
    +

    Gets the current enterprise state of the cluster.

    +
    +
    Returns
    +
    +
    enterprise_proto.GetStateResponse

    A protobuf object that returns a state enum, info on the token, +and an empty activation code.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    Health mixin

    +
    +
    +class HealthMixin[source]
    +

    A mixin for health-related functionality.

    +

    Methods

    + ++++ + + + + + +

    health_check()

    Returns a health check indicating if the server can handle RPCs.

    +
    +
    +health_check()[source]
    +

    Returns a health check indicating if the server can handle +RPCs.

    +
    +
    Returns
    +
    +
    health_proto.HealthCheckResponse

    A protobuf object with a status enum indicating server health.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    Identity mixin

    +
    +
    +class IdentityMixin[source]
    +

    A mixin for identity-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    create_idp_connector(connector)

    Create an IDP connector in the identity server.

    create_oidc_client(client)

    Create an OIDC client in the identity server.

    delete_all_identity()

    Delete all identity service information.

    delete_idp_connector(id)

    Delete an IDP connector in the identity server.

    delete_oidc_client(id)

    Delete an OIDC client in the identity server.

    get_identity_server_config()

    Get the embedded identity server configuration.

    get_idp_connector(id)

    Get an IDP connector in the identity server.

    get_oidc_client(id)

    Get an OIDC client in the identity server.

    list_idp_connectors()

    List IDP connectors in the identity server.

    list_oidc_clients()

    List OIDC clients in the identity server.

    set_identity_server_config(config)

    Configure the embedded identity server.

    update_idp_connector(connector)

    Update an IDP connector in the identity server.

    update_oidc_client(client)

    Update an OIDC client in the identity server.

    +
    +
    +create_idp_connector(connector)[source]
    +

    Create an IDP connector in the identity server.

    +
    +
    Parameters
    +
    +
    connectoridentity_proto.IdpConnector

    A protobuf object that represents a connection to an identity +provider.

    +
    +
    +
    +
    +
    + +
    +
    +create_oidc_client(client)[source]
    +

    Create an OIDC client in the identity server.

    +
    +
    Parameters
    +
    +
    clientidentity_proto.OidcClient

    A protobuf object representing an OIDC client.

    +
    +
    +
    +
    Returns
    +
    +
    identity_proto.OidcClient

    A protobuf object that returns a client with info on the client ID, +name, secret, and lists of redirect URIs and trusted peers.

    +
    +
    +
    +
    +
    + +
    +
    +delete_all_identity()[source]
    +

    Delete all identity service information.

    +
    +
    Raises
    +
    +
    AuthServiceNotActivated
    +
    +
    +
    +
    + +
    +
    +delete_idp_connector(id)[source]
    +

    Delete an IDP connector in the identity server.

    +
    +
    Parameters
    +
    +
    idstr

    The connector ID.

    +
    +
    +
    +
    +
    + +
    +
    +delete_oidc_client(id)[source]
    +

    Delete an OIDC client in the identity server.

    +
    +
    Parameters
    +
    +
    idstr

    The client ID.

    +
    +
    +
    +
    +
    + +
    +
    +get_identity_server_config()[source]
    +

    Get the embedded identity server configuration.

    +
    +
    Returns
    +
    +
    identity_proto.IdentityServerConfig

    A protobuf object that holds configuration info (issuer and ID +token expiry) for the identity web server.

    +
    +
    +
    +
    +
    + +
    +
    +get_idp_connector(id)[source]
    +

    Get an IDP connector in the identity server.

    +
    +
    Parameters
    +
    +
    idstr

    The connector ID.

    +
    +
    +
    +
    Returns
    +
    +
    identity_proto.IdpConnector

    A protobuf object that returns info on the connector ID, name, +type, config version, and configuration of the upstream IDP +connector.

    +
    +
    +
    +
    +
    + +
    +
    +get_oidc_client(id)[source]
    +

    Get an OIDC client in the identity server.

    +
    +
    Parameters
    +
    +
    idstr

    The client ID.

    +
    +
    +
    +
    Returns
    +
    +
    identity_proto.OidcClient

    A protobuf object that returns a client with info on the client ID, +name, secret, and lists of redirect URIs and trusted peers.

    +
    +
    +
    +
    +
    + +
    +
    +list_idp_connectors()[source]
    +

    List IDP connectors in the identity server.

    +
    +
    Returns
    +
    +
    List[identity_proto.IdpConnector]

    A list of probotuf objects that return info on the connector ID, +name, type, config version, and configuration of the upstream IDP +connector.

    +
    +
    +
    +
    +
    + +
    +
    +list_oidc_clients()[source]
    +

    List OIDC clients in the identity server.

    +
    +
    Returns
    +
    +
    List[identity_proto.OidcClient]

    A list of protobuf objects that return a client with info on the +client ID, name, secret, and lists of redirect URIs and trusted +peers.

    +
    +
    +
    +
    +
    + +
    +
    +set_identity_server_config(config)[source]
    +

    Configure the embedded identity server.

    +
    +
    Parameters
    +
    +
    configidentity_proto.IdentityServerConfig

    A protobuf object that is the configuration for the identity web +server.

    +
    +
    +
    +
    +
    + +
    +
    +update_idp_connector(connector)[source]
    +

    Update an IDP connector in the identity server.

    +
    +
    Parameters
    +
    +
    connectoridentity_proto.IdpConnector

    A protobuf object that represents a connection to an identity +provider.

    +
    +
    +
    +
    +
    + +
    +
    +update_oidc_client(client)[source]
    +

    Update an OIDC client in the identity server.

    +
    +
    Parameters
    +
    +
    clientidentity_proto.OidcClient

    A protobuf object representing an OIDC client.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    License mixin

    +
    +
    +class LicenseMixin[source]
    +

    A mixin for license-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_license(activation_code[, expires])

    Activates the license service.

    add_cluster(id, address[, secret, ...])

    Register a cluster with the license service.

    delete_all_license()

    Remove all clusters and deactivate the license service.

    delete_cluster(id)

    Delete a cluster registered with the license service.

    get_activation_code()

    Gets the enterprise code used to activate the server.

    list_clusters()

    List clusters registered with the license service.

    list_user_clusters()

    Lists all clusters available to user.

    update_cluster(id, address[, user_address, ...])

    Update a cluster registered with the license service.

    +
    +
    +activate_license(activation_code, expires=None)[source]
    +

    Activates the license service.

    +
    +
    Parameters
    +
    +
    activation_codestr

    A Pachyderm enterprise activation code. New users can obtain trial +activation codes.

    +
    +
    expiresdatetime.datetime, optional

    A protobuf object indicating when this activation code will expire. +This should generally not be set and is only applied if it is +earlier than the signed expiration time of activation_code.

    +
    +
    +
    +
    Returns
    +
    +
    enterprise_proto.TokenInfo

    A protobuf object that has the expiration for the current token. +Field will be unset if there is no current token.

    +
    +
    +
    +
    +
    + +
    +
    +add_cluster(id, address, secret=None, user_address=None, cluster_deployment_id=None, enterprise_server=False)[source]
    +

    Register a cluster with the license service.

    +
    +
    Parameters
    +
    +
    idstr

    The unique ID to identify the cluster.

    +
    +
    addressstr

    The public GRPC address for the license server to reach the cluster.

    +
    +
    secretstr, optional

    A shared secret for the cluster to use to authenticate. If not +specified, a random secret will be generated and returned.

    +
    +
    user_addressstr, optional

    The pachd address for users to connect to.

    +
    +
    cluster_deployment_idstr, optional

    The deployment ID value generated by each cluster.

    +
    +
    enterprise_serverbool, optional

    Indicates whether the address points to an enterprise server.

    +
    +
    +
    +
    Returns
    +
    +
    license_proto.AddClusterResponse

    A protobuf object that returns the secret.

    +
    +
    +
    +
    +
    + +
    +
    +delete_all_license()[source]
    +

    Remove all clusters and deactivate the license service.

    +
    +
    Raises
    +
    +
    AuthServiceNotActivated
    +
    +
    +
    +
    + +
    +
    +delete_cluster(id)[source]
    +

    Delete a cluster registered with the license service.

    +
    +
    Parameters
    +
    +
    idstr

    The unique ID to identify the cluster.

    +
    +
    +
    +
    +
    + +
    +
    +get_activation_code()[source]
    +

    Gets the enterprise code used to activate the server.

    +
    +
    Returns
    +
    +
    license_proto.GetActivationCodeResponse

    A protobuf object that returns a state enum, info on the token, +and the activation code.

    +
    +
    +
    +
    +
    + +
    +
    +list_clusters()[source]
    +

    List clusters registered with the license service.

    +
    +
    Returns
    +
    +
    List[license_proto.ClusterStatus]

    A list of protobuf objects that return info on a cluster.

    +
    +
    +
    +
    +
    + +
    +
    +list_user_clusters()[source]
    +

    Lists all clusters available to user.

    +
    +
    Returns
    +
    +
    List[license_proto.UserClusterInfo]

    A list of protobuf objects that return info on clusters +available to the users.

    +
    +
    +
    +
    +
    + +
    +
    +update_cluster(id, address, user_address=None, cluster_deployment_id=None)[source]
    +

    Update a cluster registered with the license service.

    +
    +
    Parameters
    +
    +
    idstr

    The unique ID to identify the cluster.

    +
    +
    addressstr

    The public GRPC address for the license server to reach the cluster.

    +
    +
    user_addressstr, optional

    The pachd address for users to connect to.

    +
    +
    cluster_deployment_idstr, optional

    The deployment ID value generated by each cluster.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    PFS mixin

    +
    +
    +class ModifyFileClient(commit)[source]
    +

    ModifyFileClient puts or deletes PFS files atomically. +Replaces PutFileClient from python_pachyderm 6.x.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + +

    copy_file(source_commit, source_path, dest_path)

    Copy a file.

    delete_file(path[, datum])

    Deletes a file.

    put_file_from_bytes(path, value[, datum, append])

    Uploads a PFS file from a bytestring.

    put_file_from_fileobj(path, value[, datum, ...])

    Uploads a PFS file from a file-like object.

    put_file_from_filepath(pfs_path, local_path)

    Uploads a PFS file from a local path at a specified path.

    put_file_from_url(path, url[, datum, ...])

    Uploads a PFS File from the content found at a URL.

    +
    +
    +copy_file(source_commit, source_path, dest_path, datum=None, append=False)[source]
    +

    Copy a file.

    +
    +
    Parameters
    +
    +
    source_commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The commit the source file is in.

    +
    +
    source_pathstr

    The path to the source file.

    +
    +
    dest_pathstr

    The path to the destination file.

    +
    +
    datumstr, optional

    A tag for the added file.

    +
    +
    appendbool, optional

    If true, appends the content of the source file to the +destination file, if it already exists. Otherwise, overwrites +the file.

    +
    +
    +
    +
    +
    + +
    +
    +delete_file(path, datum=None)[source]
    +

    Deletes a file.

    +
    +
    Parameters
    +
    +
    pathstr

    The path to the file.

    +
    +
    datumstr, optional

    A tag that filters the files.

    +
    +
    +
    +
    +
    + +
    +
    +put_file_from_bytes(path, value, datum=None, append=False)[source]
    +

    Uploads a PFS file from a bytestring.

    +
    +
    Parameters
    +
    +
    pathstr

    The path in the repo the file will be written to.

    +
    +
    valueBinaryIO

    The file-like object.

    +
    +
    datumstr, optional

    A tag for the added file.

    +
    +
    appendbool, optional

    If true, appends the content of value to the file at path, +if it already exists. Otherwise, overwrites the file.

    +
    +
    +
    +
    +
    + +
    +
    +put_file_from_fileobj(path, value, datum=None, append=False)[source]
    +

    Uploads a PFS file from a file-like object.

    +
    +
    Parameters
    +
    +
    pathstr

    The path in the repo the file will be written to.

    +
    +
    valueBinaryIO

    The file-like object.

    +
    +
    datumstr, optional

    A tag for the added file.

    +
    +
    appendbool, optional

    If true, appends the content of value to the file at path, +if it already exists. Otherwise, overwrites the file.

    +
    +
    +
    +
    +
    + +
    +
    +put_file_from_filepath(pfs_path, local_path, datum=None, append=False)[source]
    +

    Uploads a PFS file from a local path at a specified path. This will +lazily open files, which will prevent too many files from being +opened, or too much memory being consumed, when atomically putting +many files.

    +
    +
    Parameters
    +
    +
    pfs_pathstr

    The path in the repo the file will be written to.

    +
    +
    local_pathstr

    The local file path.

    +
    +
    datumstr, optional

    A tag for the added file.

    +
    +
    appendbool, optional

    If true, appends the content of local_path to the file at +pfs_path, if it already exists. Otherwise, overwrites the file.

    +
    +
    +
    +
    +
    + +
    +
    +put_file_from_url(path, url, datum=None, append=False, recursive=False)[source]
    +

    Uploads a PFS File from the content found at a URL. The URL is +sent to the server which performs the request.

    +
    +
    Parameters
    +
    +
    pathstr

    The path in the repo the file will be written to.

    +
    +
    urlstr

    The URL of the file to upload.

    +
    +
    datumstr, optional

    A tag for the added file.

    +
    +
    appendbool, optional

    If true, appends the content to the file at path, if it +already exists. Otherwise, overwrites the file.

    +
    +
    recursivebool, optional

    If true, allows for recursive scraping on some types URLs, for +example on s3:// URLs

    +
    +
    +
    +
    +
    + +
    + +
    +
    +class PFSFile(stream, is_tar=False)[source]
    +

    File-like objects containing content of a file stored in PFS.

    +

    Examples

    +
    >>> # client.get_file() returns a PFSFile
    +>>> source_file = client.get_file(("montage", "master"), "/montage.png")
    +>>> with open("montage.png", "wb") as dest_file:
    +>>>     shutil.copyfileobj(source_file, dest_file)
    +...
    +>>> with client.get_file(("montage", "master"), "/montage2.png") as f:
    +>>>     content = f.read()
    +
    +
    +

    Methods

    + ++++ + + + + + + + + +

    close()

    Closes the PFSFile.

    read([size])

    Reads from the PFSFile buffer.

    +
    +
    +close()[source]
    +

    Closes the PFSFile.

    +
    + +
    +
    +read(size=- 1)[source]
    +

    Reads from the PFSFile buffer.

    +
    +
    Parameters
    +
    +
    sizeint, optional

    If set, the number of bytes to read from the buffer.

    +
    +
    +
    +
    Returns
    +
    +
    bytes

    Content from the stream.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +class PFSMixin[source]
    +

    A mixin with pfs-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    commit(repo_name, branch[, parent, description])

    A context manager for running operations within a commit.

    copy_file(source_commit, source_path, ...[, ...])

    Efficiently copies files already in PFS.

    create_branch(repo_name, branch_name[, ...])

    Creates a new branch.

    create_repo(repo_name[, description, update])

    Creates a new repo object in PFS with the given name.

    delete_all_repos()

    Deletes all repos.

    delete_branch(repo_name, branch_name[, force])

    Deletes a branch, but leaves the commits themselves intact.

    delete_file(commit, path)

    Deletes a file from an open commit.

    delete_repo(repo_name[, force])

    Deletes a repo and reclaims the storage space it was using.

    diff_file(new_commit, new_path[, ...])

    Diffs two PFS files (file = commit + path in Pachyderm) and returns files that are different.

    drop_commit(commit_id)

    Drops an entire commit.

    finish_commit(commit[, description, error, ...])

    Ends the process of committing data to a repo and persists the commit.

    fsck([fix])

    Performs a file system consistency check on PFS, ensuring the correct provenance relationships are satisfied.

    get_file(commit, path[, datum, URL, offset])

    Gets a file from PFS.

    get_file_tar(commit, path[, datum, URL, offset])

    Gets a file from PFS.

    glob_file(commit, pattern)

    Lists files that match a glob pattern.

    inspect_branch(repo_name, branch_name)

    Inspects a branch.

    inspect_commit(commit[, commit_state])

    Inspects a commit.

    inspect_file(commit, path[, datum])

    Inspects a file.

    inspect_repo(repo_name)

    Inspects a repo.

    list_branch(repo_name[, reverse])

    Lists the active branch objects in a repo.

    list_commit([repo_name, to_commit, ...])

    Lists commits.

    list_file(commit, path[, datum, details])

    Lists the files in a directory.

    list_repo([type])

    Lists all repos in PFS.

    modify_file_client(commit)

    A context manager that gives a ModifyFileClient.

    mount(mount_dir[, repos])

    Mounts Pachyderm repos locally.

    path_exists(commit, path)

    Checks whether the path exists in the specified commit, agnostic to whether path is a file or a directory.

    put_file_bytes(commit, path, value[, datum, ...])

    Uploads a PFS file from a file-like object, bytestring, or iterator of bytestrings.

    put_file_url(commit, path, url[, recursive, ...])

    Uploads a PFS file using the content found at a URL.

    squash_commit(commit_id)

    Squashes a commit into its parent.

    start_commit(repo_name, branch[, parent, ...])

    Begins the process of committing data to a repo.

    subscribe_commit(repo_name, branch[, ...])

    Returns all commits on the branch and then listens for new commits that are created.

    unmount([mount_dir, all_mounts])

    Unmounts mounted local filesystems with Pachyderm repos.

    wait_commit(commit)

    Waits for the specified commit to finish.

    walk_file(commit, path[, datum])

    Walks over all descendant files in a directory.

    +
    +
    +commit(repo_name, branch, parent=None, description=None)[source]
    +

    A context manager for running operations within a commit.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    branch_namestr

    A string specifying the branch.

    +
    +
    parentUnion[str, tuple, dict, Commit, pfs_proto.Commit], optional

    A commit specifying the parent of the newly created commit. Upon +creation, before data is modified, the new commit will appear +identical to the parent.

    +
    +
    descriptionstr, optional

    A description of the commit.

    +
    +
    +
    +
    Yields
    +
    +
    pfs_proto.Commit

    A protobuf object that represents a commit.

    +
    +
    +
    +
    +

    Examples

    +
    >>> with client.commit("foo", "master") as c:
    +>>>     client.delete_file(c, "/dir/delete_me.txt")
    +>>>     client.put_file_bytes(c, "/new_file.txt", b"DATA")
    +
    +
    +
    + +
    +
    +copy_file(source_commit, source_path, dest_commit, dest_path, datum=None, append=False)[source]
    +

    Efficiently copies files already in PFS. Note that the destination +repo cannot be an output repo, or the copy operation will silently +fail.

    +
    +
    Parameters
    +
    +
    source_commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) which holds the source +file.

    +
    +
    source_pathstr

    The path of the source file.

    +
    +
    dest_commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The open subcommit (commit at the repo-level) to which to add the +file.

    +
    +
    dest_pathstr

    The path of the destination file.

    +
    +
    datumstr, optional

    A tag for the added file.

    +
    +
    appendbool, optional

    If true, appends the content of source_path to the file at +dest_path, if it already exists. Otherwise, overwrites the file.

    +
    +
    +
    +
    +

    Examples

    +

    Destination commit needs to be open still, either from the result of +start_commit() or within scope of commit()

    +
    >>> with client.commit("bar", "master") as c:
    +>>>     client.copy_file(("foo", "master"), "/src/file.txt", c, "/file.txt")
    +
    +
    +
    + +
    +
    +create_branch(repo_name, branch_name, head_commit=None, provenance=None, trigger=None, new_commit=False)[source]
    +

    Creates a new branch.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    branch_namestr

    The name of the new branch.

    +
    +
    head_commitUnion[tuple, dict, Commit, pfs_proto.Commit], optional

    A subcommit (commit at repo-level) indicating the head of the +new branch.

    +
    +
    provenanceList[pfs_proto.Branch], optional

    A list of branches to establish provenance with this newly created +branch.

    +
    +
    triggerpfs_proto.Trigger, optional

    Sets the conditions under which the head of this branch moves.

    +
    +
    new_commitbool, optional

    If true and head_commit is specified, uses a different commit ID +for head than head_commit.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.create_branch(
    +...     "bar",
    +...     "master",
    +...     provenance=[
    +...         pfs_proto.Branch(
    +...             repo=pfs_proto.Repo(name="foo", type="user"), name="master"
    +...         )
    +...     ]
    +... )
    +
    +
    +
    + +
    +
    +create_repo(repo_name, description=None, update=False)[source]
    +

    Creates a new repo object in PFS with the given name. Repos are the +top level data object in PFS and should be used to store data of a +similar type. For example rather than having a single repo for an +entire project you might have separate repos for logs, metrics, +database dumps etc.

    +
    +
    Parameters
    +
    +
    repo_namestr

    Name of the repo.

    +
    +
    descriptionstr, optional

    Description of the repo.

    +
    +
    updatebool, optional

    Whether to update if the repo already exists.

    +
    +
    +
    +
    +
    + +
    +
    +delete_all_repos()[source]
    +

    Deletes all repos.

    +
    + +
    +
    +delete_branch(repo_name, branch_name, force=False)[source]
    +

    Deletes a branch, but leaves the commits themselves intact. In other +words, those commits can still be accessed via commit IDs and other +branches they happen to be on.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    branch_namestr

    The name of the branch.

    +
    +
    forcebool, optional

    If true, forces the branch deletion.

    +
    +
    +
    +
    +
    + +
    +
    +delete_file(commit, path)[source]
    +

    Deletes a file from an open commit. This leaves a tombstone in the +commit, assuming the file isn’t written to later while the commit is +still open. Attempting to get the file from the finished commit will +result in a not found error. The file will of course remain intact in +the commit’s parent.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The open subcommit (commit at the repo-level) to delete a file +from.

    +
    +
    pathstr

    The path to the file.

    +
    +
    +
    +
    +

    Examples

    +

    Commit needs to be open still, either from the result of +start_commit() or within scope of commit()

    +
    >>> with client.commit("bar", "master") as c:
    +>>>     client.delete_file(c, "/delete_me.txt")
    +
    +
    +
    + +
    +
    +delete_repo(repo_name, force=False)[source]
    +

    Deletes a repo and reclaims the storage space it was using.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    forcebool, optional

    If set to true, the repo will be removed regardless of errors. +Use with care.

    +
    +
    +
    +
    +
    + +
    +
    +diff_file(new_commit, new_path, old_commit=None, old_path=None, shallow=False)[source]
    +

    Diffs two PFS files (file = commit + path in Pachyderm) and returns +files that are different. Similar to git diff.

    +

    If old_commit or old_path are not specified, old_commit will be +set to the parent of new_commit and old_path will be set to +new_path.

    +
    +
    Parameters
    +
    +
    new_commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The newer subcommit (commit at the repo-level).

    +
    +
    new_pathstr

    The path in new_commit to compare with.

    +
    +
    old_commitUnion[tuple, dict, Commit, pfs_proto.Commit], optional

    The older subcommit (commit at the repo-level).

    +
    +
    old_pathstr, optional

    The path in old_commit to compare with.

    +
    +
    shallowbool, optional

    Unused.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.DiffFileResponse]

    An iterator of protobuf objects that contain info on files whose +content has changed between commits. If a file under one of the +paths is only in one commit, than the DiffFileResponse for it +will only have one FileInfo set.

    +
    +
    +
    +
    +

    Examples

    +
    >>> # Compare files
    +>>> res = client.diff_file(
    +...     ("foo", "master"),
    +...     "/a/file.txt",
    +...     ("foo", "master~2"),
    +...     "/a/file.txt"
    +... )
    +>>> diff = next(res)
    +...
    +>>> # Compare files in directories
    +>>> res = client.diff_file(
    +...     ("foo", "master"),
    +...     "/a/",
    +...     ("foo", "master~2"),
    +...     "/a/"
    +... )
    +>>> diff = next(res)
    +
    +
    +
    + +
    +
    +drop_commit(commit_id)[source]
    +

    Drops an entire commit.

    +
    +
    Parameters
    +
    +
    commit_idstr

    The ID of the commit.

    +
    +
    +
    +
    +
    + +
    +
    +finish_commit(commit, description=None, error=None, force=False)[source]
    +

    Ends the process of committing data to a repo and persists the +commit. Once a commit is finished the data becomes immutable and +future attempts to write to it with ModifyFile will error.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) object to close.

    +
    +
    descriptionstr, optional

    A description of the commit. It will overwrite the description set +in start_commit().

    +
    +
    errorstr, optional

    If set, a message that errors out the commit. Don’t use unless you +want the finish commit request to fail.

    +
    +
    forcebool, optional

    If true, forces commit to finish, even if it breaks provenance.

    +
    +
    +
    +
    +

    Examples

    +

    Commit needs to be open still, either from the result of +start_commit() or within scope of commit()

    +
    >>> client.start_commit("foo", "master")
    +>>> # modify open commit
    +>>> client.finish_commit(("foo", "master))
    +...
    +>>> # same as above
    +>>> c = client.start_commit("foo", "master")
    +>>> # modify open commit
    +>>> client.finish_commit(c)
    +
    +
    +
    + +
    +
    +fsck(fix=False)[source]
    +

    Performs a file system consistency check on PFS, ensuring the +correct provenance relationships are satisfied.

    +
    +
    Parameters
    +
    +
    fixbool, optional

    If true, attempts to fix as many problems as possible.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.FsckResponse]

    An iterator of protobuf objects that contain info on either what +error was encountered (and was unable to be fixed, if fix is set +to True) or a fix message (if fix is set to True).

    +
    +
    +
    +
    +

    Examples

    +
    >>> for action in client.fsck(True):
    +>>>     print(action)
    +
    +
    +
    + +
    +
    +get_file(commit, path, datum=None, URL=None, offset=0)[source]
    +

    Gets a file from PFS.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to get the file from.

    +
    +
    pathstr

    The path of the file.

    +
    +
    datumstr, optional

    A tag that filters the files.

    +
    +
    URLstr, optional

    Specifies an object storage URL that the file will be uploaded to.

    +
    +
    offsetint, optional

    Allows file read to begin at offset number of bytes.

    +
    +
    +
    +
    Returns
    +
    +
    PFSFile

    The contents of the file in a file-like object.

    +
    +
    +
    +
    +
    + +
    +
    +get_file_tar(commit, path, datum=None, URL=None, offset=0)[source]
    +

    Gets a file from PFS.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to get the file from.

    +
    +
    pathstr

    The path of the file.

    +
    +
    datumstr, optional

    A tag that filters the files.

    +
    +
    URLstr, optional

    Specifies an object storage URL that the file will be uploaded to.

    +
    +
    offsetint, optional

    Allows file read to begin at offset number of bytes.

    +
    +
    +
    +
    Returns
    +
    +
    PFSFile

    The contents of the file in a file-like object.

    +
    +
    +
    +
    +
    + +
    +
    +glob_file(commit, pattern)[source]
    +

    Lists files that match a glob pattern.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to query against.

    +
    +
    patternstr

    A glob pattern.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.FileInfo]

    An iterator of protobuf objects that contain info on files.

    +
    +
    +
    +
    +

    Examples

    +
    >>> files = list(client.glob_file(("foo", "master"), "/*.txt"))
    +
    +
    +
    + +
    +
    +inspect_branch(repo_name, branch_name)[source]
    +

    Inspects a branch.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    branch_namestr

    The name of the branch.

    +
    +
    +
    +
    Returns
    +
    +
    pfs_proto.BranchInfo

    A protobuf object with info on a branch.

    +
    +
    +
    +
    +
    + +
    +
    +inspect_commit(commit, commit_state=CommitState.STARTED)[source]
    +

    Inspects a commit.

    +
    +
    Parameters
    +
    +
    commitUnion[str, tuple, dict, Commit, pfs_proto.Commit]

    The commit to inspect. Can either be a commit ID or a commit object +that represents a subcommit (commit at the repo-level).

    +
    +
    commit_state{pfs_proto.CommitState.STARTED, pfs_proto.CommitState.READY, pfs_proto.CommitState.FINISHING, pfs_proto.CommitState.FINISHED}, optional

    An enum that causes the method to block until the commit is in the +specified state. (Default value = pfs_proto.CommitState.STARTED)

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.CommitInfo]

    An iterator of protobuf objects that contain info on a subcommit +(commit at the repo-level).

    +
    +
    +
    +
    +

    Examples

    +
    >>> # commit at repo-level
    +>>> list(client.inspect_commit(("foo", "master~2")))
    +...
    +>>> # an entire commit
    +>>> for commit in client.inspect_commit("467c580611234cdb8cc9758c7aa96087", pfs_proto.CommitState.FINISHED)
    +>>>     print(commit)
    +
    +
    +
    + +
    +
    +inspect_file(commit, path, datum=None)[source]
    +

    Inspects a file.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to inspect the file from.

    +
    +
    pathstr

    The path of the file.

    +
    +
    datumstr, optional

    A tag that filters the files.

    +
    +
    +
    +
    Returns
    +
    +
    pfs_proto.FileInfo

    A protobuf object that contains info on a file.

    +
    +
    +
    +
    +
    + +
    +
    +inspect_repo(repo_name)[source]
    +

    Inspects a repo.

    +
    +
    Parameters
    +
    +
    repo_namestr

    Name of the repo.

    +
    +
    +
    +
    Returns
    +
    +
    pfs_proto.RepoInfo

    A protobuf object with info on the repo.

    +
    +
    +
    +
    +
    + +
    +
    +list_branch(repo_name, reverse=False)[source]
    +

    Lists the active branch objects in a repo.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    reversebool, optional

    If true, returns branches oldest to newest.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.BranchInfo]

    An iterator of protobuf objects that contain info on a branch.

    +
    +
    +
    +
    +

    Examples

    +
    >>> branches = list(client.list_branch("foo"))
    +
    +
    +
    + +
    +
    +list_commit(repo_name=None, to_commit=None, from_commit=None, number=None, reverse=False, all=False, origin_kind=OriginKind.USER)[source]
    +

    Lists commits.

    +
    +
    Parameters
    +
    +
    repo_namestr, optional

    The name of a repo. If set, returns subcommits (commit at +repo-level) only in this repo.

    +
    +
    to_commitUnion[tuple, dict, Commit, pfs_proto.Commit], optional

    A subcommit (commit at repo-level) that only impacts results if +repo_name is specified. If set, only the ancestors of +to_commit, including to_commit, are returned.

    +
    +
    from_commitUnion[tuple, dict, Commit, pfs_proto.Commit], optional

    A subcommit (commit at repo-level) that only impacts results if +repo_name is specified. If set, only the descendants of +from_commit, including from_commit, are returned.

    +
    +
    numberint, optional

    The number of subcommits to return. If unset, all subcommits that +matched the aforementioned criteria are returned. Only impacts +results if repo_name is specified.

    +
    +
    reversebool, optional

    If true, returns the subcommits oldest to newest. Only impacts +results if repo_name is specified.

    +
    +
    allbool, optional

    If true, returns all types of subcommits. Otherwise, alias +subcommits are excluded. Only impacts results if repo_name is +specified.

    +
    +
    origin_kind{pfs_proto.OriginKind.USER, pfs_proto.OriginKind.AUTO, pfs_proto.OriginKind.FSCK, pfs_proto.OriginKind.ALIAS}, optional

    An enum that specifies how a subcommit originated. Returns only +subcommits of this enum type. Only impacts results if repo_name +is specified.

    +
    +
    +
    +
    Returns
    +
    +
    Union[Iterator[pfs_proto.CommitInfo], Iterator[pfs_proto.CommitSetInfo]]

    An iterator of protobuf objects that either contain info on a +subcommit (commit at the repo-level), if repo_name was specified, +or a commit, if repo_name wasn’t specified.

    +
    +
    +
    +
    +

    Examples

    +
    >>> # all commits at repo-level
    +>>> for c in client.list_commit("foo"):
    +>>>     print(c)
    +...
    +>>> # all commits
    +>>> commits = list(client.list_commit())
    +
    +
    +
    + +
    +
    +list_file(commit, path, datum=None, details=False)[source]
    +

    Lists the files in a directory.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to list files from.

    +
    +
    pathstr

    The path to the directory.

    +
    +
    datumstr, optional

    A tag that filters the files.

    +
    +
    detailsbool, optional

    Unused.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.FileInfo]

    An iterator of protobuf objects that contain info on files.

    +
    +
    +
    +
    +

    Examples

    +
    >>> files = list(client.list_file(("foo", "master"), "/dir/subdir/"))
    +
    +
    +
    + +
    +
    +list_repo(type='user')[source]
    +

    Lists all repos in PFS.

    +
    +
    Parameters
    +
    +
    typestr, optional

    The type of repos that should be returned (“user”, “meta”, “spec”). +If unset, returns all types of repos.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.RepoInfo]

    An iterator of protobuf objects that contain info on a repo.

    +
    +
    +
    +
    +
    + +
    +
    +modify_file_client(commit)[source]
    +

    A context manager that gives a ModifyFileClient. When the +context manager exits, any operations enqueued from the +ModifyFileClient are executed in a single, atomic +ModifyFile gRPC call.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    A subcommit (commit at the repo-level) to modify. If this subcommit +is opened before modify_file_client() is called, it will remain +open after. If modify_file_client() opens the subcommit, it +will close when exiting the with scope.

    +
    +
    +
    +
    Yields
    +
    +
    ModifyFileClient

    An object that can queue operations to modify a commit atomically.

    +
    +
    +
    +
    +

    Examples

    +

    On an open subcommit:

    +
    >>> c = client.start_commit("foo", "master")
    +>>> with client.modify_file_client(c) as mfc:
    +>>>     mfc.delete_file("/delete_me.txt")
    +>>>     mfc.put_file_from_url(
    +...         "/new_file.txt",
    +...         "https://example.com/data/train/input.txt"
    +...     )
    +>>> client.finish_commit(c)
    +
    +
    +

    Opening a subcommit:

    +
    >>> with client.modify_file_client(("foo", "master")) as mfc:
    +>>>     mfc.delete_file("/delete_me.txt")
    +>>>     mfc.put_file_from_url(
    +...         "/new_file.txt",
    +...         "https://example.com/data/train/input.txt"
    +...     )
    +
    +
    +
    + +
    +
    +mount(mount_dir, repos=[])[source]
    +

    Mounts Pachyderm repos locally.

    +
    +
    Parameters
    +
    +
    mount_dirstr

    The directory to mount repos to. Make sure if this folder already +exists that it’s empty (including hidden files).

    +
    +
    reposList[str], optional

    The repos to mount. Each repo can only be mounted once, even if +multiple branches are passed. If empty, all repos are mounted.

    +
    +
    +
    +
    +

    Notes

    +

    Mounting uses FUSE, which causes some known issues on macOS. For the +best experience, we recommend using mount on Linux. We do not support +mounting on macOS 1.11 and later.

    +

    Additionally, we recommend using mount in read-only access.

    +

    Examples

    +
    >>> client.mount("dir_a", ["repo1", "repo2@staging"])
    +
    +
    +
    + +
    +
    +path_exists(commit, path)[source]
    +

    Checks whether the path exists in the specified commit, agnostic to +whether path is a file or a directory.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to check in.

    +
    +
    pathstr

    The file or directory path in commit.

    +
    +
    +
    +
    Returns
    +
    +
    bool

    Returns True if path exists in commit. Otherwise, returns +False.

    +
    +
    +
    +
    +
    + +
    +
    +put_file_bytes(commit, path, value, datum=None, append=False)[source]
    +

    Uploads a PFS file from a file-like object, bytestring, or iterator +of bytestrings.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    An open subcommit (commit at the repo-level) to modify.

    +
    +
    pathstr

    The path in the repo the file(s) will be written to.

    +
    +
    valueUnion[bytes, BinaryIO]

    The file contents as bytes, represented as a file-like object, +bytestring, or iterator of bystrings.

    +
    +
    datumstr, optional

    A tag for the added file(s).

    +
    +
    appendbool, optional

    If true, appends the data to the file(s) specified at path, if +they already exist. Otherwise, overwrites them.

    +
    +
    +
    +
    +

    Examples

    +

    Commit needs to be open still, either from the result of +start_commit() or within scope of commit()

    +
    >>> with client.commit("foo", "master") as c:
    +>>>     client.put_file_bytes(c, "/file.txt", b"SOME BYTES")
    +
    +
    +
    + +
    +
    +put_file_url(commit, path, url, recursive=False, datum=None, append=False)[source]
    +

    Uploads a PFS file using the content found at a URL. The URL is sent +to the server which performs the request.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    An open subcommit (commit at the repo-level) to modify.

    +
    +
    pathstr

    The path in the repo the file(s) will be written to.

    +
    +
    urlstr

    The URL of the file to put.

    +
    +
    recursivebool, optional

    If true, allows for recursive scraping on some types URLs, for +example on s3:// URLs

    +
    +
    datumstr, optional

    A tag for the added file(s).

    +
    +
    appendbool, optional

    If true, appends the data to the file(s) specified at path, if +they already exist. Otherwise, overwrites them.

    +
    +
    +
    +
    +

    Examples

    +

    Commit needs to be open still, either from the result of +start_commit() or within scope of commit()

    +
    >>> with client.commit("foo", "master") as c:
    +>>>     client.put_file_url(
    +...         c,
    +...         "/file.txt",
    +...         "https://example.com/data/train/input.txt"
    +...     )
    +
    +
    +
    + +
    +
    +squash_commit(commit_id)[source]
    +

    Squashes a commit into its parent.

    +
    +
    Parameters
    +
    +
    commit_idstr

    The ID of the commit.

    +
    +
    +
    +
    +
    + +
    +
    +start_commit(repo_name, branch, parent=None, description=None)[source]
    +

    Begins the process of committing data to a repo. Once started you +can write to the commit with ModifyFile. When all the data has been +written, you must finish the commit with FinishCommit. NOTE: data is +not persisted until FinishCommit is called.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    branch_namestr

    A string specifying the branch.

    +
    +
    parentUnion[str, tuple, dict, Commit, pfs_proto.Commit], optional

    A commit specifying the parent of the newly created commit. Upon +creation, before data is modified, the new commit will appear +identical to the parent.

    +
    +
    descriptionstr, optional

    A description of the commit.

    +
    +
    +
    +
    Returns
    +
    +
    pfs_proto.Commit

    A protobuf object that represents an open subcommit (commit at the +repo-level).

    +
    +
    +
    +
    +

    Examples

    +
    >>> c = client.start_commit("foo", "master", ("foo", "staging"))
    +
    +
    +
    + +
    +
    +subscribe_commit(repo_name, branch, from_commit=None, state=CommitState.STARTED, all=False, origin_kind=OriginKind.USER)[source]
    +

    Returns all commits on the branch and then listens for new commits +that are created.

    +
    +
    Parameters
    +
    +
    repo_namestr

    The name of the repo.

    +
    +
    branchstr

    The name of the branch.

    +
    +
    from_commitUnion[str, tuple, dict, Commit, pfs_proto.Commit], optional

    Return commits only from this commit and onwards. Can either be an +entire commit or a subcommit (commit at the repo-level).

    +
    +
    state{pfs_proto.CommitState.STARTED, pfs_proto.CommitState.READY, pfs_proto.CommitState.FINISHING, pfs_proto.CommitState.FINISHED}, optional

    Return commits only when they’re at least in the specifed enum +state. (Default value = pfs_proto.CommitState.STARTED)

    +
    +
    allbool, optional

    If true, returns all types of commits. Otherwise, alias commits are +excluded.

    +
    +
    origin_kind{pfs_proto.OriginKind.USER, pfs_proto.OriginKind.AUTO, pfs_proto.OriginKind.FSCK, pfs_proto.OriginKind.ALIAS}, optional

    An enum that specifies how a commit originated. Returns only +commits of this enum type. (Default value = pfs_proto.OriginKind.USER)

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.CommitInfo]

    An iterator of protobuf objects that contain info on subcommits +(commits at the repo-level). Use next() to iterate through as +the returned stream is potentially endless. Might block your code +otherwise.

    +
    +
    +
    +
    +

    Examples

    +
    >>> commits = client.subscribe_commit("foo", "master", state=pfs_proto.CommitState.FINISHED)
    +>>> c = next(commits)
    +
    +
    +
    + +
    +
    +unmount(mount_dir=None, *, all_mounts=False)[source]
    +

    Unmounts mounted local filesystems with Pachyderm repos.

    +
    +
    Parameters
    +
    +
    mount_dirstr, optional

    The mounted directory to unmount.

    +
    +
    all_mountsbool, optional

    If True, unmounts all mounted directories.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.unmount("dir_a")
    +...
    +>>> client.unmount(all_mounts=True)
    +
    +
    +
    + +
    +
    +wait_commit(commit)[source]
    +

    Waits for the specified commit to finish.

    +
    +
    Parameters
    +
    +
    commitUnion[str, tuple, dict, Commit, pfs_proto.Commit]

    A commit object to wait on. Can either be an entire commit or a +subcommit (commit at the repo-level).

    +
    +
    +
    +
    Returns
    +
    +
    List[pfs_proto.CommitInfo]

    A list of protobuf objects that contain info on subcommits (commit +at the repo-level). These are the individual subcommits this +function waited on.

    +
    +
    +
    +
    +

    Examples

    +
    >>> # wait for an entire commit to finish
    +>>> subcommits = client.wait_commit("467c580611234cdb8cc9758c7aa96087")
    +...
    +>>> # wait for a commit to finish at a certain repo
    +>>> client.wait_commit(("foo", "master"))
    +
    +
    +
    + +
    +
    +walk_file(commit, path, datum=None)[source]
    +

    Walks over all descendant files in a directory.

    +
    +
    Parameters
    +
    +
    commitUnion[tuple, dict, Commit, pfs_proto.Commit]

    The subcommit (commit at the repo-level) to walk files in.

    +
    +
    pathstr

    The path to the directory.

    +
    +
    datumstr, optional

    A tag that filters the files.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pfs_proto.FileInfo]

    An iterator of protobuf objects that contain info on files.

    +
    +
    +
    +
    +

    Examples

    +
    >>> files = list(client.walk_file(("foo", "master"), "/dir/subdir/"))
    +
    +
    +
    + +
    + +
    +
    +

    PPS mixin

    +
    +
    +class PPSMixin[source]
    +

    A mixin for pps-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    create_pipeline(pipeline_name, transform[, ...])

    Creates a pipeline.

    create_pipeline_from_request(req)

    Creates a pipeline from a CreatePipelineRequest object.

    create_secret(secret_name, data[, labels, ...])

    Creates a new secret.

    delete_all_pipelines()

    Deletes all pipelines.

    delete_job(job_id, pipeline_name)

    Deletes a subjob (job at the pipeline-level).

    delete_pipeline(pipeline_name[, force, ...])

    Deletes a pipeline.

    delete_secret(secret_name)

    Deletes a secret.

    get_job_logs(pipeline_name, job_id[, ...])

    Gets logs for a job.

    get_pipeline_logs(pipeline_name[, ...])

    Gets logs for a pipeline.

    inspect_datum(pipeline_name, job_id, datum_id)

    Inspects a datum.

    inspect_job(job_id[, pipeline_name, wait, ...])

    Inspects a job.

    inspect_pipeline(pipeline_name[, history, ...])

    inspect_secret(secret_name)

    Inspects a secret.

    list_datum([pipeline_name, job_id, input])

    Lists datums.

    list_job([pipeline_name, input_commit, ...])

    Lists jobs.

    list_pipeline([history, details, jqFilter])

    list_secret()

    Lists secrets.

    restart_datum(pipeline_name, job_id[, ...])

    Restarts a datum.

    run_cron(pipeline_name)

    Triggers a cron pipeline to run now.

    start_pipeline(pipeline_name)

    Starts a pipeline.

    stop_job(job_id, pipeline_name[, reason])

    Stops a subjob (job at the pipeline-level).

    stop_pipeline(pipeline_name)

    Stops a pipeline.

    +
    +
    +create_pipeline(pipeline_name, transform, parallelism_spec=None, egress=None, reprocess_spec=None, update=False, output_branch_name=None, s3_out=False, resource_requests=None, resource_limits=None, sidecar_resource_limits=None, input=None, description=None, reprocess=False, service=None, datum_set_spec=None, datum_timeout=None, job_timeout=None, salt=None, datum_tries=3, scheduling_spec=None, pod_patch=None, spout=None, spec_commit=None, metadata=None, autoscaling=False)[source]
    +

    Creates a pipeline.

    +

    For info on the params, please refer to the pipeline spec document: +http://docs.pachyderm.io/en/latest/reference/pipeline_spec.html

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The pipeline name.

    +
    +
    transformpps_proto.Transform

    The image and commands run during pipeline execution.

    +
    +
    parallelism_specpps_proto.ParallelismSpec, optional

    Specifies how the pipeline is parallelized.

    +
    +
    egresspps_proto.Egress, optional

    An external data store to publish the results of the pipeline to.

    +
    +
    reprocess_specstr, optional

    Specifies how to handle already-processed datums.

    +
    +
    updatebool, optional

    If true, updates the existing pipeline with new args.

    +
    +
    output_branch_namestr, optional

    The branch name to output results on.

    +
    +
    s3_outbool, optional

    If true, the output repo is exposed as an S3 gateway bucket.

    +
    +
    resource_requestspps_proto.ResourceSpec, optional

    The amount of resources that the pipeline workers will consume.

    +
    +
    resource_limits: pps_proto.ResourceSpec, optional

    The upper threshold of allowed resources a given worker can +consume. If a worker exceeds this value, it will be evicted.

    +
    +
    sidecar_resource_limitspps_proto.ResourceSpec, optional

    The upper threshold of resources allocated to the sidecar +containers.

    +
    +
    inputpps_proto.Input, optional

    The input repos to the pipeline. Commits to these repos will +automatically trigger the pipeline to create new jobs to +process them.

    +
    +
    descriptionstr, optional

    A description of the pipeline.

    +
    +
    reprocessbool, optional

    If true, forces the pipeline to reprocess all datums. Only has +meaning if update is True.

    +
    +
    servicepps_proto.Service, optional

    Creates a Service pipeline instead of a normal pipeline.

    +
    +
    datum_set_specpps_proto.DatumSetSpec, optional

    Specifies how a pipeline should split its datums into datum sets.

    +
    +
    datum_timeoutdatetime.timedelta, optional

    The maximum execution time allowed for each datum.

    +
    +
    job_timeoutdatetime.timedelta, optional

    The maximum execution time allowed for a job.

    +
    +
    saltstr, optional

    A tag for the pipeline.

    +
    +
    datum_triesint, optional

    The number of times a job attempts to run on a datum when a failure +occurs.

    +
    +
    scheduling_specpps_proto.SchedulingSpec, optional

    Specifies how the pods for a pipeline should be scheduled.

    +
    +
    pod_patchstr, optional

    Allows one to set fields in the pod spec that haven’t been +explicitly exposed in the rest of the pipeline spec.

    +
    +
    spoutpps_proto.Spout, optional

    Creates a Spout pipeline instead of a normal pipeline.

    +
    +
    spec_commitpfs_proto.Commit, optional

    A spec commit to base the pipeline spec from.

    +
    +
    metadatapps_proto.Metadata, optional

    Kubernetes labels and annotations to add as metadata to the +pipeline pods.

    +
    +
    autoscalingbool, optional

    If true, automatically scales the worker pool based on the datums +it has to process.

    +
    +
    +
    +
    +

    Notes

    +

    If creating a Spout pipeline, when committing data to the repo, use +commit methods (client.commit(), client.start_commit(), etc.) +or ModifyFileClient methods (mfc.put_file_from_bytes, +mfc.delete_file(), etc.)

    +

    For other pipelines, when committing data to the repo, write out to +/pfs/out/.

    +

    Examples

    +
    >>> client.create_pipeline(
    +...     "foo",
    +...     transform=pps_proto.Transform(
    +...         cmd=["python3", "main.py"],
    +...         image="example/image",
    +...     ),
    +...     input=pps_proto.Input(pfs=pps_proto.PfsInput(
    +...         repo="foo",
    +...         branch="master",
    +...         glob="/*"
    +...     ))
    +... )
    +
    +
    +
    + +
    +
    +create_pipeline_from_request(req)[source]
    +

    Creates a pipeline from a CreatePipelineRequest object. Usually +used in conjunction with util.parse_json_pipeline_spec() or +util.parse_dict_pipeline_spec().

    +
    +
    Parameters
    +
    +
    reqpps_proto.CreatePipelineRequest

    The CreatePipelineRequest object.

    +
    +
    +
    +
    +
    + +
    +
    +create_secret(secret_name, data, labels=None, annotations=None)[source]
    +

    Creates a new secret.

    +
    +
    Parameters
    +
    +
    secret_namestr

    The name of the secret.

    +
    +
    dataDict[str, Union[str, bytes]]

    The data to store in the secret. Each key must consist of +alphanumeric characters -, _ or ..

    +
    +
    labelsDict[str, str], optional

    Kubernetes labels to attach to the secret.

    +
    +
    annotationsDict[str, str], optional

    Kubernetes annotations to attach to the secret.

    +
    +
    +
    +
    +
    + +
    +
    +delete_all_pipelines()[source]
    +

    Deletes all pipelines.

    +
    + +
    +
    +delete_job(job_id, pipeline_name)[source]
    +

    Deletes a subjob (job at the pipeline-level).

    +
    +
    Parameters
    +
    +
    job_idstr

    The ID of the job.

    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    +
    +
    +
    + +
    +
    +delete_pipeline(pipeline_name, force=False, keep_repo=False)[source]
    +

    Deletes a pipeline.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    forcebool, optional

    If true, forces the pipeline deletion.

    +
    +
    keep_repobool, optional

    If true, keeps the output repo.

    +
    +
    +
    +
    +
    + +
    +
    +delete_secret(secret_name)[source]
    +

    Deletes a secret.

    +
    +
    Parameters
    +
    +
    secret_namestr

    The name of the secret.

    +
    +
    +
    +
    +
    + +
    +
    +get_job_logs(pipeline_name, job_id, data_filters=None, datum=None, follow=False, tail=0, use_loki_backend=False, since=None)[source]
    +

    Gets logs for a job.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    job_idstr

    The ID of the job.

    +
    +
    data_filtersList[str], optional

    A list of the names of input files from which we want processing +logs. This may contain multiple files, in case pipeline_name +contains multiple inputs. Each filter may be an absolute path of a +file within a repo, or it may be a hash for that file (to search +for files at specific versions).

    +
    +
    datumpps_proto.Datum, optional

    Filters log lines for the specified datum.

    +
    +
    followbool, optional

    If true, continue to follow new logs as they appear.

    +
    +
    tailint, optional

    If nonzero, the number of lines from the end of the logs to return. +Note: tail applies per container, so you will get +tail * <number of pods> total lines back.

    +
    +
    use_loki_backendbool, optional

    If true, use loki as a backend, rather than Kubernetes, for +fetching logs. Requires a loki-enabled cluster.

    +
    +
    sincedatetime.timedelta, optional

    Specifies how far in the past to return logs from.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pps_proto.LogMessage]

    An iterator of protobuf objects that contain info on a log from a +PPS worker. If follow is set to True, use next() to +iterate through as the returned stream is potentially endless. +Might block your code otherwise.

    +
    +
    +
    +
    +
    + +
    +
    +get_pipeline_logs(pipeline_name, data_filters=None, master=False, datum=None, follow=False, tail=0, use_loki_backend=False, since=None)[source]
    +

    Gets logs for a pipeline.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    data_filtersList[str], optional

    A list of the names of input files from which we want processing +logs. This may contain multiple files, in case pipeline_name +contains multiple inputs. Each filter may be an absolute path of a +file within a repo, or it may be a hash for that file (to search +for files at specific versions).

    +
    +
    masterbool, optional

    If true, includes logs from the master

    +
    +
    datumpps_proto.Datum, optional

    Filters log lines for the specified datum.

    +
    +
    followbool, optional

    If true, continue to follow new logs as they appear.

    +
    +
    tailint, optional

    If nonzero, the number of lines from the end of the logs to return. +Note: tail applies per container, so you will get +tail * <number of pods> total lines back.

    +
    +
    use_loki_backendbool, optional

    If true, use loki as a backend, rather than Kubernetes, for +fetching logs. Requires a loki-enabled cluster.

    +
    +
    sincedatetime.timedelta, optional

    Specifies how far in the past to return logs from.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pps_proto.LogMessage]

    An iterator of protobuf objects that contain info on a log from a +PPS worker. If follow is set to True, use next() to +iterate through as the returned stream is potentially endless. +Might block your code otherwise.

    +
    +
    +
    +
    +
    + +
    +
    +inspect_datum(pipeline_name, job_id, datum_id)[source]
    +

    Inspects a datum.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    job_idstr

    The ID of the job.

    +
    +
    datum_idstr

    The ID of the datum.

    +
    +
    +
    +
    Returns
    +
    +
    pps_proto.DatumInfo

    A protobuf object with info on the datum.

    +
    +
    +
    +
    +
    + +
    +
    +inspect_job(job_id, pipeline_name=None, wait=False, details=False)[source]
    +

    Inspects a job.

    +
    +
    Parameters
    +
    +
    job_idstr

    The ID of the job.

    +
    +
    pipeline_namestr, optional

    The name of a pipeline.

    +
    +
    waitbool, optional

    If true, wait until the job completes.

    +
    +
    detailsbool, optional

    If true, return worker details.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pps_proto.JobInfo]

    An iterator of protobuf objects that contain info on a subjob +(jobs at the pipeline-level).

    +
    +
    +
    +
    +

    Examples

    +
    >>> # Look at all subjobs in a job
    +>>> subjobs = list(client.inspect_job("467c580611234cdb8cc9758c7aa96087"))
    +...
    +>>> # Look at single subjob (job at the pipeline-level)
    +>>> subjob = list(client.inspect_job("467c580611234cdb8cc9758c7aa96087", "foo"))[0]
    +
    +
    +
    + +
    +
    +inspect_pipeline(pipeline_name, history=0, details=False)[source]
    +

    Inspects a pipeline.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    historyint, optional

    Indicates to return historical versions of pipeline_name. +Semantics are:

    +
      +
    • 0: Return current version of pipeline_name

    • +
    • 1: Return the above and pipeline_name from the next most recent version.

    • +
    • 2: etc.

    • +
    • -1: Return all historical versions of pipeline_name.

    • +
    +
    +
    detailsbool, optional

    If true, return pipeline details.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pps_proto.PipelineInfo]

    An iterator of protobuf objects that contain info on a pipeline.

    +
    +
    +
    +
    +

    Examples

    +
    >>> pipeline = next(client.inspect_pipeline("foo"))
    +...
    +>>> for p in client.inspect_pipeline("foo", 2):
    +>>>     print(p)
    +
    +
    +
    + +
    +
    +inspect_secret(secret_name)[source]
    +

    Inspects a secret.

    +
    +
    Parameters
    +
    +
    secret_namestr

    The name of the secret.

    +
    +
    +
    +
    Returns
    +
    +
    pps_proto.SecretInfo

    A protobuf object with info on the secret.

    +
    +
    +
    +
    +
    + +
    +
    +list_datum(pipeline_name=None, job_id=None, input=None)[source]
    +

    Lists datums. Exactly one of (pipeline_name, job_id) (real) or +input (hypothetical) must be set.

    +
    +
    Parameters
    +
    +
    pipeline_namestr, optional

    The name of the pipeline.

    +
    +
    job_idstr, optional

    The ID of a job.

    +
    +
    inputpps_proto.Input, optional

    A protobuf object that filters the datums returned. The datums +listed are ones that would be run if a pipeline was created with +the provided input.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pps_proto.DatumInfo]

    An iterator of protobuf objects that contain info on a datum.

    +
    +
    +
    +
    +

    Examples

    +
    >>> # See hypothetical datums with specified input cross
    +>>> datums = list(client.list_datum(input=pps_proto.Input(
    +...     pfs=pps_proto.PFSInput(repo="foo", branch="master", glob="/*"),
    +...     cross=[
    +...         pps_proto.Input(pfs=pps_proto.PFSInput(repo="bar", branch="master", glob="/")),
    +...         pps_proto.Input(pfs=pps_proto.PFSInput(repo="baz", branch="master", glob="/*/*")),
    +...     ]
    +... )))
    +
    +
    +
    + +
    +
    +list_job(pipeline_name=None, input_commit=None, history=0, details=False, jqFilter=None)[source]
    +

    Lists jobs.

    +
    +
    Parameters
    +
    +
    pipeline_namestr, optional

    The name of a pipeline. If set, returns subjobs (job at the +pipeline-level) only from this pipeline.

    +
    +
    input_commitUnion[tuple, dict, Commit, pfs_proto.Commit, List], optional

    A commit or list of commits from the input repo to filter jobs on. +Only impacts returned results if pipeline_name is specified.

    +
    +
    historyint, optional

    Indicates to return jobs from historical versions of +pipeline_name. Semantics are:

    +
      +
    • 0: Return jobs from the current version of pipeline_name

    • +
    • 1: Return the above and jobs from the next most recent version

    • +
    • 2: etc.

    • +
    • -1: Return jobs from all historical versions of pipeline_name

    • +
    +
    +
    detailsbool, optional

    If true, return pipeline details for pipeline_name. Leaving this +None (or False) can make the call significantly faster in +clusters with a large number of pipelines and jobs. Note that if +input_commit is valid, this field is coerced to True.

    +
    +
    jqFilterstr, optional

    A jq filter that can filter the list of jobs returned, only if +pipeline_name is provided.

    +
    +
    +
    +
    Returns
    +
    +
    Union[Iterator[pps_proto.JobInfo], Iterator[pps_proto.JobSetInfo]]

    An iterator of protobuf objects that either contain info on a +subjob (job at the pipeline-level), if pipeline_name was +specified, or a job, if pipeline_name wasn’t specified.

    +
    +
    +
    +
    +

    Examples

    +
    >>> # List all jobs
    +>>> jobs = list(client.list_job())
    +...
    +>>> # List all jobs at a pipeline-level
    +>>> subjobs = list(client.list_job("foo"))
    +
    +
    +
    + +
    +
    +list_pipeline(history=0, details=False, jqFilter=None)[source]
    +

    Lists pipelines.

    +
    +
    Parameters
    +
    +
    historyint, optional

    Indicates to return historical versions of pipeline_name. +Semantics are:

    +
      +
    • 0: Return current version of pipeline_name

    • +
    • 1: Return the above and pipeline_name from the next most recent version.

    • +
    • 2: etc.

    • +
    • -1: Return all historical versions of pipeline_name.

    • +
    +
    +
    detailsbool, optional

    If true, return pipeline details.

    +
    +
    jqFilterstr, optional

    A jq filter that can filter the list of pipelines returned.

    +
    +
    +
    +
    Returns
    +
    +
    Iterator[pps_proto.PipelineInfo]

    An iterator of protobuf objects that contain info on a pipeline.

    +
    +
    +
    +
    +

    Examples

    +
    >>> pipelines = list(client.list_pipeline())
    +
    +
    +
    + +
    +
    +list_secret()[source]
    +

    Lists secrets.

    +
    +
    Returns
    +
    +
    List[pps_proto.SecretInfo]

    A list of protobuf objects that contain info on a secret.

    +
    +
    +
    +
    +
    + +
    +
    +restart_datum(pipeline_name, job_id, data_filters=None)[source]
    +

    Restarts a datum.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    job_idstr

    The ID of the job.

    +
    +
    data_filtersList[str], optional

    A list of paths or hashes of datums that filter which datums are +restarted.

    +
    +
    +
    +
    +
    + +
    +
    +run_cron(pipeline_name)[source]
    +

    Triggers a cron pipeline to run now.

    +

    For more info on cron pipelines: +https://docs.pachyderm.com/latest/concepts/pipeline-concepts/pipeline/cron/

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    +
    +
    +
    + +
    +
    +start_pipeline(pipeline_name)[source]
    +

    Starts a pipeline.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    +
    +
    +
    + +
    +
    +stop_job(job_id, pipeline_name, reason=None)[source]
    +

    Stops a subjob (job at the pipeline-level).

    +
    +
    Parameters
    +
    +
    job_idstr

    The ID of the job.

    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    reasonstr, optional

    A reason for stopping the job.

    +
    +
    +
    +
    +
    + +
    +
    +stop_pipeline(pipeline_name)[source]
    +

    Stops a pipeline.

    +
    +
    Parameters
    +
    +
    pipeline_namestr

    The name of the pipeline.

    +
    +
    +
    +
    +
    + +
    + +
    +
    +

    Transaction mixin

    +
    +
    +class TransactionMixin[source]
    +

    A mixin for transaction-related functionality.

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

    batch_transaction(requests)

    Executes a batch transaction.

    delete_all_transactions()

    Deletes all transactions.

    delete_transaction(transaction)

    Deletes a transaction.

    finish_transaction(transaction)

    Finishes a transaction.

    inspect_transaction(transaction)

    Inspects a transaction.

    list_transaction()

    Lists unfinished transactions.

    start_transaction()

    Starts a transaction.

    transaction()

    A context manager for running operations within a transaction.

    +
    +
    +batch_transaction(requests)[source]
    +

    Executes a batch transaction.

    +
    +
    Parameters
    +
    +
    requestsList[transaction_proto.TransactionRequest]

    A list of TransactionRequest protobufs. Each protobuf must +only have one field set.

    +
    +
    +
    +
    Returns
    +
    +
    transaction_proto.TransactionInfo

    A protobuf object with info on the transaction.

    +
    +
    +
    +
    +

    Examples

    +
    >>> # Deletes one repo and creates a branch in another repo atomically
    +>>> client.batch_transaction([
    +    transaction_proto.TransactionRequest(delete_repo=pfs_proto.DeleteRepoRequest(repo=pfs_proto.Repo(name="foo"))),
    +    transaction_proto.TransactionRequest(create_branch=pfs_proto.CreateBranchRequest(branch=pfs_proto.Branch(
    +        repo=pfs_proto.Repo(name="bar", type="user"), name="staging"
    +    )))
    +])
    +
    +
    +
    + +
    +
    +delete_all_transactions()[source]
    +

    Deletes all transactions.

    +
    + +
    +
    +delete_transaction(transaction)[source]
    +

    Deletes a transaction.

    +
    +
    Parameters
    +
    +
    transactionUnion[str, transaction_proto.Transaction]

    The ID or protobuf object representing the transaction.

    +
    +
    +
    +
    +

    Examples

    +
    >>> client.delete_transaction("6fe754facd9c41e99d04e1037e3be9ee")
    +...
    +>>> transaction = client.finish_transaction("a3ak09467c580611234cdb8cc9758c7a")
    +>>> client.delete_transaction(transaction)
    +
    +
    +
    + +
    +
    +finish_transaction(transaction)[source]
    +

    Finishes a transaction.

    +
    +
    Parameters
    +
    +
    transactionUnion[str, transaction_proto.Transaction]

    The ID or protobuf object representing the transaction.

    +
    +
    +
    +
    Returns
    +
    +
    transaction_proto.TransactionInfo

    A protobuf object with info on the transaction.

    +
    +
    +
    +
    +

    Examples

    +
    >>> transaction = client.start_transaction()
    +>>> # do stuff
    +>>> client.finish_transaction(transaction)
    +
    +
    +
    + +
    +
    +inspect_transaction(transaction)[source]
    +

    Inspects a transaction.

    +
    +
    Parameters
    +
    +
    transactionUnion[str, transaction_proto.Transaction]

    The ID or protobuf object representing the transaction.

    +
    +
    +
    +
    Returns
    +
    +
    transaction_proto.TransactionInfo

    A protobuf object with info on the transaction.

    +
    +
    +
    +
    +

    Examples

    +
    >>> transaction = client.inspect_transaction("6fe754facd9c41e99d04e1037e3be9ee")
    +...
    +>>> transaction = client.inspect_transaction(transaction_protobuf)
    +
    +
    +
    + +
    +
    +list_transaction()[source]
    +

    Lists unfinished transactions.

    +
    +
    Returns
    +
    +
    List[transaction_proto.TransactionInfo]

    A list of protobuf objects that contain info on a transaction.

    +
    +
    +
    +
    +
    + +
    +
    +start_transaction()[source]
    +

    Starts a transaction.

    +
    +
    Returns
    +
    +
    transaction_proto.Transaction

    A protobuf object that represents the transaction.

    +
    +
    +
    +
    +

    Examples

    +
    >>> transaction = client.start_transaction()
    +>>> # do stuff
    +>>> client.finish_transaction(transaction)
    +
    +
    +
    + +
    +
    +transaction()[source]
    +

    A context manager for running operations within a transaction. When +the context manager completes, the transaction will be deleted if an +error occurred, or otherwise finished.

    +
    +
    Yields
    +
    +
    transaction_proto.Transaction

    A protobuf object that represents a transaction.

    +
    +
    +
    +
    +

    Examples

    +

    If a pipeline has two input repos, foo and bar, a transaction is +useful for adding data to both atomically before the pipeline runs +even once.

    +
    >>> with client.transaction() as t:
    +>>>     c1 = client.start_commit("foo", "master")
    +>>>     c2 = client.start_commit("bar", "master")
    +>>>
    +>>>     client.put_file_bytes(c1, "/joint_data.txt", b"DATA1")
    +>>>     client.put_file_bytes(c2, "/joint_data.txt", b"DATA2")
    +>>>
    +>>>     client.finish_commit(c1)
    +>>>     client.finish_commit(c2)
    +
    +
    +
    + +
    + +
    +
    +

    Version mixin

    +
    +
    +class VersionMixin[source]
    +

    A mixin for version-related functionality.

    +

    Methods

    + ++++ + + + + + +

    get_remote_version()

    Gets version of Pachyderm server.

    +
    +
    +get_remote_version()[source]
    +

    Gets version of Pachyderm server.

    +
    +
    Returns
    +
    +
    version_proto.Version

    A protobuf object with info on the pachd version.

    +
    +
    +
    +
    +
    + +
    + +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.html b/docs/build/html/python_pachyderm.experimental.proto.html new file mode 100644 index 00000000..84b23cd6 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.html @@ -0,0 +1,13001 @@ + + + + + + + Important — python-pachyderm documentation + + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    + +
    +
    +
    +
    + +
    +

    Important

    +

    These protos have been generated with the open-source library betterproto +(https://github.com/danielgtaylor/python-betterproto) rather than the google +protobuf library. These protos are more pythonic and easier to work with than +the google-generated protos.

    +

    To create a proto object, import the relevant module from +python_pachyderm.experimental.service +(i.e. from python_pachyderm.experimental.service import pfs_proto, auth_proto) +For using the docs to create the proto object, we recommend clicking the +“[source]” button to better see each class’ members. The documentation +generator doesn’t handle these dataclass objects well.

    +
    +
    +

    Admin proto

    +
    +
    +class ClusterInfo(id: str = <object object at 0x107efd2f0>, deployment_id: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +deployment_id = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    + +
    +
    +

    Auth proto

    +
    +
    +class ActivateRequest(root_token=<object object>)[source]
    +

    ActivateRequest enables authentication on the cluster. It issues an auth +token with no expiration for the irrevocable admin user pach:root.

    +

    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.

    +
    +
    +root_token = <object object>
    +
    + +
    + +
    +
    +class ActivateResponse(pach_token: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pach_token = <object object>
    +
    + +
    + +
    +
    +class AuthenticateRequest(oidc_state: str = <object object at 0x107efd2f0>, id_token: str = <object object at 0x107efd2f0>)[source]
    +

    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_token = <object object>
    +
    + +
    +
    +oidc_state = <object object>
    +
    + +
    + +
    +
    +class AuthenticateResponse(pach_token: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pach_token = <object object>
    +
    + +
    + +
    +
    +class AuthorizeRequest(resource: 'Resource' = <object object at 0x107efd2f0>, permissions: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +permissions = <object object>
    +
    + +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class AuthorizeResponse(authorized: bool = <object object at 0x107efd2f0>, satisfied: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, missing: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, principal: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +authorized = <object object>
    +
    + +
    +
    +missing = <object object>
    +
    + +
    +
    +principal = <object object>
    +
    + +
    +
    +satisfied = <object object>
    +
    + +
    + +
    +
    +class DeactivateRequest[source]
    +

    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 DeactivateResponse[source]
    +

    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 DeleteExpiredAuthTokensRequest[source]
    +

    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 DeleteExpiredAuthTokensResponse[source]
    +

    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 ExtractAuthTokensRequest[source]
    +

    ExtractAuthTokens returns all the hashed robot tokens that have been +issued. User tokens are not extracted as they can be recreated by logging +in.

    +

    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 ExtractAuthTokensResponse(tokens: List[ForwardRef('TokenInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +tokens = <object object>
    +
    + +
    + +
    +
    +class GetConfigurationRequest[source]
    +

    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 GetConfigurationResponse(configuration: 'OidcConfig' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +configuration = <object object>
    +
    + +
    + +
    +
    +class GetGroupsForPrincipalRequest(principal: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +principal = <object object>
    +
    + +
    + +
    +
    +class GetGroupsRequest[source]
    +

    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 GetGroupsResponse(groups: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +groups = <object object>
    +
    + +
    + +
    +
    +class GetOidcLoginRequest[source]
    +

    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 GetOidcLoginResponse(login_url: str = <object object at 0x107efd2f0>, state: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +login_url = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class GetPermissionsForPrincipalRequest(resource=<object object>, principal=<object object>)[source]
    +

    GetPermissionsForPrincipal evaluates an arbitrary principal’s permissions +on a resource

    +

    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.

    +
    +
    +principal = <object object>
    +
    + +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class GetPermissionsRequest(resource=<object object>)[source]
    +

    GetPermissions evaluates the current user’s permissions on a resource

    +

    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.

    +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class GetPermissionsResponse(permissions: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, roles: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +permissions = <object object>
    +
    + +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class GetRobotTokenRequest(robot: str = <object object at 0x107efd2f0>, ttl: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +robot = <object object>
    +
    + +
    +
    +ttl = <object object>
    +
    + +
    + +
    +
    +class GetRobotTokenResponse(token: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +token = <object object>
    +
    + +
    + +
    +
    +class GetRoleBindingRequest(resource: 'Resource' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class GetRoleBindingResponse(binding: 'RoleBinding' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +binding = <object object>
    +
    + +
    + +
    +
    +class GetRolesForPermissionRequest(permission: 'Permission' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +permission = <object object>
    +
    + +
    + +
    +
    +class GetRolesForPermissionResponse(roles: List[ForwardRef('Role')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class GetUsersRequest(group: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +group = <object object>
    +
    + +
    + +
    +
    +class GetUsersResponse(usernames: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +usernames = <object object>
    +
    + +
    + +
    +
    +class Groups(groups: Dict[str, bool] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +groups = <object object>
    +
    + +
    + +
    +
    +class ModifyMembersRequest(group: str = <object object at 0x107efd2f0>, add: List[str] = <object object at 0x107efd2f0>, remove: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +add = <object object>
    +
    + +
    +
    +group = <object object>
    +
    + +
    +
    +remove = <object object>
    +
    + +
    + +
    +
    +class ModifyMembersResponse[source]
    +

    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 ModifyRoleBindingRequest(resource: 'Resource' = <object object at 0x107efd2f0>, principal: str = <object object at 0x107efd2f0>, roles: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +principal = <object object>
    +
    + +
    +
    +resource = <object object>
    +
    + +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class ModifyRoleBindingResponse[source]
    +

    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 OidcConfig(issuer=<object object>, client_id=<object object>, client_secret=<object object>, redirect_uri=<object object>, scopes=<object object>, require_email_verified=<object object>, localhost_issuer=<object object>)[source]
    +

    Configure Pachyderm’s auth system with an OIDC provider

    +

    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.

    +
    +
    +client_id = <object object>
    +
    + +
    +
    +client_secret = <object object>
    +
    + +
    +
    +issuer = <object object>
    +
    + +
    +
    +localhost_issuer = <object object>
    +
    + +
    +
    +redirect_uri = <object object>
    +
    + +
    +
    +require_email_verified = <object object>
    +
    + +
    +
    +scopes = <object object>
    +
    + +
    + +
    +
    +class Permission(value)[source]
    +

    Permission represents the ability to perform a given operation on a +Resource

    +
    +
    +CLUSTER_AUTH_ACTIVATE = 102
    +
    + +
    +
    +CLUSTER_AUTH_DEACTIVATE = 103
    +
    + +
    +
    +CLUSTER_AUTH_DELETE_EXPIRED_TOKENS = 140
    +
    + +
    +
    +CLUSTER_AUTH_EXTRACT_TOKENS = 112
    +
    + +
    +
    +CLUSTER_AUTH_GET_CONFIG = 104
    +
    + +
    +
    +CLUSTER_AUTH_GET_GROUPS = 110
    +
    + +
    +
    +CLUSTER_AUTH_GET_GROUP_USERS = 111
    +
    + +
    +
    +CLUSTER_AUTH_GET_PERMISSIONS_FOR_PRINCIPAL = 141
    +
    + +
    +
    +CLUSTER_AUTH_GET_ROBOT_TOKEN = 139
    +
    + +
    +
    +CLUSTER_AUTH_MODIFY_GROUP_MEMBERS = 109
    +
    + +
    +
    +CLUSTER_AUTH_RESTORE_TOKEN = 113
    +
    + +
    +
    +CLUSTER_AUTH_REVOKE_USER_TOKENS = 142
    +
    + +
    +
    +CLUSTER_AUTH_ROTATE_ROOT_TOKEN = 147
    +
    + +
    +
    +CLUSTER_AUTH_SET_CONFIG = 105
    +
    + +
    +
    +CLUSTER_CREATE_SECRET = 143
    +
    + +
    +
    +CLUSTER_DEBUG_DUMP = 131
    +
    + +
    +
    +CLUSTER_DELETE_ALL = 138
    +
    + +
    +
    +CLUSTER_ENTERPRISE_ACTIVATE = 114
    +
    + +
    +
    +CLUSTER_ENTERPRISE_DEACTIVATE = 117
    +
    + +
    +
    +CLUSTER_ENTERPRISE_GET_CODE = 116
    +
    + +
    +
    +CLUSTER_ENTERPRISE_HEARTBEAT = 115
    +
    + +
    +
    +CLUSTER_GET_BINDINGS = 101
    +
    + +
    +
    +CLUSTER_GET_PACHD_LOGS = 148
    +
    + +
    +
    +CLUSTER_IDENTITY_CREATE_IDP = 120
    +
    + +
    +
    +CLUSTER_IDENTITY_CREATE_OIDC_CLIENT = 125
    +
    + +
    +
    +CLUSTER_IDENTITY_DELETE_IDP = 124
    +
    + +
    +
    +CLUSTER_IDENTITY_DELETE_OIDC_CLIENT = 129
    +
    + +
    +
    +CLUSTER_IDENTITY_GET_CONFIG = 119
    +
    + +
    +
    +CLUSTER_IDENTITY_GET_IDP = 123
    +
    + +
    +
    +CLUSTER_IDENTITY_GET_OIDC_CLIENT = 128
    +
    + +
    +
    +CLUSTER_IDENTITY_LIST_IDPS = 122
    +
    + +
    +
    +CLUSTER_IDENTITY_LIST_OIDC_CLIENTS = 127
    +
    + +
    +
    +CLUSTER_IDENTITY_SET_CONFIG = 118
    +
    + +
    +
    +CLUSTER_IDENTITY_UPDATE_IDP = 121
    +
    + +
    +
    +CLUSTER_IDENTITY_UPDATE_OIDC_CLIENT = 126
    +
    + +
    +
    +CLUSTER_LICENSE_ACTIVATE = 132
    +
    + +
    +
    +CLUSTER_LICENSE_ADD_CLUSTER = 134
    +
    + +
    +
    +CLUSTER_LICENSE_DELETE_CLUSTER = 136
    +
    + +
    +
    +CLUSTER_LICENSE_GET_CODE = 133
    +
    + +
    +
    +CLUSTER_LICENSE_LIST_CLUSTERS = 137
    +
    + +
    +
    +CLUSTER_LICENSE_UPDATE_CLUSTER = 135
    +
    + +
    +
    +CLUSTER_LIST_SECRETS = 144
    +
    + +
    +
    +CLUSTER_MODIFY_BINDINGS = 100
    +
    + +
    +
    +PERMISSION_UNKNOWN = 0
    +
    + +
    +
    +PIPELINE_LIST_JOB = 301
    +
    + +
    +
    +REPO_ADD_PIPELINE_READER = 212
    +
    + +
    +
    +REPO_ADD_PIPELINE_WRITER = 214
    +
    + +
    +
    +REPO_CREATE_BRANCH = 207
    +
    + +
    +
    +REPO_DELETE = 203
    +
    + +
    +
    +REPO_DELETE_BRANCH = 209
    +
    + +
    +
    +REPO_DELETE_COMMIT = 206
    +
    + +
    +
    +REPO_INSPECT_COMMIT = 204
    +
    + +
    +
    +REPO_INSPECT_FILE = 210
    +
    + +
    +
    +REPO_LIST_BRANCH = 208
    +
    + +
    +
    +REPO_LIST_COMMIT = 205
    +
    + +
    +
    +REPO_LIST_FILE = 211
    +
    + +
    +
    +REPO_MODIFY_BINDINGS = 202
    +
    + +
    +
    +REPO_READ = 200
    +
    + +
    +
    +REPO_REMOVE_PIPELINE_READER = 213
    +
    + +
    +
    +REPO_WRITE = 201
    +
    + +
    +
    +SECRET_DELETE = 145
    +
    + +
    +
    +SECRET_INSPECT = 146
    +
    + +
    + +
    +
    +class Resource(type=<object object>, name=<object object>)[source]
    +

    Resource represents any resource that has role-bindings in the system

    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class ResourceType(value)[source]
    +

    ResourceType represents the type of a Resource

    +
    +
    +CLUSTER = 1
    +
    + +
    +
    +REPO = 2
    +
    + +
    +
    +RESOURCE_TYPE_UNKNOWN = 0
    +
    + +
    +
    +SPEC_REPO = 3
    +
    + +
    + +
    +
    +class RestoreAuthTokenRequest(token=<object object>)[source]
    +

    RestoreAuthToken inserts a hashed token that has previously been extracted.

    +

    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.

    +
    +
    +token = <object object>
    +
    + +
    + +
    +
    +class RestoreAuthTokenResponse[source]
    +

    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 RevokeAuthTokenRequest(token: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +token = <object object>
    +
    + +
    + +
    +
    +class RevokeAuthTokenResponse[source]
    +

    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 RevokeAuthTokensForUserRequest(username: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +username = <object object>
    +
    + +
    + +
    +
    +class RevokeAuthTokensForUserResponse[source]
    +

    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 Role(name: str = <object object at 0x107efd2f0>, permissions: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, resource_types: List[ForwardRef('ResourceType')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +permissions = <object object>
    +
    + +
    +
    +resource_types = <object object>
    +
    + +
    + +
    +
    +class RoleBinding(entries=<object object>)[source]
    +

    RoleBinding represents the set of roles principals have on a given Resource

    +

    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.

    +
    +
    +entries = <object object>
    +
    + +
    + +
    +
    +class Roles(roles=<object object>)[source]
    +

    Roles represents the set of roles a principal has

    +

    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.

    +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class RotateRootTokenRequest(root_token: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +root_token = <object object>
    +
    + +
    + +
    +
    +class RotateRootTokenResponse(root_token: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +root_token = <object object>
    +
    + +
    + +
    +
    +class SessionInfo(nonce=<object object>, email=<object object>, conversion_err=<object object>)[source]
    +

    SessionInfo stores information associated with one OIDC authentication +session (i.e. a single instance of a single user logging in). Sessions are +short-lived and stored in the ‘oidc-authns’ collection, keyed by the OIDC +‘state’ token (30-character CSPRNG-generated string). ‘GetOIDCLogin’ +generates and inserts entries, then /authorization-code/callback retrieves +an access token from the ID provider and uses it to retrive the caller’s +email and store it in ‘email’, and finally Authorize() returns a Pachyderm +token identified with that email address as a subject in Pachyderm.

    +

    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.

    +
    +
    +conversion_err = <object object>
    +
    + +
    +
    +email = <object object>
    +
    + +
    +
    +nonce = <object object>
    +
    + +
    + +
    +
    +class SetConfigurationRequest(configuration: 'OidcConfig' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +configuration = <object object>
    +
    + +
    + +
    +
    +class SetConfigurationResponse[source]
    +

    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 SetGroupsForUserRequest(username: str = <object object at 0x107efd2f0>, groups: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +groups = <object object>
    +
    + +
    +
    +username = <object object>
    +
    + +
    + +
    +
    +class SetGroupsForUserResponse[source]
    +

    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 TokenInfo(subject=<object object>, expiration=<object object>, hashed_token=<object object>)[source]
    +

    TokenInfo is the ‘value’ of an auth token ‘key’ in the ‘tokens’ collection

    +

    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.

    +
    +
    +expiration = <object object>
    +
    + +
    +
    +hashed_token = <object object>
    +
    + +
    +
    +subject = <object object>
    +
    + +
    + +
    +
    +class Users(usernames: Dict[str, bool] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +usernames = <object object>
    +
    + +
    + +
    +
    +class WhoAmIRequest[source]
    +

    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 WhoAmIResponse(username: str = <object object at 0x107efd2f0>, expiration: datetime.datetime = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +expiration = <object object>
    +
    + +
    +
    +username = <object object>
    +
    + +
    + +
    +
    +

    Debug proto

    +
    +
    +class BinaryRequest(filter: 'Filter' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +filter = <object object>
    +
    + +
    + +
    +
    +class DumpRequest(filter: 'Filter' = <object object at 0x107efd2f0>, limit: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +filter = <object object>
    +
    + +
    +
    +limit = <object object>
    +
    + +
    + +
    +
    +class Filter(pachd: bool = <object object at 0x107efd2f0>, pipeline: '_pps_v2__.Pipeline' = <object object at 0x107efd2f0>, worker: 'Worker' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pachd = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +worker = <object object>
    +
    + +
    + +
    +
    +class Profile(name: str = <object object at 0x107efd2f0>, duration: datetime.timedelta = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +duration = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class ProfileRequest(profile: 'Profile' = <object object at 0x107efd2f0>, filter: 'Filter' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +filter = <object object>
    +
    + +
    +
    +profile = <object object>
    +
    + +
    + +
    +
    +class Worker(pod: str = <object object at 0x107efd2f0>, redirected: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pod = <object object>
    +
    + +
    +
    +redirected = <object object>
    +
    + +
    + +
    +
    +

    Enterprise proto

    +
    +
    +class ActivateRequest(license_server: str = <object object at 0x107efd2f0>, id: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +license_server = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class ActivateResponse[source]
    +

    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 DeactivateRequest[source]
    +

    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 DeactivateResponse[source]
    +

    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 EnterpriseConfig(license_server=<object object>, id=<object object>, secret=<object object>)[source]
    +

    EnterpriseConfig is the configuration we store for heartbeating to the +license server.

    +

    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>
    +
    + +
    +
    +license_server = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class EnterpriseRecord(license=<object object>, last_heartbeat=<object object>, heartbeat_failed=<object object>)[source]
    +

    EnterpriseRecord is a protobuf we cache in etcd to store the enterprise +status.

    +

    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.

    +
    +
    +heartbeat_failed = <object object>
    +
    + +
    +
    +last_heartbeat = <object object>
    +
    + +
    +
    +license = <object object>
    +
    + +
    + +
    +
    +class GetActivationCodeRequest[source]
    +

    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 GetActivationCodeResponse(state: 'State' = <object object at 0x107efd2f0>, info: 'TokenInfo' = <object object at 0x107efd2f0>, activation_code: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +info = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class GetStateRequest[source]
    +

    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 GetStateResponse(state: 'State' = <object object at 0x107efd2f0>, info: 'TokenInfo' = <object object at 0x107efd2f0>, activation_code: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +info = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class HeartbeatRequest[source]
    +

    Heartbeat in the enterprise service just triggers a heartbeat for testing +purposes. The RPC used to communicate with the license service is defined +in the license service.

    +

    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 HeartbeatResponse[source]
    +

    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 LicenseRecord(activation_code=<object object>, expires=<object object>)[source]
    +

    LicenseRecord is the record we store in etcd for a Pachyderm enterprise +token that has been provided to a Pachyderm license server

    +

    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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +expires = <object object>
    +
    + +
    + +
    +
    +class State(value)[source]
    +

    An enumeration.

    +
    +
    +ACTIVE = 1
    +
    + +
    +
    +EXPIRED = 2
    +
    + +
    +
    +HEARTBEAT_FAILED = 3
    +
    + +
    +
    +NONE = 0
    +
    + +
    + +
    +
    +class TokenInfo(expires=<object object>)[source]
    +

    TokenInfo contains information about the currently active enterprise token

    +

    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.

    +
    +
    +expires = <object object>
    +
    + +
    + +
    +
    +

    Identity proto

    +
    +
    +class CreateIdpConnectorRequest(connector: 'IdpConnector' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +connector = <object object>
    +
    + +
    + +
    +
    +class CreateIdpConnectorResponse[source]
    +

    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 CreateOidcClientRequest(client: 'OidcClient' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class CreateOidcClientResponse(client: 'OidcClient' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class DeleteAllRequest[source]
    +

    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 DeleteAllResponse[source]
    +

    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 DeleteIdpConnectorRequest(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 DeleteIdpConnectorResponse[source]
    +

    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 DeleteOidcClientRequest(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 DeleteOidcClientResponse[source]
    +

    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 GetIdentityServerConfigRequest[source]
    +

    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 GetIdentityServerConfigResponse(config: 'IdentityServerConfig' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +config = <object object>
    +
    + +
    + +
    +
    +class GetIdpConnectorRequest(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 GetIdpConnectorResponse(connector: 'IdpConnector' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +connector = <object object>
    +
    + +
    + +
    +
    +class GetOidcClientRequest(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 GetOidcClientResponse(client: 'OidcClient' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class IdentityServerConfig(issuer=<object object>, id_token_expiry=<object object>)[source]
    +

    IdentityServerConfig is the configuration for the identity web server. When +the configuration is changed the web server is reloaded automatically.

    +

    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_token_expiry = <object object>
    +
    + +
    +
    +issuer = <object object>
    +
    + +
    + +
    +
    +class IdpConnector(id=<object object>, name=<object object>, type=<object object>, config_version=<object object>, json_config=<object object>)[source]
    +

    IDPConnector represents a connection to an identity provider

    +

    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.

    +
    +
    +config_version = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +json_config = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class ListIdpConnectorsRequest[source]
    +

    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 ListIdpConnectorsResponse(connectors: List[ForwardRef('IdpConnector')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +connectors = <object object>
    +
    + +
    + +
    +
    +class ListOidcClientsRequest[source]
    +

    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 ListOidcClientsResponse(clients: List[ForwardRef('OidcClient')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +clients = <object object>
    +
    + +
    + +
    +
    +class OidcClient(id: str = <object object at 0x107efd2f0>, redirect_uris: List[str] = <object object at 0x107efd2f0>, trusted_peers: List[str] = <object object at 0x107efd2f0>, name: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +redirect_uris = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +trusted_peers = <object object>
    +
    + +
    + +
    +
    +class SetIdentityServerConfigRequest(config: 'IdentityServerConfig' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +config = <object object>
    +
    + +
    + +
    +
    +class SetIdentityServerConfigResponse[source]
    +

    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 UpdateIdpConnectorRequest(connector: 'IdpConnector' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +connector = <object object>
    +
    + +
    + +
    +
    +class UpdateIdpConnectorResponse[source]
    +

    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 UpdateOidcClientRequest(client: 'OidcClient' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class UpdateOidcClientResponse[source]
    +

    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 User(email=<object object>, last_authenticated=<object object>)[source]
    +

    User represents an IDP user that has authenticated via OIDC

    +

    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.

    +
    +
    +email = <object object>
    +
    + +
    +
    +last_authenticated = <object object>
    +
    + +
    + +
    +
    +

    License proto

    +
    +
    +class ActivateRequest(activation_code: str = <object object at 0x107efd2f0>, expires: datetime.datetime = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +expires = <object object>
    +
    + +
    + +
    +
    +class ActivateResponse(info: '_enterprise_v2__.TokenInfo' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +info = <object object>
    +
    + +
    + +
    +
    +class AddClusterRequest(id: str = <object object at 0x107efd2f0>, address: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>, user_address: str = <object object at 0x107efd2f0>, cluster_deployment_id: str = <object object at 0x107efd2f0>, enterprise_server: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +cluster_deployment_id = <object object>
    +
    + +
    +
    +enterprise_server = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +user_address = <object object>
    +
    + +
    + +
    +
    +class AddClusterResponse(secret: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class ClusterStatus(id: str = <object object at 0x107efd2f0>, address: str = <object object at 0x107efd2f0>, version: str = <object object at 0x107efd2f0>, auth_enabled: bool = <object object at 0x107efd2f0>, client_id: str = <object object at 0x107efd2f0>, last_heartbeat: datetime.datetime = <object object at 0x107efd2f0>, created_at: datetime.datetime = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +auth_enabled = <object object>
    +
    + +
    +
    +client_id = <object object>
    +
    + +
    +
    +created_at = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +last_heartbeat = <object object>
    +
    + +
    +
    +version = <object object>
    +
    + +
    + +
    +
    +class DeactivateRequest[source]
    +

    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 DeactivateResponse[source]
    +

    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 DeleteAllRequest[source]
    +

    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 DeleteAllResponse[source]
    +

    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 DeleteClusterRequest(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 DeleteClusterResponse[source]
    +

    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 GetActivationCodeRequest[source]
    +

    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 GetActivationCodeResponse(state: '_enterprise_v2__.State' = <object object at 0x107efd2f0>, info: '_enterprise_v2__.TokenInfo' = <object object at 0x107efd2f0>, activation_code: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +info = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class HeartbeatRequest(id: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>, version: str = <object object at 0x107efd2f0>, auth_enabled: bool = <object object at 0x107efd2f0>, client_id: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +auth_enabled = <object object>
    +
    + +
    +
    +client_id = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +version = <object object>
    +
    + +
    + +
    +
    +class HeartbeatResponse(license: '_enterprise_v2__.LicenseRecord' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +license = <object object>
    +
    + +
    + +
    +
    +class ListClustersRequest[source]
    +

    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 ListClustersResponse(clusters: List[ForwardRef('ClusterStatus')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +clusters = <object object>
    +
    + +
    + +
    +
    +class ListUserClustersRequest[source]
    +

    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 ListUserClustersResponse(clusters: List[ForwardRef('UserClusterInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +clusters = <object object>
    +
    + +
    + +
    +
    +class UpdateClusterRequest(id=<object object>, address=<object object>, user_address=<object object>, cluster_deployment_id=<object object>)[source]
    +

    Note: Updates of the enterprise-server field are not allowed. In the worst +case, a user can recreate their cluster if they need the field updated.

    +

    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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +cluster_deployment_id = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +user_address = <object object>
    +
    + +
    + +
    +
    +class UpdateClusterResponse[source]
    +

    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 UserClusterInfo(id: str = <object object at 0x107efd2f0>, cluster_deployment_id: str = <object object at 0x107efd2f0>, address: str = <object object at 0x107efd2f0>, enterprise_server: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +cluster_deployment_id = <object object>
    +
    + +
    +
    +enterprise_server = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    + +
    +
    +

    PFS proto

    +
    +
    +class AddFile(path: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>, raw: Optional[bytes] = <object object at 0x107efd2f0>, url: 'AddFileUrlSource' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +datum = <object object>
    +
    + +
    +
    +path = <object object>
    +
    + +
    +
    +raw = <object object>
    +
    + +
    +
    +url = <object object>
    +
    + +
    + +
    +
    +class AddFileSetRequest(commit: 'Commit' = <object object at 0x107efd2f0>, file_set_id: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +file_set_id = <object object>
    +
    + +
    + +
    +
    +class AddFileUrlSource(url: str = <object object at 0x107efd2f0>, recursive: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +recursive = <object object>
    +
    + +
    +
    +url = <object object>
    +
    + +
    + +
    +
    +class Branch(repo: 'Repo' = <object object at 0x107efd2f0>, name: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    + +
    +
    +class BranchInfo(branch: 'Branch' = <object object at 0x107efd2f0>, head: 'Commit' = <object object at 0x107efd2f0>, provenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, subvenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, direct_provenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, trigger: 'Trigger' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +direct_provenance = <object object>
    +
    + +
    +
    +head = <object object>
    +
    + +
    +
    +provenance = <object object>
    +
    + +
    +
    +subvenance = <object object>
    +
    + +
    +
    +trigger = <object object>
    +
    + +
    + +
    +
    +class ClearCommitRequest(commit: 'Commit' = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    + +
    +
    +class Commit(branch=<object object>, id=<object object>)[source]
    +

    Commit is a reference to a commit (e.g. the collection of branches and the +collection of currently-open commits in etcd are collections of Commit +protos)

    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    + +
    +
    +class CommitInfo(commit=<object object>, origin=<object object>, description=<object object>, parent_commit=<object object>, child_commits=<object object>, started=<object object>, finishing=<object object>, finished=<object object>, direct_provenance=<object object>, error=<object object>, size_bytes_upper_bound=<object object>, details=<object object>)[source]
    +

    CommitInfo is the main data structure representing a commit in etcd

    +

    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.

    +
    +
    +child_commits = <object object>
    +
    + +
    +
    +commit = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +details = <object object>
    +
    + +
    +
    +direct_provenance = <object object>
    +
    + +
    +
    +error = <object object>
    +
    + +
    +
    +finished = <object object>
    +
    + +
    +
    +finishing = <object object>
    +
    + +
    +
    +origin = <object object>
    +
    + +
    +
    +parent_commit = <object object>
    +
    + +
    +
    +size_bytes_upper_bound = <object object>
    +
    + +
    +
    +started = <object object>
    +
    + +
    + +
    +
    +class CommitInfoDetails(size_bytes=<object object>)[source]
    +

    Details are only provided when explicitly requested

    +

    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.

    +
    +
    +size_bytes = <object object>
    +
    + +
    + +
    +
    +class CommitOrigin(kind: 'OriginKind' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +kind = <object object>
    +
    + +
    + +
    +
    +class CommitSet(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 CommitSetInfo(commit_set: 'CommitSet' = <object object at 0x107efd2f0>, commits: List[ForwardRef('CommitInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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_set = <object object>
    +
    + +
    +
    +commits = <object object>
    +
    + +
    + +
    +
    +class CommitState(value)[source]
    +

    CommitState describes the states a commit can be in. The states are +increasingly specific, i.e. a commit that is FINISHED also counts as +STARTED.

    +
    +
    +COMMIT_STATE_UNKNOWN = 0
    +
    + +
    +
    +FINISHED = 4
    +
    + +
    +
    +FINISHING = 3
    +
    + +
    +
    +READY = 2
    +
    + +
    +
    +STARTED = 1
    +
    + +
    + +
    +
    +class CopyFile(dst: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>, src: 'File' = <object object at 0x107efd2f0>, append: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +append = <object object>
    +
    + +
    +
    +datum = <object object>
    +
    + +
    +
    +dst = <object object>
    +
    + +
    +
    +src = <object object>
    +
    + +
    + +
    +
    +class CreateBranchRequest(head: 'Commit' = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>, provenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, trigger: 'Trigger' = <object object at 0x107efd2f0>, new_commit_set: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +head = <object object>
    +
    + +
    +
    +new_commit_set = <object object>
    +
    + +
    +
    +provenance = <object object>
    +
    + +
    +
    +trigger = <object object>
    +
    + +
    + +
    +
    +class CreateFileSetResponse(file_set_id: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +file_set_id = <object object>
    +
    + +
    + +
    +
    +class CreateRepoRequest(repo: 'Repo' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, update: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +description = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +update = <object object>
    +
    + +
    + +
    +
    +class DeleteBranchRequest(branch: 'Branch' = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +force = <object object>
    +
    + +
    + +
    +
    +class DeleteFile(path: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +datum = <object object>
    +
    + +
    +
    +path = <object object>
    +
    + +
    + +
    +
    +class DeleteRepoRequest(repo: 'Repo' = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +force = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    + +
    +
    +class Delimiter(value)[source]
    +

    An enumeration.

    +
    +
    +CSV = 4
    +
    + +
    +
    +JSON = 1
    +
    + +
    +
    +LINE = 2
    +
    + +
    +
    +NONE = 0
    +
    + +
    +
    +SQL = 3
    +
    + +
    + +
    +
    +class DiffFileRequest(new_file: 'File' = <object object at 0x107efd2f0>, old_file: 'File' = <object object at 0x107efd2f0>, shallow: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +new_file = <object object>
    +
    + +
    +
    +old_file = <object object>
    +
    + +
    +
    +shallow = <object object>
    +
    + +
    + +
    +
    +class DiffFileResponse(new_file: 'FileInfo' = <object object at 0x107efd2f0>, old_file: 'FileInfo' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +new_file = <object object>
    +
    + +
    +
    +old_file = <object object>
    +
    + +
    + +
    +
    +class DropCommitSetRequest(commit_set: 'CommitSet' = <object object at 0x107efd2f0>)[source]
    +

    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_set = <object object>
    +
    + +
    + +
    +
    +class File(commit: 'Commit' = <object object at 0x107efd2f0>, path: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +datum = <object object>
    +
    + +
    +
    +path = <object object>
    +
    + +
    + +
    +
    +class FileInfo(file: 'File' = <object object at 0x107efd2f0>, file_type: 'FileType' = <object object at 0x107efd2f0>, committed: datetime.datetime = <object object at 0x107efd2f0>, size_bytes: int = <object object at 0x107efd2f0>, hash: bytes = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +committed = <object object>
    +
    + +
    +
    +file = <object object>
    +
    + +
    +
    +file_type = <object object>
    +
    + +
    +
    +hash = <object object>
    +
    + +
    +
    +size_bytes = <object object>
    +
    + +
    + +
    +
    +class FileType(value)[source]
    +

    An enumeration.

    +
    +
    +DIR = 2
    +
    + +
    +
    +FILE = 1
    +
    + +
    +
    +RESERVED = 0
    +
    + +
    + +
    +
    +class FinishCommitRequest(commit: 'Commit' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, error: str = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +error = <object object>
    +
    + +
    +
    +force = <object object>
    +
    + +
    + +
    +
    +class FsckRequest(fix: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +fix = <object object>
    +
    + +
    + +
    +
    +class FsckResponse(fix: str = <object object at 0x107efd2f0>, error: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +error = <object object>
    +
    + +
    +
    +fix = <object object>
    +
    + +
    + +
    +
    +class GetFileRequest(file: 'File' = <object object at 0x107efd2f0>, url: str = <object object at 0x107efd2f0>, offset: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +file = <object object>
    +
    + +
    +
    +offset = <object object>
    +
    + +
    +
    +url = <object object>
    +
    + +
    + +
    +
    +class GetFileSetRequest(commit: 'Commit' = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    + +
    +
    +class GlobFileRequest(commit: 'Commit' = <object object at 0x107efd2f0>, pattern: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +pattern = <object object>
    +
    + +
    + +
    +
    +class InspectBranchRequest(branch: 'Branch' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    + +
    +
    +class InspectCommitRequest(commit: 'Commit' = <object object at 0x107efd2f0>, wait: 'CommitState' = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +wait = <object object>
    +
    + +
    + +
    +
    +class InspectCommitSetRequest(commit_set: 'CommitSet' = <object object at 0x107efd2f0>, wait: bool = <object object at 0x107efd2f0>)[source]
    +

    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_set = <object object>
    +
    + +
    +
    +wait = <object object>
    +
    + +
    + +
    +
    +class InspectFileRequest(file: 'File' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +file = <object object>
    +
    + +
    + +
    +
    +class InspectRepoRequest(repo: 'Repo' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +repo = <object object>
    +
    + +
    + +
    +
    +class ListBranchRequest(repo: 'Repo' = <object object at 0x107efd2f0>, reverse: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +repo = <object object>
    +
    + +
    +
    +reverse = <object object>
    +
    + +
    + +
    +
    +class ListCommitRequest(repo: 'Repo' = <object object at 0x107efd2f0>, from_: 'Commit' = <object object at 0x107efd2f0>, to: 'Commit' = <object object at 0x107efd2f0>, number: int = <object object at 0x107efd2f0>, reverse: bool = <object object at 0x107efd2f0>, all: bool = <object object at 0x107efd2f0>, origin_kind: 'OriginKind' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +all = <object object>
    +
    + +
    +
    +from_ = <object object>
    +
    + +
    +
    +number = <object object>
    +
    + +
    +
    +origin_kind = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +reverse = <object object>
    +
    + +
    +
    +to = <object object>
    +
    + +
    + +
    +
    +class ListCommitSetRequest[source]
    +

    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 ListFileRequest(file: 'File' = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +file = <object object>
    +
    + +
    + +
    +
    +class ListRepoRequest(type: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class ModifyFileRequest(set_commit: 'Commit' = <object object at 0x107efd2f0>, add_file: 'AddFile' = <object object at 0x107efd2f0>, delete_file: 'DeleteFile' = <object object at 0x107efd2f0>, copy_file: 'CopyFile' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +add_file = <object object>
    +
    + +
    +
    +copy_file = <object object>
    +
    + +
    +
    +delete_file = <object object>
    +
    + +
    +
    +set_commit = <object object>
    +
    + +
    + +
    +
    +class OriginKind(value)[source]
    +

    These are the different places where a commit may be originated from

    +
    +
    +ALIAS = 4
    +
    + +
    +
    +AUTO = 2
    +
    + +
    +
    +FSCK = 3
    +
    + +
    +
    +ORIGIN_KIND_UNKNOWN = 0
    +
    + +
    +
    +USER = 1
    +
    + +
    + +
    +
    +class RenewFileSetRequest(file_set_id: str = <object object at 0x107efd2f0>, ttl_seconds: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +file_set_id = <object object>
    +
    + +
    +
    +ttl_seconds = <object object>
    +
    + +
    + +
    +
    +class Repo(name: str = <object object at 0x107efd2f0>, type: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class RepoAuthInfo(permissions=<object object>, roles=<object object>)[source]
    +

    RepoAuthInfo includes the caller’s access scope for a repo, and is returned +by ListRepo and InspectRepo but not persisted in etcd. It’s used by the +Pachyderm dashboard to render repo access appropriately. To set a user’s +auth scope for a repo, use the Pachyderm Auth API (in +src/client/auth/auth.proto)

    +

    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.

    +
    +
    +permissions = <object object>
    +
    + +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class RepoInfo(repo=<object object>, created=<object object>, size_bytes_upper_bound=<object object>, description=<object object>, branches=<object object>, auth_info=<object object>, details=<object object>)[source]
    +

    RepoInfo is the main data structure representing a Repo in etcd

    +

    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.

    +
    +
    +auth_info = <object object>
    +
    + +
    +
    +branches = <object object>
    +
    + +
    +
    +created = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +details = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +size_bytes_upper_bound = <object object>
    +
    + +
    + +
    +
    +class RepoInfoDetails(size_bytes=<object object>)[source]
    +

    Details are only provided when explicitly requested

    +

    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.

    +
    +
    +size_bytes = <object object>
    +
    + +
    + +
    +
    +class RunLoadTestRequest(spec: str = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>, seed: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +seed = <object object>
    +
    + +
    +
    +spec = <object object>
    +
    + +
    + +
    +
    +class RunLoadTestResponse(spec: str = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>, seed: int = <object object at 0x107efd2f0>, error: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +error = <object object>
    +
    + +
    +
    +seed = <object object>
    +
    + +
    +
    +spec = <object object>
    +
    + +
    + +
    +
    +class SquashCommitSetRequest(commit_set: 'CommitSet' = <object object at 0x107efd2f0>)[source]
    +

    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_set = <object object>
    +
    + +
    + +
    +
    +class StartCommitRequest(parent: 'Commit' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +parent = <object object>
    +
    + +
    + +
    +
    +class SubscribeCommitRequest(repo: 'Repo' = <object object at 0x107efd2f0>, branch: str = <object object at 0x107efd2f0>, from_: 'Commit' = <object object at 0x107efd2f0>, state: 'CommitState' = <object object at 0x107efd2f0>, all: bool = <object object at 0x107efd2f0>, origin_kind: 'OriginKind' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +all = <object object>
    +
    + +
    +
    +branch = <object object>
    +
    + +
    +
    +from_ = <object object>
    +
    + +
    +
    +origin_kind = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class Trigger(branch=<object object>, all=<object object>, cron_spec=<object object>, size=<object object>, commits=<object object>)[source]
    +

    Trigger defines the conditions under which a head is moved, and to which +branch it is moved.

    +

    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.

    +
    +
    +all = <object object>
    +
    + +
    +
    +branch = <object object>
    +
    + +
    +
    +commits = <object object>
    +
    + +
    +
    +cron_spec = <object object>
    +
    + +
    +
    +size = <object object>
    +
    + +
    + +
    +
    +class WalkFileRequest(file: 'File' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +file = <object object>
    +
    + +
    + +
    +
    +

    PPS proto

    +
    +
    +class Aggregate(count: int = <object object at 0x107efd2f0>, mean: float = <object object at 0x107efd2f0>, stddev: float = <object object at 0x107efd2f0>, fifth_percentile: float = <object object at 0x107efd2f0>, ninety_fifth_percentile: float = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +count = <object object>
    +
    + +
    +
    +fifth_percentile = <object object>
    +
    + +
    +
    +mean = <object object>
    +
    + +
    +
    +ninety_fifth_percentile = <object object>
    +
    + +
    +
    +stddev = <object object>
    +
    + +
    + +
    +
    +class AggregateProcessStats(download_time: 'Aggregate' = <object object at 0x107efd2f0>, process_time: 'Aggregate' = <object object at 0x107efd2f0>, upload_time: 'Aggregate' = <object object at 0x107efd2f0>, download_bytes: 'Aggregate' = <object object at 0x107efd2f0>, upload_bytes: 'Aggregate' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +download_bytes = <object object>
    +
    + +
    +
    +download_time = <object object>
    +
    + +
    +
    +process_time = <object object>
    +
    + +
    +
    +upload_bytes = <object object>
    +
    + +
    +
    +upload_time = <object object>
    +
    + +
    + +
    +
    +class CreatePipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, tf_job: 'TfJob' = <object object at 0x107efd2f0>, transform: 'Transform' = <object object at 0x107efd2f0>, parallelism_spec: 'ParallelismSpec' = <object object at 0x107efd2f0>, egress: 'Egress' = <object object at 0x107efd2f0>, update: bool = <object object at 0x107efd2f0>, output_branch: str = <object object at 0x107efd2f0>, s3_out: bool = <object object at 0x107efd2f0>, resource_requests: 'ResourceSpec' = <object object at 0x107efd2f0>, resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, sidecar_resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, reprocess: bool = <object object at 0x107efd2f0>, service: 'Service' = <object object at 0x107efd2f0>, spout: 'Spout' = <object object at 0x107efd2f0>, datum_set_spec: 'DatumSetSpec' = <object object at 0x107efd2f0>, datum_timeout: datetime.timedelta = <object object at 0x107efd2f0>, job_timeout: datetime.timedelta = <object object at 0x107efd2f0>, salt: str = <object object at 0x107efd2f0>, datum_tries: int = <object object at 0x107efd2f0>, scheduling_spec: 'SchedulingSpec' = <object object at 0x107efd2f0>, pod_spec: str = <object object at 0x107efd2f0>, pod_patch: str = <object object at 0x107efd2f0>, spec_commit: '_pfs_v2__.Commit' = <object object at 0x107efd2f0>, metadata: 'Metadata' = <object object at 0x107efd2f0>, reprocess_spec: str = <object object at 0x107efd2f0>, autoscaling: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +autoscaling = <object object>
    +
    + +
    +
    +datum_set_spec = <object object>
    +
    + +
    +
    +datum_timeout = <object object>
    +
    + +
    +
    +datum_tries = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +egress = <object object>
    +
    + +
    +
    +input = <object object>
    +
    + +
    +
    +job_timeout = <object object>
    +
    + +
    +
    +metadata = <object object>
    +
    + +
    +
    +output_branch = <object object>
    +
    + +
    +
    +parallelism_spec = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +pod_patch = <object object>
    +
    + +
    +
    +pod_spec = <object object>
    +
    + +
    +
    +reprocess = <object object>
    +
    + +
    +
    +reprocess_spec = <object object>
    +
    + +
    +
    +resource_limits = <object object>
    +
    + +
    +
    +resource_requests = <object object>
    +
    + +
    +
    +s3_out = <object object>
    +
    + +
    +
    +salt = <object object>
    +
    + +
    +
    +scheduling_spec = <object object>
    +
    + +
    +
    +service = <object object>
    +
    + +
    +
    +sidecar_resource_limits = <object object>
    +
    + +
    +
    +spec_commit = <object object>
    +
    + +
    +
    +spout = <object object>
    +
    + +
    +
    +tf_job = <object object>
    +
    + +
    +
    +transform = <object object>
    +
    + +
    +
    +update = <object object>
    +
    + +
    + +
    +
    +class CreateSecretRequest(file: bytes = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +file = <object object>
    +
    + +
    + +
    +
    +class CronInput(name: str = <object object at 0x107efd2f0>, repo: str = <object object at 0x107efd2f0>, commit: str = <object object at 0x107efd2f0>, spec: str = <object object at 0x107efd2f0>, overwrite: bool = <object object at 0x107efd2f0>, start: datetime.datetime = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +overwrite = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +spec = <object object>
    +
    + +
    +
    +start = <object object>
    +
    + +
    + +
    +
    +class Datum(job: 'Job' = <object object at 0x107efd2f0>, id: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class DatumInfo(datum: 'Datum' = <object object at 0x107efd2f0>, state: 'DatumState' = <object object at 0x107efd2f0>, stats: 'ProcessStats' = <object object at 0x107efd2f0>, pfs_state: '_pfs_v2__.File' = <object object at 0x107efd2f0>, data: List[ForwardRef('_pfs_v2__.FileInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +data = <object object>
    +
    + +
    +
    +datum = <object object>
    +
    + +
    +
    +pfs_state = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stats = <object object>
    +
    + +
    + +
    +
    +class DatumSetSpec(number=<object object>, size_bytes=<object object>, per_worker=<object object>)[source]
    +

    DatumSetSpec specifies how a pipeline should split its datums into datum +sets.

    +

    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.

    +
    +
    +number = <object object>
    +
    + +
    +
    +per_worker = <object object>
    +
    + +
    +
    +size_bytes = <object object>
    +
    + +
    + +
    +
    +class DatumState(value)[source]
    +

    An enumeration.

    +
    +
    +FAILED = 1
    +
    + +
    +
    +RECOVERED = 5
    +
    + +
    +
    +SKIPPED = 3
    +
    + +
    +
    +STARTING = 4
    +
    + +
    +
    +SUCCESS = 2
    +
    + +
    +
    +UNKNOWN = 0
    +
    + +
    + +
    +
    +class DatumStatus(started: datetime.datetime = <object object at 0x107efd2f0>, data: List[ForwardRef('InputFile')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +data = <object object>
    +
    + +
    +
    +started = <object object>
    +
    + +
    + +
    +
    +class DeleteJobRequest(job: 'Job' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class DeletePipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, all: bool = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>, keep_repo: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +all = <object object>
    +
    + +
    +
    +force = <object object>
    +
    + +
    +
    +keep_repo = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class DeleteSecretRequest(secret: 'Secret' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class Egress(url: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +url = <object object>
    +
    + +
    + +
    +
    +class GetLogsRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, job: 'Job' = <object object at 0x107efd2f0>, data_filters: List[str] = <object object at 0x107efd2f0>, datum: 'Datum' = <object object at 0x107efd2f0>, master: bool = <object object at 0x107efd2f0>, follow: bool = <object object at 0x107efd2f0>, tail: int = <object object at 0x107efd2f0>, use_loki_backend: bool = <object object at 0x107efd2f0>, since: datetime.timedelta = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +data_filters = <object object>
    +
    + +
    +
    +datum = <object object>
    +
    + +
    +
    +follow = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +master = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +since = <object object>
    +
    + +
    +
    +tail = <object object>
    +
    + +
    +
    +use_loki_backend = <object object>
    +
    + +
    + +
    +
    +class GpuSpec(type: str = <object object at 0x107efd2f0>, number: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +number = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class Input(pfs: 'PfsInput' = <object object at 0x107efd2f0>, join: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, group: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, cross: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, union: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, cron: 'CronInput' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +cron = <object object>
    +
    + +
    +
    +cross = <object object>
    +
    + +
    +
    +group = <object object>
    +
    + +
    +
    +join = <object object>
    +
    + +
    +
    +pfs = <object object>
    +
    + +
    +
    +union = <object object>
    +
    + +
    + +
    +
    +class InputFile(path: str = <object object at 0x107efd2f0>, hash: bytes = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +hash = <object object>
    +
    + +
    +
    +path = <object object>
    +
    + +
    + +
    +
    +class InspectDatumRequest(datum: 'Datum' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +datum = <object object>
    +
    + +
    + +
    +
    +class InspectJobRequest(job: 'Job' = <object object at 0x107efd2f0>, wait: bool = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +wait = <object object>
    +
    + +
    + +
    +
    +class InspectJobSetRequest(job_set: 'JobSet' = <object object at 0x107efd2f0>, wait: bool = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +job_set = <object object>
    +
    + +
    +
    +wait = <object object>
    +
    + +
    + +
    +
    +class InspectPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class InspectSecretRequest(secret: 'Secret' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class Job(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, id: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class JobInfo(job=<object object>, pipeline_version=<object object>, output_commit=<object object>, restart=<object object>, data_processed=<object object>, data_skipped=<object object>, data_total=<object object>, data_failed=<object object>, data_recovered=<object object>, stats=<object object>, state=<object object>, reason=<object object>, created=<object object>, started=<object object>, finished=<object object>, details=<object object>)[source]
    +

    JobInfo is the data stored in the database regarding a given job. The +‘details’ field contains more information about the job which is expensive +to fetch, requiring querying workers or loading the pipeline spec from +object storage.

    +

    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.

    +
    +
    +created = <object object>
    +
    + +
    +
    +data_failed = <object object>
    +
    + +
    +
    +data_processed = <object object>
    +
    + +
    +
    +data_recovered = <object object>
    +
    + +
    +
    +data_skipped = <object object>
    +
    + +
    +
    +data_total = <object object>
    +
    + +
    +
    +details = <object object>
    +
    + +
    +
    +finished = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +output_commit = <object object>
    +
    + +
    +
    +pipeline_version = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +restart = <object object>
    +
    + +
    +
    +started = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stats = <object object>
    +
    + +
    + +
    +
    +class JobInfoDetails(transform: 'Transform' = <object object at 0x107efd2f0>, parallelism_spec: 'ParallelismSpec' = <object object at 0x107efd2f0>, egress: 'Egress' = <object object at 0x107efd2f0>, service: 'Service' = <object object at 0x107efd2f0>, spout: 'Spout' = <object object at 0x107efd2f0>, worker_status: List[ForwardRef('WorkerStatus')] = <object object at 0x107efd2f0>, resource_requests: 'ResourceSpec' = <object object at 0x107efd2f0>, resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, sidecar_resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>, salt: str = <object object at 0x107efd2f0>, datum_set_spec: 'DatumSetSpec' = <object object at 0x107efd2f0>, datum_timeout: datetime.timedelta = <object object at 0x107efd2f0>, job_timeout: datetime.timedelta = <object object at 0x107efd2f0>, datum_tries: int = <object object at 0x107efd2f0>, scheduling_spec: 'SchedulingSpec' = <object object at 0x107efd2f0>, pod_spec: str = <object object at 0x107efd2f0>, pod_patch: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +datum_set_spec = <object object>
    +
    + +
    +
    +datum_timeout = <object object>
    +
    + +
    +
    +datum_tries = <object object>
    +
    + +
    +
    +egress = <object object>
    +
    + +
    +
    +input = <object object>
    +
    + +
    +
    +job_timeout = <object object>
    +
    + +
    +
    +parallelism_spec = <object object>
    +
    + +
    +
    +pod_patch = <object object>
    +
    + +
    +
    +pod_spec = <object object>
    +
    + +
    +
    +resource_limits = <object object>
    +
    + +
    +
    +resource_requests = <object object>
    +
    + +
    +
    +salt = <object object>
    +
    + +
    +
    +scheduling_spec = <object object>
    +
    + +
    +
    +service = <object object>
    +
    + +
    +
    +sidecar_resource_limits = <object object>
    +
    + +
    +
    +spout = <object object>
    +
    + +
    +
    +transform = <object object>
    +
    + +
    +
    +worker_status = <object object>
    +
    + +
    + +
    +
    +class JobInput(name: str = <object object at 0x107efd2f0>, commit: '_pfs_v2__.Commit' = <object object at 0x107efd2f0>, glob: str = <object object at 0x107efd2f0>, lazy: bool = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    +
    +glob = <object object>
    +
    + +
    +
    +lazy = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class JobSet(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 JobSetInfo(job_set: 'JobSet' = <object object at 0x107efd2f0>, jobs: List[ForwardRef('JobInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +job_set = <object object>
    +
    + +
    +
    +jobs = <object object>
    +
    + +
    + +
    +
    +class JobState(value)[source]
    +

    An enumeration.

    +
    +
    +JOB_CREATED = 1
    +
    + +
    +
    +JOB_EGRESSING = 7
    +
    + +
    +
    +JOB_FAILURE = 4
    +
    + +
    +
    +JOB_FINISHING = 8
    +
    + +
    +
    +JOB_KILLED = 6
    +
    + +
    +
    +JOB_RUNNING = 3
    +
    + +
    +
    +JOB_STARTING = 2
    +
    + +
    +
    +JOB_STATE_UNKNOWN = 0
    +
    + +
    +
    +JOB_SUCCESS = 5
    +
    + +
    + +
    +
    +class ListDatumRequest(job: 'Job' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +input = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class ListJobRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, input_commit: List[ForwardRef('_pfs_v2__.Commit')] = <object object at 0x107efd2f0>, history: int = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>, jq_filter: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +history = <object object>
    +
    + +
    +
    +input_commit = <object object>
    +
    + +
    +
    +jq_filter = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class ListJobSetRequest(details: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    + +
    +
    +class ListPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, history: int = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>, jq_filter: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +history = <object object>
    +
    + +
    +
    +jq_filter = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class LogMessage(pipeline_name=<object object>, job_id=<object object>, worker_id=<object object>, datum_id=<object object>, master=<object object>, data=<object object>, user=<object object>, ts=<object object>, message=<object object>)[source]
    +

    LogMessage is a log line from a PPS worker, annotated with metadata +indicating when and why the line was logged.

    +

    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.

    +
    +
    +data = <object object>
    +
    + +
    +
    +datum_id = <object object>
    +
    + +
    +
    +job_id = <object object>
    +
    + +
    +
    +master = <object object>
    +
    + +
    +
    +message = <object object>
    +
    + +
    +
    +pipeline_name = <object object>
    +
    + +
    +
    +ts = <object object>
    +
    + +
    +
    +user = <object object>
    +
    + +
    +
    +worker_id = <object object>
    +
    + +
    + +
    +
    +class Metadata(annotations: Dict[str, str] = <object object at 0x107efd2f0>, labels: Dict[str, str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +annotations = <object object>
    +
    + +
    +
    +labels = <object object>
    +
    + +
    + +
    +
    +class ParallelismSpec(constant: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +constant = <object object>
    +
    + +
    + +
    +
    +class PfsInput(name: str = <object object at 0x107efd2f0>, repo: str = <object object at 0x107efd2f0>, repo_type: str = <object object at 0x107efd2f0>, branch: str = <object object at 0x107efd2f0>, commit: str = <object object at 0x107efd2f0>, glob: str = <object object at 0x107efd2f0>, join_on: str = <object object at 0x107efd2f0>, outer_join: bool = <object object at 0x107efd2f0>, group_by: str = <object object at 0x107efd2f0>, lazy: bool = <object object at 0x107efd2f0>, empty_files: bool = <object object at 0x107efd2f0>, s3: bool = <object object at 0x107efd2f0>, trigger: '_pfs_v2__.Trigger' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +commit = <object object>
    +
    + +
    +
    +empty_files = <object object>
    +
    + +
    +
    +glob = <object object>
    +
    + +
    +
    +group_by = <object object>
    +
    + +
    +
    +join_on = <object object>
    +
    + +
    +
    +lazy = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +outer_join = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +repo_type = <object object>
    +
    + +
    +
    +s3 = <object object>
    +
    + +
    +
    +trigger = <object object>
    +
    + +
    + +
    +
    +class Pipeline(name: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class PipelineInfo(pipeline=<object object>, version=<object object>, spec_commit=<object object>, stopped=<object object>, state=<object object>, reason=<object object>, job_counts=<object object>, last_job_state=<object object>, parallelism=<object object>, type=<object object>, auth_token=<object object>, details=<object object>)[source]
    +

    PipelineInfo is proto for each pipeline that Pachd stores in the database. +It tracks the state of the pipeline, and points to its metadata in PFS +(and, by pointing to a PFS commit, de facto tracks the pipeline’s version). +Any information about the pipeline _not_ stored in the database is in the +Details object, which requires fetching the spec from PFS or other +potentially expensive operations.

    +

    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.

    +
    +
    +auth_token = <object object>
    +
    + +
    +
    +details = <object object>
    +
    + +
    +
    +job_counts = <object object>
    +
    + +
    +
    +last_job_state = <object object>
    +
    + +
    +
    +parallelism = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +spec_commit = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stopped = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    +
    +version = <object object>
    +
    + +
    + +
    +
    +class PipelineInfoDetails(transform: 'Transform' = <object object at 0x107efd2f0>, tf_job: 'TfJob' = <object object at 0x107efd2f0>, parallelism_spec: 'ParallelismSpec' = <object object at 0x107efd2f0>, egress: 'Egress' = <object object at 0x107efd2f0>, created_at: datetime.datetime = <object object at 0x107efd2f0>, recent_error: str = <object object at 0x107efd2f0>, workers_requested: int = <object object at 0x107efd2f0>, workers_available: int = <object object at 0x107efd2f0>, output_branch: str = <object object at 0x107efd2f0>, resource_requests: 'ResourceSpec' = <object object at 0x107efd2f0>, resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, sidecar_resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, salt: str = <object object at 0x107efd2f0>, reason: str = <object object at 0x107efd2f0>, service: 'Service' = <object object at 0x107efd2f0>, spout: 'Spout' = <object object at 0x107efd2f0>, datum_set_spec: 'DatumSetSpec' = <object object at 0x107efd2f0>, datum_timeout: datetime.timedelta = <object object at 0x107efd2f0>, job_timeout: datetime.timedelta = <object object at 0x107efd2f0>, datum_tries: int = <object object at 0x107efd2f0>, scheduling_spec: 'SchedulingSpec' = <object object at 0x107efd2f0>, pod_spec: str = <object object at 0x107efd2f0>, pod_patch: str = <object object at 0x107efd2f0>, s3_out: bool = <object object at 0x107efd2f0>, metadata: 'Metadata' = <object object at 0x107efd2f0>, reprocess_spec: str = <object object at 0x107efd2f0>, unclaimed_tasks: int = <object object at 0x107efd2f0>, worker_rc: str = <object object at 0x107efd2f0>, autoscaling: bool = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +autoscaling = <object object>
    +
    + +
    +
    +created_at = <object object>
    +
    + +
    +
    +datum_set_spec = <object object>
    +
    + +
    +
    +datum_timeout = <object object>
    +
    + +
    +
    +datum_tries = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +egress = <object object>
    +
    + +
    +
    +input = <object object>
    +
    + +
    +
    +job_timeout = <object object>
    +
    + +
    +
    +metadata = <object object>
    +
    + +
    +
    +output_branch = <object object>
    +
    + +
    +
    +parallelism_spec = <object object>
    +
    + +
    +
    +pod_patch = <object object>
    +
    + +
    +
    +pod_spec = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +recent_error = <object object>
    +
    + +
    +
    +reprocess_spec = <object object>
    +
    + +
    +
    +resource_limits = <object object>
    +
    + +
    +
    +resource_requests = <object object>
    +
    + +
    +
    +s3_out = <object object>
    +
    + +
    +
    +salt = <object object>
    +
    + +
    +
    +scheduling_spec = <object object>
    +
    + +
    +
    +service = <object object>
    +
    + +
    +
    +sidecar_resource_limits = <object object>
    +
    + +
    +
    +spout = <object object>
    +
    + +
    +
    +tf_job = <object object>
    +
    + +
    +
    +transform = <object object>
    +
    + +
    +
    +unclaimed_tasks = <object object>
    +
    + +
    +
    +worker_rc = <object object>
    +
    + +
    +
    +workers_available = <object object>
    +
    + +
    +
    +workers_requested = <object object>
    +
    + +
    + +
    +
    +class PipelineInfoPipelineType(value)[source]
    +

    An enumeration.

    +
    +
    +PIPELINE_TYPE_SERVICE = 3
    +
    + +
    +
    +PIPELINE_TYPE_SPOUT = 2
    +
    + +
    +
    +PIPELINE_TYPE_TRANSFORM = 1
    +
    + +
    +
    +PIPELINT_TYPE_UNKNOWN = 0
    +
    + +
    + +
    +
    +class PipelineInfos(pipeline_info: List[ForwardRef('PipelineInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pipeline_info = <object object>
    +
    + +
    + +
    +
    +class PipelineState(value)[source]
    +

    An enumeration.

    +
    +
    +PIPELINE_CRASHING = 7
    +
    + +
    +
    +PIPELINE_FAILURE = 4
    +
    + +
    +
    +PIPELINE_PAUSED = 5
    +
    + +
    +
    +PIPELINE_RESTARTING = 3
    +
    + +
    +
    +PIPELINE_RUNNING = 2
    +
    + +
    +
    +PIPELINE_STANDBY = 6
    +
    + +
    +
    +PIPELINE_STARTING = 1
    +
    + +
    +
    +PIPELINE_STATE_UNKNOWN = 0
    +
    + +
    + +
    +
    +class ProcessStats(download_time: datetime.timedelta = <object object at 0x107efd2f0>, process_time: datetime.timedelta = <object object at 0x107efd2f0>, upload_time: datetime.timedelta = <object object at 0x107efd2f0>, download_bytes: int = <object object at 0x107efd2f0>, upload_bytes: int = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +download_bytes = <object object>
    +
    + +
    +
    +download_time = <object object>
    +
    + +
    +
    +process_time = <object object>
    +
    + +
    +
    +upload_bytes = <object object>
    +
    + +
    +
    +upload_time = <object object>
    +
    + +
    + +
    +
    +class ResourceSpec(cpu=<object object>, memory=<object object>, gpu=<object object>, disk=<object object>)[source]
    +

    ResourceSpec describes the amount of resources that pipeline pods should +request from kubernetes, for scheduling.

    +

    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.

    +
    +
    +cpu = <object object>
    +
    + +
    +
    +disk = <object object>
    +
    + +
    +
    +gpu = <object object>
    +
    + +
    +
    +memory = <object object>
    +
    + +
    + +
    +
    +class RestartDatumRequest(job: 'Job' = <object object at 0x107efd2f0>, data_filters: List[str] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +data_filters = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class RunCronRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class RunPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, provenance: List[ForwardRef('_pfs_v2__.Commit')] = <object object at 0x107efd2f0>, job_id: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +job_id = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +provenance = <object object>
    +
    + +
    + +
    +
    +class SchedulingSpec(node_selector: Dict[str, str] = <object object at 0x107efd2f0>, priority_class_name: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +node_selector = <object object>
    +
    + +
    +
    +priority_class_name = <object object>
    +
    + +
    + +
    +
    +class Secret(name: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class SecretInfo(secret: 'Secret' = <object object at 0x107efd2f0>, type: str = <object object at 0x107efd2f0>, creation_timestamp: datetime.datetime = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +creation_timestamp = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class SecretInfos(secret_info: List[ForwardRef('SecretInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +secret_info = <object object>
    +
    + +
    + +
    +
    +class SecretMount(name: str = <object object at 0x107efd2f0>, key: str = <object object at 0x107efd2f0>, mount_path: str = <object object at 0x107efd2f0>, env_var: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +env_var = <object object>
    +
    + +
    +
    +key = <object object>
    +
    + +
    +
    +mount_path = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class Service(internal_port: int = <object object at 0x107efd2f0>, external_port: int = <object object at 0x107efd2f0>, ip: str = <object object at 0x107efd2f0>, type: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +external_port = <object object>
    +
    + +
    +
    +internal_port = <object object>
    +
    + +
    +
    +ip = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class Spout(service: 'Service' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +service = <object object>
    +
    + +
    + +
    +
    +class StartPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class StopJobRequest(job: 'Job' = <object object at 0x107efd2f0>, reason: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +job = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    + +
    +
    +class StopPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class SubscribeJobRequest(pipeline=<object object>, details=<object object>)[source]
    +

    Streams open jobs until canceled

    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class TfJob(tf_job: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +tf_job = <object object>
    +
    + +
    + +
    +
    +class Transform(image: str = <object object at 0x107efd2f0>, cmd: List[str] = <object object at 0x107efd2f0>, err_cmd: List[str] = <object object at 0x107efd2f0>, env: Dict[str, str] = <object object at 0x107efd2f0>, secrets: List[ForwardRef('SecretMount')] = <object object at 0x107efd2f0>, image_pull_secrets: List[str] = <object object at 0x107efd2f0>, stdin: List[str] = <object object at 0x107efd2f0>, err_stdin: List[str] = <object object at 0x107efd2f0>, accept_return_code: List[int] = <object object at 0x107efd2f0>, debug: bool = <object object at 0x107efd2f0>, user: str = <object object at 0x107efd2f0>, working_dir: str = <object object at 0x107efd2f0>, dockerfile: str = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +accept_return_code = <object object>
    +
    + +
    +
    +cmd = <object object>
    +
    + +
    +
    +debug = <object object>
    +
    + +
    +
    +dockerfile = <object object>
    +
    + +
    +
    +env = <object object>
    +
    + +
    +
    +err_cmd = <object object>
    +
    + +
    +
    +err_stdin = <object object>
    +
    + +
    +
    +image = <object object>
    +
    + +
    +
    +image_pull_secrets = <object object>
    +
    + +
    +
    +secrets = <object object>
    +
    + +
    +
    +stdin = <object object>
    +
    + +
    +
    +user = <object object>
    +
    + +
    +
    +working_dir = <object object>
    +
    + +
    + +
    +
    +class UpdateJobStateRequest(job: 'Job' = <object object at 0x107efd2f0>, state: 'JobState' = <object object at 0x107efd2f0>, reason: str = <object object at 0x107efd2f0>, restart: int = <object object at 0x107efd2f0>, data_processed: int = <object object at 0x107efd2f0>, data_skipped: int = <object object at 0x107efd2f0>, data_failed: int = <object object at 0x107efd2f0>, data_recovered: int = <object object at 0x107efd2f0>, data_total: int = <object object at 0x107efd2f0>, stats: 'ProcessStats' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +data_failed = <object object>
    +
    + +
    +
    +data_processed = <object object>
    +
    + +
    +
    +data_recovered = <object object>
    +
    + +
    +
    +data_skipped = <object object>
    +
    + +
    +
    +data_total = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +restart = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stats = <object object>
    +
    + +
    + +
    +
    +class Worker(name: str = <object object at 0x107efd2f0>, state: 'WorkerState' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class WorkerState(value)[source]
    +

    An enumeration.

    +
    +
    +POD_FAILED = 3
    +
    + +
    +
    +POD_RUNNING = 1
    +
    + +
    +
    +POD_SUCCESS = 2
    +
    + +
    +
    +WORKER_STATE_UNKNOWN = 0
    +
    + +
    + +
    +
    +class WorkerStatus(worker_id: str = <object object at 0x107efd2f0>, job_id: str = <object object at 0x107efd2f0>, datum_status: 'DatumStatus' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    +
    +datum_status = <object object>
    +
    + +
    +
    +job_id = <object object>
    +
    + +
    +
    +worker_id = <object object>
    +
    + +
    + +
    +
    +

    Transaction proto

    +
    +
    +class BatchTransactionRequest(requests: List[ForwardRef('TransactionRequest')] = <object object at 0x107efd2f0>)[source]
    +

    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]
    +

    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 0x107efd2f0>)[source]
    +

    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 0x107efd2f0>)[source]
    +

    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 0x107efd2f0>)[source]
    +

    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]
    +

    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]
    +

    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 0x107efd2f0>)[source]
    +

    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 0x107efd2f0>, requests: List[ForwardRef('TransactionRequest')] = <object object at 0x107efd2f0>, responses: List[ForwardRef('TransactionResponse')] = <object object at 0x107efd2f0>, started: datetime.datetime = <object object at 0x107efd2f0>, version: int = <object object at 0x107efd2f0>)[source]
    +

    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 0x107efd2f0>)[source]
    +

    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 0x107efd2f0>, delete_repo: '_pfs_v2__.DeleteRepoRequest' = <object object at 0x107efd2f0>, start_commit: '_pfs_v2__.StartCommitRequest' = <object object at 0x107efd2f0>, finish_commit: '_pfs_v2__.FinishCommitRequest' = <object object at 0x107efd2f0>, squash_commit_set: '_pfs_v2__.SquashCommitSetRequest' = <object object at 0x107efd2f0>, create_branch: '_pfs_v2__.CreateBranchRequest' = <object object at 0x107efd2f0>, delete_branch: '_pfs_v2__.DeleteBranchRequest' = <object object at 0x107efd2f0>, update_job_state: '_pps_v2__.UpdateJobStateRequest' = <object object at 0x107efd2f0>, create_pipeline: '_pps_v2__.CreatePipelineRequest' = <object object at 0x107efd2f0>, stop_job: '_pps_v2__.StopJobRequest' = <object object at 0x107efd2f0>)[source]
    +

    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 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    + +
    +
    +

    Version proto

    +
    +
    +class Version(major: int = <object object at 0x107efd2f0>, minor: int = <object object at 0x107efd2f0>, micro: int = <object object at 0x107efd2f0>, additional: str = <object object at 0x107efd2f0>)[source]
    +

    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>
    +
    + +
    + +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.admin_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.admin_v2.html new file mode 100644 index 00000000..77b8305f --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.admin_v2.html @@ -0,0 +1,195 @@ + + + + + + + python_pachyderm.experimental.proto.v2.admin_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.admin_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.admin_v2 package

    +
    +

    Module contents

    +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + +

    inspect_cluster

    +
    +
    +async inspect_cluster()[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + +

    inspect_cluster

    +
    +
    +async inspect_cluster()[source]
    +
    + +
    + +
    +
    +class ClusterInfo(id: str = <object object at 0x107efd2f0>, deployment_id: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +deployment_id = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.auth_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.auth_v2.html new file mode 100644 index 00000000..7b63a2b6 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.auth_v2.html @@ -0,0 +1,3297 @@ + + + + + + + python_pachyderm.experimental.proto.v2.auth_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.auth_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.auth_v2 package

    +
    +

    Module contents

    +
    +
    +class ActivateRequest(root_token=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    ActivateRequest enables authentication on the cluster. It issues an auth +token with no expiration for the irrevocable admin user pach:root.

    +

    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.

    +
    +
    +root_token = <object object>
    +
    + +
    + +
    +
    +class ActivateResponse(pach_token: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +pach_token = <object object>
    +
    + +
    + +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate

    authenticate

    authorize

    deactivate

    delete_expired_auth_tokens

    extract_auth_tokens

    get_configuration

    get_groups

    get_groups_for_principal

    get_oidc_login

    get_permissions

    get_permissions_for_principal

    get_robot_token

    get_role_binding

    get_roles_for_permission

    get_users

    modify_members

    modify_role_binding

    restore_auth_token

    revoke_auth_token

    revoke_auth_tokens_for_user

    rotate_root_token

    set_configuration

    set_groups_for_user

    who_am_i

    +
    +
    +async activate(root_token)[source]
    +
    + +
    +
    +async authenticate(oidc_state, id_token)[source]
    +
    + +
    +
    +async authorize(resource, permissions)[source]
    +
    + +
    +
    +async deactivate()[source]
    +
    + +
    +
    +async delete_expired_auth_tokens()[source]
    +
    + +
    +
    +async extract_auth_tokens()[source]
    +
    + +
    +
    +async get_configuration()[source]
    +
    + +
    +
    +async get_groups()[source]
    +
    + +
    +
    +async get_groups_for_principal(principal)[source]
    +
    + +
    +
    +async get_oidc_login()[source]
    +
    + +
    +
    +async get_permissions(resource)[source]
    +
    + +
    +
    +async get_permissions_for_principal(resource, principal)[source]
    +
    + +
    +
    +async get_robot_token(robot, ttl)[source]
    +
    + +
    +
    +async get_role_binding(resource)[source]
    +
    + +
    +
    +async get_roles_for_permission(permission)[source]
    +
    + +
    +
    +async get_users(group)[source]
    +
    + +
    +
    +async modify_members(group, add, remove)[source]
    +
    + +
    +
    +async modify_role_binding(resource, principal, roles)[source]
    +
    + +
    +
    +async restore_auth_token(token)[source]
    +
    + +
    +
    +async revoke_auth_token(token)[source]
    +
    + +
    +
    +async revoke_auth_tokens_for_user(username)[source]
    +
    + +
    +
    +async rotate_root_token(root_token)[source]
    +
    + +
    +
    +async set_configuration(configuration)[source]
    +
    + +
    +
    +async set_groups_for_user(username, groups)[source]
    +
    + +
    +
    +async who_am_i()[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate

    authenticate

    authorize

    deactivate

    delete_expired_auth_tokens

    extract_auth_tokens

    get_configuration

    get_groups

    get_groups_for_principal

    get_oidc_login

    get_permissions

    get_permissions_for_principal

    get_robot_token

    get_role_binding

    get_roles_for_permission

    get_users

    modify_members

    modify_role_binding

    restore_auth_token

    revoke_auth_token

    revoke_auth_tokens_for_user

    rotate_root_token

    set_configuration

    set_groups_for_user

    who_am_i

    +
    +
    +async activate(*, root_token='')[source]
    +
    + +
    +
    +async authenticate(*, oidc_state='', id_token='')[source]
    +
    + +
    +
    +async authorize(*, resource=None, permissions=None)[source]
    +
    + +
    +
    +async deactivate()[source]
    +
    + +
    +
    +async delete_expired_auth_tokens()[source]
    +
    + +
    +
    +async extract_auth_tokens()[source]
    +
    + +
    +
    +async get_configuration()[source]
    +
    + +
    +
    +async get_groups()[source]
    +
    + +
    +
    +async get_groups_for_principal(*, principal='')[source]
    +
    + +
    +
    +async get_oidc_login()[source]
    +
    + +
    +
    +async get_permissions(*, resource=None)[source]
    +
    + +
    +
    +async get_permissions_for_principal(*, resource=None, principal='')[source]
    +
    + +
    +
    +async get_robot_token(*, robot='', ttl=0)[source]
    +
    + +
    +
    +async get_role_binding(*, resource=None)[source]
    +
    + +
    +
    +async get_roles_for_permission(*, permission=None)[source]
    +
    + +
    +
    +async get_users(*, group='')[source]
    +
    + +
    +
    +async modify_members(*, group='', add=None, remove=None)[source]
    +
    + +
    +
    +async modify_role_binding(*, resource=None, principal='', roles=None)[source]
    +
    + +
    +
    +async restore_auth_token(*, token=None)[source]
    +
    + +
    +
    +async revoke_auth_token(*, token='')[source]
    +
    + +
    +
    +async revoke_auth_tokens_for_user(*, username='')[source]
    +
    + +
    +
    +async rotate_root_token(*, root_token='')[source]
    +
    + +
    +
    +async set_configuration(*, configuration=None)[source]
    +
    + +
    +
    +async set_groups_for_user(*, username='', groups=None)[source]
    +
    + +
    +
    +async who_am_i()[source]
    +
    + +
    + +
    +
    +class AuthenticateRequest(oidc_state: str = <object object at 0x107efd2f0>, id_token: str = <object object at 0x107efd2f0>)[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_token = <object object>
    +
    + +
    +
    +oidc_state = <object object>
    +
    + +
    + +
    +
    +class AuthenticateResponse(pach_token: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +pach_token = <object object>
    +
    + +
    + +
    +
    +class AuthorizeRequest(resource: 'Resource' = <object object at 0x107efd2f0>, permissions: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +permissions = <object object>
    +
    + +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class AuthorizeResponse(authorized: bool = <object object at 0x107efd2f0>, satisfied: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, missing: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, principal: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +authorized = <object object>
    +
    + +
    +
    +missing = <object object>
    +
    + +
    +
    +principal = <object object>
    +
    + +
    +
    +satisfied = <object object>
    +
    + +
    + +
    +
    +class DeactivateRequest[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 DeactivateResponse[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 DeleteExpiredAuthTokensRequest[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 DeleteExpiredAuthTokensResponse[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 ExtractAuthTokensRequest[source]
    +

    Bases: betterproto.Message

    +

    ExtractAuthTokens returns all the hashed robot tokens that have been +issued. User tokens are not extracted as they can be recreated by logging +in.

    +

    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 ExtractAuthTokensResponse(tokens: List[ForwardRef('TokenInfo')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +tokens = <object object>
    +
    + +
    + +
    +
    +class GetConfigurationRequest[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 GetConfigurationResponse(configuration: 'OidcConfig' = <object object at 0x107efd2f0>)[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.

    +
    +
    +configuration = <object object>
    +
    + +
    + +
    +
    +class GetGroupsForPrincipalRequest(principal: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +principal = <object object>
    +
    + +
    + +
    +
    +class GetGroupsRequest[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 GetGroupsResponse(groups: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +groups = <object object>
    +
    + +
    + +
    +
    +class GetOidcLoginRequest[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 GetOidcLoginResponse(login_url: str = <object object at 0x107efd2f0>, state: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +login_url = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class GetPermissionsForPrincipalRequest(resource=<object object>, principal=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    GetPermissionsForPrincipal evaluates an arbitrary principal’s permissions +on a resource

    +

    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.

    +
    +
    +principal = <object object>
    +
    + +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class GetPermissionsRequest(resource=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    GetPermissions evaluates the current user’s permissions on a resource

    +

    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.

    +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class GetPermissionsResponse(permissions: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, roles: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +permissions = <object object>
    +
    + +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class GetRobotTokenRequest(robot: str = <object object at 0x107efd2f0>, ttl: int = <object object at 0x107efd2f0>)[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.

    +
    +
    +robot = <object object>
    +
    + +
    +
    +ttl = <object object>
    +
    + +
    + +
    +
    +class GetRobotTokenResponse(token: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +token = <object object>
    +
    + +
    + +
    +
    +class GetRoleBindingRequest(resource: 'Resource' = <object object at 0x107efd2f0>)[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.

    +
    +
    +resource = <object object>
    +
    + +
    + +
    +
    +class GetRoleBindingResponse(binding: 'RoleBinding' = <object object at 0x107efd2f0>)[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.

    +
    +
    +binding = <object object>
    +
    + +
    + +
    +
    +class GetRolesForPermissionRequest(permission: 'Permission' = <object object at 0x107efd2f0>)[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.

    +
    +
    +permission = <object object>
    +
    + +
    + +
    +
    +class GetRolesForPermissionResponse(roles: List[ForwardRef('Role')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class GetUsersRequest(group: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +group = <object object>
    +
    + +
    + +
    +
    +class GetUsersResponse(usernames: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +usernames = <object object>
    +
    + +
    + +
    +
    +class Groups(groups: Dict[str, bool] = <object object at 0x107efd2f0>)[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.

    +
    +
    +groups = <object object>
    +
    + +
    + +
    +
    +class ModifyMembersRequest(group: str = <object object at 0x107efd2f0>, add: List[str] = <object object at 0x107efd2f0>, remove: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +add = <object object>
    +
    + +
    +
    +group = <object object>
    +
    + +
    +
    +remove = <object object>
    +
    + +
    + +
    +
    +class ModifyMembersResponse[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 ModifyRoleBindingRequest(resource: 'Resource' = <object object at 0x107efd2f0>, principal: str = <object object at 0x107efd2f0>, roles: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +principal = <object object>
    +
    + +
    +
    +resource = <object object>
    +
    + +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class ModifyRoleBindingResponse[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 OidcConfig(issuer=<object object>, client_id=<object object>, client_secret=<object object>, redirect_uri=<object object>, scopes=<object object>, require_email_verified=<object object>, localhost_issuer=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    Configure Pachyderm’s auth system with an OIDC provider

    +

    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.

    +
    +
    +client_id = <object object>
    +
    + +
    +
    +client_secret = <object object>
    +
    + +
    +
    +issuer = <object object>
    +
    + +
    +
    +localhost_issuer = <object object>
    +
    + +
    +
    +redirect_uri = <object object>
    +
    + +
    +
    +require_email_verified = <object object>
    +
    + +
    +
    +scopes = <object object>
    +
    + +
    + +
    +
    +class Permission(value)[source]
    +

    Bases: betterproto.Enum

    +

    Permission represents the ability to perform a given operation on a +Resource

    +
    +
    +CLUSTER_AUTH_ACTIVATE = 102
    +
    + +
    +
    +CLUSTER_AUTH_DEACTIVATE = 103
    +
    + +
    +
    +CLUSTER_AUTH_DELETE_EXPIRED_TOKENS = 140
    +
    + +
    +
    +CLUSTER_AUTH_EXTRACT_TOKENS = 112
    +
    + +
    +
    +CLUSTER_AUTH_GET_CONFIG = 104
    +
    + +
    +
    +CLUSTER_AUTH_GET_GROUPS = 110
    +
    + +
    +
    +CLUSTER_AUTH_GET_GROUP_USERS = 111
    +
    + +
    +
    +CLUSTER_AUTH_GET_PERMISSIONS_FOR_PRINCIPAL = 141
    +
    + +
    +
    +CLUSTER_AUTH_GET_ROBOT_TOKEN = 139
    +
    + +
    +
    +CLUSTER_AUTH_MODIFY_GROUP_MEMBERS = 109
    +
    + +
    +
    +CLUSTER_AUTH_RESTORE_TOKEN = 113
    +
    + +
    +
    +CLUSTER_AUTH_REVOKE_USER_TOKENS = 142
    +
    + +
    +
    +CLUSTER_AUTH_ROTATE_ROOT_TOKEN = 147
    +
    + +
    +
    +CLUSTER_AUTH_SET_CONFIG = 105
    +
    + +
    +
    +CLUSTER_CREATE_SECRET = 143
    +
    + +
    +
    +CLUSTER_DEBUG_DUMP = 131
    +
    + +
    +
    +CLUSTER_DELETE_ALL = 138
    +
    + +
    +
    +CLUSTER_ENTERPRISE_ACTIVATE = 114
    +
    + +
    +
    +CLUSTER_ENTERPRISE_DEACTIVATE = 117
    +
    + +
    +
    +CLUSTER_ENTERPRISE_GET_CODE = 116
    +
    + +
    +
    +CLUSTER_ENTERPRISE_HEARTBEAT = 115
    +
    + +
    +
    +CLUSTER_GET_BINDINGS = 101
    +
    + +
    +
    +CLUSTER_GET_PACHD_LOGS = 148
    +
    + +
    +
    +CLUSTER_IDENTITY_CREATE_IDP = 120
    +
    + +
    +
    +CLUSTER_IDENTITY_CREATE_OIDC_CLIENT = 125
    +
    + +
    +
    +CLUSTER_IDENTITY_DELETE_IDP = 124
    +
    + +
    +
    +CLUSTER_IDENTITY_DELETE_OIDC_CLIENT = 129
    +
    + +
    +
    +CLUSTER_IDENTITY_GET_CONFIG = 119
    +
    + +
    +
    +CLUSTER_IDENTITY_GET_IDP = 123
    +
    + +
    +
    +CLUSTER_IDENTITY_GET_OIDC_CLIENT = 128
    +
    + +
    +
    +CLUSTER_IDENTITY_LIST_IDPS = 122
    +
    + +
    +
    +CLUSTER_IDENTITY_LIST_OIDC_CLIENTS = 127
    +
    + +
    +
    +CLUSTER_IDENTITY_SET_CONFIG = 118
    +
    + +
    +
    +CLUSTER_IDENTITY_UPDATE_IDP = 121
    +
    + +
    +
    +CLUSTER_IDENTITY_UPDATE_OIDC_CLIENT = 126
    +
    + +
    +
    +CLUSTER_LICENSE_ACTIVATE = 132
    +
    + +
    +
    +CLUSTER_LICENSE_ADD_CLUSTER = 134
    +
    + +
    +
    +CLUSTER_LICENSE_DELETE_CLUSTER = 136
    +
    + +
    +
    +CLUSTER_LICENSE_GET_CODE = 133
    +
    + +
    +
    +CLUSTER_LICENSE_LIST_CLUSTERS = 137
    +
    + +
    +
    +CLUSTER_LICENSE_UPDATE_CLUSTER = 135
    +
    + +
    +
    +CLUSTER_LIST_SECRETS = 144
    +
    + +
    +
    +CLUSTER_MODIFY_BINDINGS = 100
    +
    + +
    +
    +PERMISSION_UNKNOWN = 0
    +
    + +
    +
    +PIPELINE_LIST_JOB = 301
    +
    + +
    +
    +REPO_ADD_PIPELINE_READER = 212
    +
    + +
    +
    +REPO_ADD_PIPELINE_WRITER = 214
    +
    + +
    +
    +REPO_CREATE_BRANCH = 207
    +
    + +
    +
    +REPO_DELETE = 203
    +
    + +
    +
    +REPO_DELETE_BRANCH = 209
    +
    + +
    +
    +REPO_DELETE_COMMIT = 206
    +
    + +
    +
    +REPO_INSPECT_COMMIT = 204
    +
    + +
    +
    +REPO_INSPECT_FILE = 210
    +
    + +
    +
    +REPO_LIST_BRANCH = 208
    +
    + +
    +
    +REPO_LIST_COMMIT = 205
    +
    + +
    +
    +REPO_LIST_FILE = 211
    +
    + +
    +
    +REPO_MODIFY_BINDINGS = 202
    +
    + +
    +
    +REPO_READ = 200
    +
    + +
    +
    +REPO_REMOVE_PIPELINE_READER = 213
    +
    + +
    +
    +REPO_WRITE = 201
    +
    + +
    +
    +SECRET_DELETE = 145
    +
    + +
    +
    +SECRET_INSPECT = 146
    +
    + +
    + +
    +
    +class Resource(type=<object object>, name=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    Resource represents any resource that has role-bindings in the system

    +

    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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class ResourceType(value)[source]
    +

    Bases: betterproto.Enum

    +

    ResourceType represents the type of a Resource

    +
    +
    +CLUSTER = 1
    +
    + +
    +
    +REPO = 2
    +
    + +
    +
    +RESOURCE_TYPE_UNKNOWN = 0
    +
    + +
    +
    +SPEC_REPO = 3
    +
    + +
    + +
    +
    +class RestoreAuthTokenRequest(token=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    RestoreAuthToken inserts a hashed token that has previously been extracted.

    +

    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.

    +
    +
    +token = <object object>
    +
    + +
    + +
    +
    +class RestoreAuthTokenResponse[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 RevokeAuthTokenRequest(token: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +token = <object object>
    +
    + +
    + +
    +
    +class RevokeAuthTokenResponse[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 RevokeAuthTokensForUserRequest(username: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +username = <object object>
    +
    + +
    + +
    +
    +class RevokeAuthTokensForUserResponse[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 Role(name: str = <object object at 0x107efd2f0>, permissions: List[ForwardRef('Permission')] = <object object at 0x107efd2f0>, resource_types: List[ForwardRef('ResourceType')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +permissions = <object object>
    +
    + +
    +
    +resource_types = <object object>
    +
    + +
    + +
    +
    +class RoleBinding(entries=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    RoleBinding represents the set of roles principals have on a given Resource

    +

    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.

    +
    +
    +entries = <object object>
    +
    + +
    + +
    +
    +class Roles(roles=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    Roles represents the set of roles a principal has

    +

    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.

    +
    +
    +roles = <object object>
    +
    + +
    + +
    +
    +class RotateRootTokenRequest(root_token: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +root_token = <object object>
    +
    + +
    + +
    +
    +class RotateRootTokenResponse(root_token: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +root_token = <object object>
    +
    + +
    + +
    +
    +class SessionInfo(nonce=<object object>, email=<object object>, conversion_err=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    SessionInfo stores information associated with one OIDC authentication +session (i.e. a single instance of a single user logging in). Sessions are +short-lived and stored in the ‘oidc-authns’ collection, keyed by the OIDC +‘state’ token (30-character CSPRNG-generated string). ‘GetOIDCLogin’ +generates and inserts entries, then /authorization-code/callback retrieves +an access token from the ID provider and uses it to retrive the caller’s +email and store it in ‘email’, and finally Authorize() returns a Pachyderm +token identified with that email address as a subject in Pachyderm.

    +

    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.

    +
    +
    +conversion_err = <object object>
    +
    + +
    +
    +email = <object object>
    +
    + +
    +
    +nonce = <object object>
    +
    + +
    + +
    +
    +class SetConfigurationRequest(configuration: 'OidcConfig' = <object object at 0x107efd2f0>)[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.

    +
    +
    +configuration = <object object>
    +
    + +
    + +
    +
    +class SetConfigurationResponse[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 SetGroupsForUserRequest(username: str = <object object at 0x107efd2f0>, groups: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +groups = <object object>
    +
    + +
    +
    +username = <object object>
    +
    + +
    + +
    +
    +class SetGroupsForUserResponse[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 TokenInfo(subject=<object object>, expiration=<object object>, hashed_token=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    TokenInfo is the ‘value’ of an auth token ‘key’ in the ‘tokens’ collection

    +

    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.

    +
    +
    +expiration = <object object>
    +
    + +
    +
    +hashed_token = <object object>
    +
    + +
    +
    +subject = <object object>
    +
    + +
    + +
    +
    +class Users(usernames: Dict[str, bool] = <object object at 0x107efd2f0>)[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.

    +
    +
    +usernames = <object object>
    +
    + +
    + +
    +
    +class WhoAmIRequest[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 WhoAmIResponse(username: str = <object object at 0x107efd2f0>, expiration: datetime.datetime = <object object at 0x107efd2f0>)[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.

    +
    +
    +expiration = <object object>
    +
    + +
    +
    +username = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.debug_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.debug_v2.html new file mode 100644 index 00000000..f7391fe9 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.debug_v2.html @@ -0,0 +1,457 @@ + + + + + + + python_pachyderm.experimental.proto.v2.debug_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.debug_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.debug_v2 package

    +
    +

    Module contents

    +
    +
    +class BinaryRequest(filter: 'Filter' = <object object at 0x107efd2f0>)[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.

    +
    +
    +filter = <object object>
    +
    + +
    + +
    +
    +class DebugBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + + + + + + + +

    binary

    dump

    profile

    +
    +
    +async binary(filter)[source]
    +
    + +
    +
    +async dump(filter, limit)[source]
    +
    + +
    +
    +async profile(profile, filter)[source]
    +
    + +
    + +
    +
    +class DebugStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + + + + + + + +

    binary

    dump

    profile

    +
    +
    +async binary(*, filter=None)[source]
    +
    + +
    +
    +async dump(*, filter=None, limit=0)[source]
    +
    + +
    +
    +async profile(*, profile=None, filter=None)[source]
    +
    + +
    + +
    +
    +class DumpRequest(filter: 'Filter' = <object object at 0x107efd2f0>, limit: int = <object object at 0x107efd2f0>)[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.

    +
    +
    +filter = <object object>
    +
    + +
    +
    +limit = <object object>
    +
    + +
    + +
    +
    +class Filter(pachd: bool = <object object at 0x107efd2f0>, pipeline: '_pps_v2__.Pipeline' = <object object at 0x107efd2f0>, worker: 'Worker' = <object object at 0x107efd2f0>)[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.

    +
    +
    +pachd = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +worker = <object object>
    +
    + +
    + +
    +
    +class Profile(name: str = <object object at 0x107efd2f0>, duration: datetime.timedelta = <object object at 0x107efd2f0>)[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.

    +
    +
    +duration = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class ProfileRequest(profile: 'Profile' = <object object at 0x107efd2f0>, filter: 'Filter' = <object object at 0x107efd2f0>)[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.

    +
    +
    +filter = <object object>
    +
    + +
    +
    +profile = <object object>
    +
    + +
    + +
    +
    +class Worker(pod: str = <object object at 0x107efd2f0>, redirected: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +pod = <object object>
    +
    + +
    +
    +redirected = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.enterprise_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.enterprise_v2.html new file mode 100644 index 00000000..7b1a46dd --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.enterprise_v2.html @@ -0,0 +1,844 @@ + + + + + + + python_pachyderm.experimental.proto.v2.enterprise_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.enterprise_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.enterprise_v2 package

    +
    +

    Module contents

    +
    +
    +class ActivateRequest(license_server: str = <object object at 0x107efd2f0>, id: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>)[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>
    +
    + +
    +
    +license_server = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class ActivateResponse[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 ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + +

    activate

    deactivate

    get_activation_code

    get_state

    heartbeat

    +
    +
    +async activate(license_server, id, secret)[source]
    +
    + +
    +
    +async deactivate()[source]
    +
    + +
    +
    +async get_activation_code()[source]
    +
    + +
    +
    +async get_state()[source]
    +
    + +
    +
    +async heartbeat()[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + +

    activate

    deactivate

    get_activation_code

    get_state

    heartbeat

    +
    +
    +async activate(*, license_server='', id='', secret='')[source]
    +
    + +
    +
    +async deactivate()[source]
    +
    + +
    +
    +async get_activation_code()[source]
    +
    + +
    +
    +async get_state()[source]
    +
    + +
    +
    +async heartbeat()[source]
    +
    + +
    + +
    +
    +class DeactivateRequest[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 DeactivateResponse[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 EnterpriseConfig(license_server=<object object>, id=<object object>, secret=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    EnterpriseConfig is the configuration we store for heartbeating to the +license server.

    +

    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>
    +
    + +
    +
    +license_server = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class EnterpriseRecord(license=<object object>, last_heartbeat=<object object>, heartbeat_failed=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    EnterpriseRecord is a protobuf we cache in etcd to store the enterprise +status.

    +

    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.

    +
    +
    +heartbeat_failed = <object object>
    +
    + +
    +
    +last_heartbeat = <object object>
    +
    + +
    +
    +license = <object object>
    +
    + +
    + +
    +
    +class GetActivationCodeRequest[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 GetActivationCodeResponse(state: 'State' = <object object at 0x107efd2f0>, info: 'TokenInfo' = <object object at 0x107efd2f0>, activation_code: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +info = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class GetStateRequest[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 GetStateResponse(state: 'State' = <object object at 0x107efd2f0>, info: 'TokenInfo' = <object object at 0x107efd2f0>, activation_code: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +info = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class HeartbeatRequest[source]
    +

    Bases: betterproto.Message

    +

    Heartbeat in the enterprise service just triggers a heartbeat for testing +purposes. The RPC used to communicate with the license service is defined +in the license service.

    +

    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 HeartbeatResponse[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 LicenseRecord(activation_code=<object object>, expires=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    LicenseRecord is the record we store in etcd for a Pachyderm enterprise +token that has been provided to a Pachyderm license server

    +

    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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +expires = <object object>
    +
    + +
    + +
    +
    +class State(value)[source]
    +

    Bases: betterproto.Enum

    +

    An enumeration.

    +
    +
    +ACTIVE = 1
    +
    + +
    +
    +EXPIRED = 2
    +
    + +
    +
    +HEARTBEAT_FAILED = 3
    +
    + +
    +
    +NONE = 0
    +
    + +
    + +
    +
    +class TokenInfo(expires=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    TokenInfo contains information about the currently active enterprise token

    +

    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.

    +
    +
    +expires = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.html new file mode 100644 index 00000000..7d9687b0 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.html @@ -0,0 +1,154 @@ + + + + + + + python_pachyderm.experimental.proto.v2 package — python-pachyderm documentation + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.identity_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.identity_v2.html new file mode 100644 index 00000000..f193bb3b --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.identity_v2.html @@ -0,0 +1,1570 @@ + + + + + + + python_pachyderm.experimental.proto.v2.identity_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.identity_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.identity_v2 package

    +
    +

    Module contents

    +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    create_idp_connector

    create_oidc_client

    delete_all

    delete_idp_connector

    delete_oidc_client

    get_identity_server_config

    get_idp_connector

    get_oidc_client

    list_idp_connectors

    list_oidc_clients

    set_identity_server_config

    update_idp_connector

    update_oidc_client

    +
    +
    +async create_idp_connector()[source]
    +
    + +
    +
    +async create_oidc_client()[source]
    +
    + +
    +
    +async delete_all()[source]
    +
    + +
    +
    +async delete_idp_connector()[source]
    +
    + +
    +
    +async delete_oidc_client()[source]
    +
    + +
    +
    +async get_identity_server_config()[source]
    +
    + +
    +
    +async get_idp_connector()[source]
    +
    + +
    +
    +async get_oidc_client()[source]
    +
    + +
    +
    +async list_idp_connectors()[source]
    +
    + +
    +
    +async list_oidc_clients()[source]
    +
    + +
    +
    +async set_identity_server_config(config)[source]
    +
    + +
    +
    +async update_idp_connector()[source]
    +
    + +
    +
    +async update_oidc_client()[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    create_idp_connector

    create_oidc_client

    delete_all

    delete_idp_connector

    delete_oidc_client

    get_identity_server_config

    get_idp_connector

    get_oidc_client

    list_idp_connectors

    list_oidc_clients

    set_identity_server_config

    update_idp_connector

    update_oidc_client

    +
    +
    +async create_idp_connector()[source]
    +
    + +
    +
    +async create_oidc_client()[source]
    +
    + +
    +
    +async delete_all()[source]
    +
    + +
    +
    +async delete_idp_connector()[source]
    +
    + +
    +
    +async delete_oidc_client()[source]
    +
    + +
    +
    +async get_identity_server_config()[source]
    +
    + +
    +
    +async get_idp_connector()[source]
    +
    + +
    +
    +async get_oidc_client()[source]
    +
    + +
    +
    +async list_idp_connectors()[source]
    +
    + +
    +
    +async list_oidc_clients()[source]
    +
    + +
    +
    +async set_identity_server_config(*, config=None)[source]
    +
    + +
    +
    +async update_idp_connector()[source]
    +
    + +
    +
    +async update_oidc_client()[source]
    +
    + +
    + +
    +
    +class CreateIdpConnectorRequest(connector: 'IdpConnector' = <object object at 0x107efd2f0>)[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.

    +
    +
    +connector = <object object>
    +
    + +
    + +
    +
    +class CreateIdpConnectorResponse[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 CreateOidcClientRequest(client: 'OidcClient' = <object object at 0x107efd2f0>)[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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class CreateOidcClientResponse(client: 'OidcClient' = <object object at 0x107efd2f0>)[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.

    +
    +
    +client = <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 DeleteAllResponse[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 DeleteIdpConnectorRequest(id: str = <object object at 0x107efd2f0>)[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 DeleteIdpConnectorResponse[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 DeleteOidcClientRequest(id: str = <object object at 0x107efd2f0>)[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 DeleteOidcClientResponse[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 GetIdentityServerConfigRequest[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 GetIdentityServerConfigResponse(config: 'IdentityServerConfig' = <object object at 0x107efd2f0>)[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.

    +
    +
    +config = <object object>
    +
    + +
    + +
    +
    +class GetIdpConnectorRequest(id: str = <object object at 0x107efd2f0>)[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 GetIdpConnectorResponse(connector: 'IdpConnector' = <object object at 0x107efd2f0>)[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.

    +
    +
    +connector = <object object>
    +
    + +
    + +
    +
    +class GetOidcClientRequest(id: str = <object object at 0x107efd2f0>)[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 GetOidcClientResponse(client: 'OidcClient' = <object object at 0x107efd2f0>)[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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class IdentityServerConfig(issuer=<object object>, id_token_expiry=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    IdentityServerConfig is the configuration for the identity web server. When +the configuration is changed the web server is reloaded automatically.

    +

    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_token_expiry = <object object>
    +
    + +
    +
    +issuer = <object object>
    +
    + +
    + +
    +
    +class IdpConnector(id=<object object>, name=<object object>, type=<object object>, config_version=<object object>, json_config=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    IDPConnector represents a connection to an identity provider

    +

    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.

    +
    +
    +config_version = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +json_config = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class ListIdpConnectorsRequest[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 ListIdpConnectorsResponse(connectors: List[ForwardRef('IdpConnector')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +connectors = <object object>
    +
    + +
    + +
    +
    +class ListOidcClientsRequest[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 ListOidcClientsResponse(clients: List[ForwardRef('OidcClient')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +clients = <object object>
    +
    + +
    + +
    +
    +class OidcClient(id: str = <object object at 0x107efd2f0>, redirect_uris: List[str] = <object object at 0x107efd2f0>, trusted_peers: List[str] = <object object at 0x107efd2f0>, name: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>)[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>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +redirect_uris = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +trusted_peers = <object object>
    +
    + +
    + +
    +
    +class SetIdentityServerConfigRequest(config: 'IdentityServerConfig' = <object object at 0x107efd2f0>)[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.

    +
    +
    +config = <object object>
    +
    + +
    + +
    +
    +class SetIdentityServerConfigResponse[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 UpdateIdpConnectorRequest(connector: 'IdpConnector' = <object object at 0x107efd2f0>)[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.

    +
    +
    +connector = <object object>
    +
    + +
    + +
    +
    +class UpdateIdpConnectorResponse[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 UpdateOidcClientRequest(client: 'OidcClient' = <object object at 0x107efd2f0>)[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.

    +
    +
    +client = <object object>
    +
    + +
    + +
    +
    +class UpdateOidcClientResponse[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 User(email=<object object>, last_authenticated=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    User represents an IDP user that has authenticated via OIDC

    +

    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.

    +
    +
    +email = <object object>
    +
    + +
    +
    +last_authenticated = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.license_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.license_v2.html new file mode 100644 index 00000000..d856b9fb --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.license_v2.html @@ -0,0 +1,1256 @@ + + + + + + + python_pachyderm.experimental.proto.v2.license_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.license_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.license_v2 package

    +
    +

    Module contents

    +
    +
    +class ActivateRequest(activation_code: str = <object object at 0x107efd2f0>, expires: datetime.datetime = <object object at 0x107efd2f0>)[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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +expires = <object object>
    +
    + +
    + +
    +
    +class ActivateResponse(info: '_enterprise_v2__.TokenInfo' = <object object at 0x107efd2f0>)[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.

    +
    +
    +info = <object object>
    +
    + +
    + +
    +
    +class AddClusterRequest(id: str = <object object at 0x107efd2f0>, address: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>, user_address: str = <object object at 0x107efd2f0>, cluster_deployment_id: str = <object object at 0x107efd2f0>, enterprise_server: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +cluster_deployment_id = <object object>
    +
    + +
    +
    +enterprise_server = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +user_address = <object object>
    +
    + +
    + +
    +
    +class AddClusterResponse(secret: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate

    add_cluster

    delete_all

    delete_cluster

    get_activation_code

    heartbeat

    list_clusters

    list_user_clusters

    update_cluster

    +
    +
    +async activate(activation_code, expires)[source]
    +
    + +
    +
    +async add_cluster(id, address, secret, user_address, cluster_deployment_id, enterprise_server)[source]
    +
    + +
    +
    +async delete_all()[source]
    +
    + +
    +
    +async delete_cluster(id)[source]
    +
    + +
    +
    +async get_activation_code()[source]
    +
    + +
    +
    +async heartbeat(id, secret, version, auth_enabled, client_id)[source]
    +
    + +
    +
    +async list_clusters()[source]
    +
    + +
    +
    +async list_user_clusters()[source]
    +
    + +
    +
    +async update_cluster(id, address, user_address, cluster_deployment_id)[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate

    add_cluster

    delete_all

    delete_cluster

    get_activation_code

    heartbeat

    list_clusters

    list_user_clusters

    update_cluster

    +
    +
    +async activate(*, activation_code='', expires=None)[source]
    +
    + +
    +
    +async add_cluster(*, id='', address='', secret='', user_address='', cluster_deployment_id='', enterprise_server=False)[source]
    +
    + +
    +
    +async delete_all()[source]
    +
    + +
    +
    +async delete_cluster(*, id='')[source]
    +
    + +
    +
    +async get_activation_code()[source]
    +
    + +
    +
    +async heartbeat(*, id='', secret='', version='', auth_enabled=False, client_id='')[source]
    +
    + +
    +
    +async list_clusters()[source]
    +
    + +
    +
    +async list_user_clusters()[source]
    +
    + +
    +
    +async update_cluster(*, id='', address='', user_address='', cluster_deployment_id='')[source]
    +
    + +
    + +
    +
    +class ClusterStatus(id: str = <object object at 0x107efd2f0>, address: str = <object object at 0x107efd2f0>, version: str = <object object at 0x107efd2f0>, auth_enabled: bool = <object object at 0x107efd2f0>, client_id: str = <object object at 0x107efd2f0>, last_heartbeat: datetime.datetime = <object object at 0x107efd2f0>, created_at: datetime.datetime = <object object at 0x107efd2f0>)[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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +auth_enabled = <object object>
    +
    + +
    +
    +client_id = <object object>
    +
    + +
    +
    +created_at = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +last_heartbeat = <object object>
    +
    + +
    +
    +version = <object object>
    +
    + +
    + +
    +
    +class DeactivateRequest[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 DeactivateResponse[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 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 DeleteAllResponse[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 DeleteClusterRequest(id: str = <object object at 0x107efd2f0>)[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 DeleteClusterResponse[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 GetActivationCodeRequest[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 GetActivationCodeResponse(state: '_enterprise_v2__.State' = <object object at 0x107efd2f0>, info: '_enterprise_v2__.TokenInfo' = <object object at 0x107efd2f0>, activation_code: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +activation_code = <object object>
    +
    + +
    +
    +info = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class HeartbeatRequest(id: str = <object object at 0x107efd2f0>, secret: str = <object object at 0x107efd2f0>, version: str = <object object at 0x107efd2f0>, auth_enabled: bool = <object object at 0x107efd2f0>, client_id: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +auth_enabled = <object object>
    +
    + +
    +
    +client_id = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +version = <object object>
    +
    + +
    + +
    +
    +class HeartbeatResponse(license: '_enterprise_v2__.LicenseRecord' = <object object at 0x107efd2f0>)[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.

    +
    +
    +license = <object object>
    +
    + +
    + +
    +
    +class ListClustersRequest[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 ListClustersResponse(clusters: List[ForwardRef('ClusterStatus')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +clusters = <object object>
    +
    + +
    + +
    +
    +class ListUserClustersRequest[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 ListUserClustersResponse(clusters: List[ForwardRef('UserClusterInfo')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +clusters = <object object>
    +
    + +
    + +
    +
    +class UpdateClusterRequest(id=<object object>, address=<object object>, user_address=<object object>, cluster_deployment_id=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    Note: Updates of the enterprise-server field are not allowed. In the worst +case, a user can recreate their cluster if they need the field updated.

    +

    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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +cluster_deployment_id = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    +
    +user_address = <object object>
    +
    + +
    + +
    +
    +class UpdateClusterResponse[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 UserClusterInfo(id: str = <object object at 0x107efd2f0>, cluster_deployment_id: str = <object object at 0x107efd2f0>, address: str = <object object at 0x107efd2f0>, enterprise_server: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +address = <object object>
    +
    + +
    +
    +cluster_deployment_id = <object object>
    +
    + +
    +
    +enterprise_server = <object object>
    +
    + +
    +
    +id = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.pfs_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.pfs_v2.html new file mode 100644 index 00000000..fb6f4ae9 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.pfs_v2.html @@ -0,0 +1,2306 @@ + + + + + + + python_pachyderm.experimental.proto.v2.pfs_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.pfs_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.pfs_v2 package

    +
    +

    Module contents

    +
    +
    +class ActivateAuthRequest[source]
    +

    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 ActivateAuthResponse[source]
    +

    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 AddFile(path: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>, raw: Optional[bytes] = <object object at 0x107efd2f0>, url: 'AddFileUrlSource' = <object object at 0x107efd2f0>)[source]
    +

    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 AddFileSetRequest(commit: 'Commit' = <object object at 0x107efd2f0>, file_set_id: str = <object object at 0x107efd2f0>)[source]
    +

    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 AddFileUrlSource(url: str = <object object at 0x107efd2f0>, recursive: bool = <object object at 0x107efd2f0>)[source]
    +

    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 ApiBase[source]
    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_auth

    add_file_set

    clear_commit

    create_branch

    create_file_set

    create_repo

    delete_all

    delete_branch

    delete_repo

    diff_file

    drop_commit_set

    finish_commit

    fsck

    get_file

    get_file_set

    get_file_tar

    glob_file

    inspect_branch

    inspect_commit

    inspect_commit_set

    inspect_file

    inspect_repo

    list_branch

    list_commit

    list_commit_set

    list_file

    list_repo

    modify_file

    renew_file_set

    run_load_test

    run_load_test_default

    squash_commit_set

    start_commit

    subscribe_commit

    walk_file

    +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_auth

    add_file_set

    clear_commit

    create_branch

    create_file_set

    create_repo

    delete_all

    delete_branch

    delete_repo

    diff_file

    drop_commit_set

    finish_commit

    fsck

    get_file

    get_file_set

    get_file_tar

    glob_file

    inspect_branch

    inspect_commit

    inspect_commit_set

    inspect_file

    inspect_repo

    list_branch

    list_commit

    list_commit_set

    list_file

    list_repo

    modify_file

    renew_file_set

    run_load_test

    run_load_test_default

    squash_commit_set

    start_commit

    subscribe_commit

    walk_file

    +
    + +
    +
    +class Branch(repo: 'Repo' = <object object at 0x107efd2f0>, name: str = <object object at 0x107efd2f0>)[source]
    +

    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 BranchInfo(branch: 'Branch' = <object object at 0x107efd2f0>, head: 'Commit' = <object object at 0x107efd2f0>, provenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, subvenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, direct_provenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, trigger: 'Trigger' = <object object at 0x107efd2f0>)[source]
    +

    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 ClearCommitRequest(commit: 'Commit' = <object object at 0x107efd2f0>)[source]
    +

    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 Commit(branch=<object object>, id=<object object>)[source]
    +

    Commit is a reference to a commit (e.g. the collection of branches and the +collection of currently-open commits in etcd are collections of Commit +protos)

    +

    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 CommitInfo(commit=<object object>, origin=<object object>, description=<object object>, parent_commit=<object object>, child_commits=<object object>, started=<object object>, finishing=<object object>, finished=<object object>, direct_provenance=<object object>, error=<object object>, size_bytes_upper_bound=<object object>, details=<object object>)[source]
    +

    CommitInfo is the main data structure representing a commit in etcd

    +

    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 CommitInfoDetails(size_bytes=<object object>)[source]
    +

    Details are only provided when explicitly requested

    +

    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 CommitOrigin(kind: 'OriginKind' = <object object at 0x107efd2f0>)[source]
    +

    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 CommitSet(id: str = <object object at 0x107efd2f0>)[source]
    +

    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 CommitSetInfo(commit_set: 'CommitSet' = <object object at 0x107efd2f0>, commits: List[ForwardRef('CommitInfo')] = <object object at 0x107efd2f0>)[source]
    +

    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 CommitState(value)[source]
    +

    CommitState describes the states a commit can be in. The states are +increasingly specific, i.e. a commit that is FINISHED also counts as +STARTED.

    +
    + +
    +
    +class CopyFile(dst: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>, src: 'File' = <object object at 0x107efd2f0>, append: bool = <object object at 0x107efd2f0>)[source]
    +

    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 CreateBranchRequest(head: 'Commit' = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>, provenance: List[ForwardRef('Branch')] = <object object at 0x107efd2f0>, trigger: 'Trigger' = <object object at 0x107efd2f0>, new_commit_set: bool = <object object at 0x107efd2f0>)[source]
    +

    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 CreateFileSetResponse(file_set_id: str = <object object at 0x107efd2f0>)[source]
    +

    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 CreateRepoRequest(repo: 'Repo' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, update: bool = <object object at 0x107efd2f0>)[source]
    +

    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 DeleteBranchRequest(branch: 'Branch' = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>)[source]
    +

    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 DeleteFile(path: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>)[source]
    +

    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 DeleteRepoRequest(repo: 'Repo' = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>)[source]
    +

    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 Delimiter(value)[source]
    +

    An enumeration.

    +
    + +
    +
    +class DiffFileRequest(new_file: 'File' = <object object at 0x107efd2f0>, old_file: 'File' = <object object at 0x107efd2f0>, shallow: bool = <object object at 0x107efd2f0>)[source]
    +

    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 DiffFileResponse(new_file: 'FileInfo' = <object object at 0x107efd2f0>, old_file: 'FileInfo' = <object object at 0x107efd2f0>)[source]
    +

    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 DropCommitSetRequest(commit_set: 'CommitSet' = <object object at 0x107efd2f0>)[source]
    +

    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 File(commit: 'Commit' = <object object at 0x107efd2f0>, path: str = <object object at 0x107efd2f0>, datum: str = <object object at 0x107efd2f0>)[source]
    +

    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 FileInfo(file: 'File' = <object object at 0x107efd2f0>, file_type: 'FileType' = <object object at 0x107efd2f0>, committed: datetime.datetime = <object object at 0x107efd2f0>, size_bytes: int = <object object at 0x107efd2f0>, hash: bytes = <object object at 0x107efd2f0>)[source]
    +

    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 FileType(value)[source]
    +

    An enumeration.

    +
    + +
    +
    +class FinishCommitRequest(commit: 'Commit' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, error: str = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>)[source]
    +

    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 FsckRequest(fix: bool = <object object at 0x107efd2f0>)[source]
    +

    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 FsckResponse(fix: str = <object object at 0x107efd2f0>, error: str = <object object at 0x107efd2f0>)[source]
    +

    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 GetFileRequest(file: 'File' = <object object at 0x107efd2f0>, url: str = <object object at 0x107efd2f0>, offset: int = <object object at 0x107efd2f0>)[source]
    +

    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 GetFileSetRequest(commit: 'Commit' = <object object at 0x107efd2f0>)[source]
    +

    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 GlobFileRequest(commit: 'Commit' = <object object at 0x107efd2f0>, pattern: str = <object object at 0x107efd2f0>)[source]
    +

    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 InspectBranchRequest(branch: 'Branch' = <object object at 0x107efd2f0>)[source]
    +

    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 InspectCommitRequest(commit: 'Commit' = <object object at 0x107efd2f0>, wait: 'CommitState' = <object object at 0x107efd2f0>)[source]
    +

    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 InspectCommitSetRequest(commit_set: 'CommitSet' = <object object at 0x107efd2f0>, wait: bool = <object object at 0x107efd2f0>)[source]
    +

    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 InspectFileRequest(file: 'File' = <object object at 0x107efd2f0>)[source]
    +

    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 InspectRepoRequest(repo: 'Repo' = <object object at 0x107efd2f0>)[source]
    +

    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 ListBranchRequest(repo: 'Repo' = <object object at 0x107efd2f0>, reverse: bool = <object object at 0x107efd2f0>)[source]
    +

    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 ListCommitRequest(repo: 'Repo' = <object object at 0x107efd2f0>, from_: 'Commit' = <object object at 0x107efd2f0>, to: 'Commit' = <object object at 0x107efd2f0>, number: int = <object object at 0x107efd2f0>, reverse: bool = <object object at 0x107efd2f0>, all: bool = <object object at 0x107efd2f0>, origin_kind: 'OriginKind' = <object object at 0x107efd2f0>)[source]
    +

    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 ListCommitSetRequest[source]
    +

    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 ListFileRequest(file: 'File' = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[source]
    +

    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 ListRepoRequest(type: str = <object object at 0x107efd2f0>)[source]
    +

    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 ModifyFileRequest(set_commit: 'Commit' = <object object at 0x107efd2f0>, add_file: 'AddFile' = <object object at 0x107efd2f0>, delete_file: 'DeleteFile' = <object object at 0x107efd2f0>, copy_file: 'CopyFile' = <object object at 0x107efd2f0>)[source]
    +

    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 OriginKind(value)[source]
    +

    These are the different places where a commit may be originated from

    +
    + +
    +
    +class RenewFileSetRequest(file_set_id: str = <object object at 0x107efd2f0>, ttl_seconds: int = <object object at 0x107efd2f0>)[source]
    +

    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 Repo(name: str = <object object at 0x107efd2f0>, type: str = <object object at 0x107efd2f0>)[source]
    +

    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 RepoAuthInfo(permissions=<object object>, roles=<object object>)[source]
    +

    RepoAuthInfo includes the caller’s access scope for a repo, and is returned +by ListRepo and InspectRepo but not persisted in etcd. It’s used by the +Pachyderm dashboard to render repo access appropriately. To set a user’s +auth scope for a repo, use the Pachyderm Auth API (in +src/client/auth/auth.proto)

    +

    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 RepoInfo(repo=<object object>, created=<object object>, size_bytes_upper_bound=<object object>, description=<object object>, branches=<object object>, auth_info=<object object>, details=<object object>)[source]
    +

    RepoInfo is the main data structure representing a Repo in etcd

    +

    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 RepoInfoDetails(size_bytes=<object object>)[source]
    +

    Details are only provided when explicitly requested

    +

    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 RunLoadTestRequest(spec: str = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>, seed: int = <object object at 0x107efd2f0>)[source]
    +

    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 RunLoadTestResponse(spec: str = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>, seed: int = <object object at 0x107efd2f0>, error: str = <object object at 0x107efd2f0>)[source]
    +

    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 SquashCommitSetRequest(commit_set: 'CommitSet' = <object object at 0x107efd2f0>)[source]
    +

    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 StartCommitRequest(parent: 'Commit' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, branch: 'Branch' = <object object at 0x107efd2f0>)[source]
    +

    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 SubscribeCommitRequest(repo: 'Repo' = <object object at 0x107efd2f0>, branch: str = <object object at 0x107efd2f0>, from_: 'Commit' = <object object at 0x107efd2f0>, state: 'CommitState' = <object object at 0x107efd2f0>, all: bool = <object object at 0x107efd2f0>, origin_kind: 'OriginKind' = <object object at 0x107efd2f0>)[source]
    +

    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 Trigger(branch=<object object>, all=<object object>, cron_spec=<object object>, size=<object object>, commits=<object object>)[source]
    +

    Trigger defines the conditions under which a head is moved, and to which +branch it is moved.

    +

    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 WalkFileRequest(file: 'File' = <object object at 0x107efd2f0>)[source]
    +

    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.

    +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.pps_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.pps_v2.html new file mode 100644 index 00000000..6752c0ec --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.pps_v2.html @@ -0,0 +1,4460 @@ + + + + + + + python_pachyderm.experimental.proto.v2.pps_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.pps_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.pps_v2 package

    +
    +

    Module contents

    +
    +
    +class ActivateAuthRequest[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 ActivateAuthResponse[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 Aggregate(count: int = <object object at 0x107efd2f0>, mean: float = <object object at 0x107efd2f0>, stddev: float = <object object at 0x107efd2f0>, fifth_percentile: float = <object object at 0x107efd2f0>, ninety_fifth_percentile: float = <object object at 0x107efd2f0>)[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.

    +
    +
    +count = <object object>
    +
    + +
    +
    +fifth_percentile = <object object>
    +
    + +
    +
    +mean = <object object>
    +
    + +
    +
    +ninety_fifth_percentile = <object object>
    +
    + +
    +
    +stddev = <object object>
    +
    + +
    + +
    +
    +class AggregateProcessStats(download_time: 'Aggregate' = <object object at 0x107efd2f0>, process_time: 'Aggregate' = <object object at 0x107efd2f0>, upload_time: 'Aggregate' = <object object at 0x107efd2f0>, download_bytes: 'Aggregate' = <object object at 0x107efd2f0>, upload_bytes: 'Aggregate' = <object object at 0x107efd2f0>)[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.

    +
    +
    +download_bytes = <object object>
    +
    + +
    +
    +download_time = <object object>
    +
    + +
    +
    +process_time = <object object>
    +
    + +
    +
    +upload_bytes = <object object>
    +
    + +
    +
    +upload_time = <object object>
    +
    + +
    + +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_auth

    create_pipeline

    create_secret

    delete_all

    delete_job

    delete_pipeline

    delete_secret

    get_logs

    inspect_datum

    inspect_job

    inspect_job_set

    inspect_pipeline

    inspect_secret

    list_datum

    list_job

    list_job_set

    list_pipeline

    list_secret

    restart_datum

    run_cron

    run_load_test_default

    run_pipeline

    start_pipeline

    stop_job

    stop_pipeline

    subscribe_job

    update_job_state

    +
    +
    +async activate_auth()[source]
    +
    + +
    +
    +async create_pipeline(pipeline, tf_job, transform, parallelism_spec, egress, update, output_branch, s3_out, resource_requests, resource_limits, sidecar_resource_limits, input, description, reprocess, service, spout, datum_set_spec, datum_timeout, job_timeout, salt, datum_tries, scheduling_spec, pod_spec, pod_patch, spec_commit, metadata, reprocess_spec, autoscaling)[source]
    +
    + +
    +
    +async create_secret(file)[source]
    +
    + +
    +
    +async delete_all()[source]
    +
    + +
    +
    +async delete_job(job)[source]
    +
    + +
    +
    +async delete_pipeline(pipeline, all, force, keep_repo)[source]
    +
    + +
    +
    +async delete_secret(secret)[source]
    +
    + +
    +
    +async get_logs(pipeline, job, data_filters, datum, master, follow, tail, use_loki_backend, since)[source]
    +
    + +
    +
    +async inspect_datum(datum)[source]
    +
    + +
    +
    +async inspect_job(job, wait, details)[source]
    +
    + +
    +
    +async inspect_job_set(job_set, wait, details)[source]
    +
    + +
    +
    +async inspect_pipeline(pipeline, details)[source]
    +
    + +
    +
    +async inspect_secret(secret)[source]
    +
    + +
    +
    +async list_datum(job, input)[source]
    +
    + +
    +
    +async list_job(pipeline, input_commit, history, details, jq_filter)[source]
    +
    + +
    +
    +async list_job_set(details)[source]
    +
    + +
    +
    +async list_pipeline(pipeline, history, details, jq_filter)[source]
    +
    + +
    +
    +async list_secret()[source]
    +
    + +
    +
    +async restart_datum(job, data_filters)[source]
    +
    + +
    +
    +async run_cron(pipeline)[source]
    +
    + +
    +
    +async run_load_test_default()[source]
    +
    + +
    +
    +async run_pipeline(pipeline, provenance, job_id)[source]
    +
    + +
    +
    +async start_pipeline(pipeline)[source]
    +
    + +
    +
    +async stop_job(job, reason)[source]
    +
    + +
    +
    +async stop_pipeline(pipeline)[source]
    +
    + +
    +
    +async subscribe_job(pipeline, details)[source]
    +
    + +
    +
    +async update_job_state(job, state, reason, restart, data_processed, data_skipped, data_failed, data_recovered, data_total, stats)[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    activate_auth

    create_pipeline

    create_secret

    delete_all

    delete_job

    delete_pipeline

    delete_secret

    get_logs

    inspect_datum

    inspect_job

    inspect_job_set

    inspect_pipeline

    inspect_secret

    list_datum

    list_job

    list_job_set

    list_pipeline

    list_secret

    restart_datum

    run_cron

    run_load_test_default

    run_pipeline

    start_pipeline

    stop_job

    stop_pipeline

    subscribe_job

    update_job_state

    +
    +
    +async activate_auth()[source]
    +
    + +
    +
    +async create_pipeline(*, pipeline=None, tf_job=None, transform=None, parallelism_spec=None, egress=None, update=False, output_branch='', s3_out=False, resource_requests=None, resource_limits=None, sidecar_resource_limits=None, input=None, description='', reprocess=False, service=None, spout=None, datum_set_spec=None, datum_timeout=None, job_timeout=None, salt='', datum_tries=0, scheduling_spec=None, pod_spec='', pod_patch='', spec_commit=None, metadata=None, reprocess_spec='', autoscaling=False)[source]
    +
    + +
    +
    +async create_secret(*, file=b'')[source]
    +
    + +
    +
    +async delete_all()[source]
    +
    + +
    +
    +async delete_job(*, job=None)[source]
    +
    + +
    +
    +async delete_pipeline(*, pipeline=None, all=False, force=False, keep_repo=False)[source]
    +
    + +
    +
    +async delete_secret(*, secret=None)[source]
    +
    + +
    +
    +async get_logs(*, pipeline=None, job=None, data_filters=None, datum=None, master=False, follow=False, tail=0, use_loki_backend=False, since=None)[source]
    +
    + +
    +
    +async inspect_datum(*, datum=None)[source]
    +
    + +
    +
    +async inspect_job(*, job=None, wait=False, details=False)[source]
    +
    + +
    +
    +async inspect_job_set(*, job_set=None, wait=False, details=False)[source]
    +
    + +
    +
    +async inspect_pipeline(*, pipeline=None, details=False)[source]
    +
    + +
    +
    +async inspect_secret(*, secret=None)[source]
    +
    + +
    +
    +async list_datum(*, job=None, input=None)[source]
    +
    + +
    +
    +async list_job(*, pipeline=None, input_commit=None, history=0, details=False, jq_filter='')[source]
    +
    + +
    +
    +async list_job_set(*, details=False)[source]
    +
    + +
    +
    +async list_pipeline(*, pipeline=None, history=0, details=False, jq_filter='')[source]
    +
    + +
    +
    +async list_secret()[source]
    +
    + +
    +
    +async restart_datum(*, job=None, data_filters=None)[source]
    +
    + +
    +
    +async run_cron(*, pipeline=None)[source]
    +
    + +
    +
    +async run_load_test_default()[source]
    +
    + +
    +
    +async run_pipeline(*, pipeline=None, provenance=None, job_id='')[source]
    +
    + +
    +
    +async start_pipeline(*, pipeline=None)[source]
    +
    + +
    +
    +async stop_job(*, job=None, reason='')[source]
    +
    + +
    +
    +async stop_pipeline(*, pipeline=None)[source]
    +
    + +
    +
    +async subscribe_job(*, pipeline=None, details=False)[source]
    +
    + +
    +
    +async update_job_state(*, job=None, state=None, reason='', restart=0, data_processed=0, data_skipped=0, data_failed=0, data_recovered=0, data_total=0, stats=None)[source]
    +
    + +
    + +
    +
    +class CreatePipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, tf_job: 'TfJob' = <object object at 0x107efd2f0>, transform: 'Transform' = <object object at 0x107efd2f0>, parallelism_spec: 'ParallelismSpec' = <object object at 0x107efd2f0>, egress: 'Egress' = <object object at 0x107efd2f0>, update: bool = <object object at 0x107efd2f0>, output_branch: str = <object object at 0x107efd2f0>, s3_out: bool = <object object at 0x107efd2f0>, resource_requests: 'ResourceSpec' = <object object at 0x107efd2f0>, resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, sidecar_resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, reprocess: bool = <object object at 0x107efd2f0>, service: 'Service' = <object object at 0x107efd2f0>, spout: 'Spout' = <object object at 0x107efd2f0>, datum_set_spec: 'DatumSetSpec' = <object object at 0x107efd2f0>, datum_timeout: datetime.timedelta = <object object at 0x107efd2f0>, job_timeout: datetime.timedelta = <object object at 0x107efd2f0>, salt: str = <object object at 0x107efd2f0>, datum_tries: int = <object object at 0x107efd2f0>, scheduling_spec: 'SchedulingSpec' = <object object at 0x107efd2f0>, pod_spec: str = <object object at 0x107efd2f0>, pod_patch: str = <object object at 0x107efd2f0>, spec_commit: '_pfs_v2__.Commit' = <object object at 0x107efd2f0>, metadata: 'Metadata' = <object object at 0x107efd2f0>, reprocess_spec: str = <object object at 0x107efd2f0>, autoscaling: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +autoscaling = <object object>
    +
    + +
    +
    +datum_set_spec = <object object>
    +
    + +
    +
    +datum_timeout = <object object>
    +
    + +
    +
    +datum_tries = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +egress = <object object>
    +
    + +
    +
    +input = <object object>
    +
    + +
    +
    +job_timeout = <object object>
    +
    + +
    +
    +metadata = <object object>
    +
    + +
    +
    +output_branch = <object object>
    +
    + +
    +
    +parallelism_spec = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +pod_patch = <object object>
    +
    + +
    +
    +pod_spec = <object object>
    +
    + +
    +
    +reprocess = <object object>
    +
    + +
    +
    +reprocess_spec = <object object>
    +
    + +
    +
    +resource_limits = <object object>
    +
    + +
    +
    +resource_requests = <object object>
    +
    + +
    +
    +s3_out = <object object>
    +
    + +
    +
    +salt = <object object>
    +
    + +
    +
    +scheduling_spec = <object object>
    +
    + +
    +
    +service = <object object>
    +
    + +
    +
    +sidecar_resource_limits = <object object>
    +
    + +
    +
    +spec_commit = <object object>
    +
    + +
    +
    +spout = <object object>
    +
    + +
    +
    +tf_job = <object object>
    +
    + +
    +
    +transform = <object object>
    +
    + +
    +
    +update = <object object>
    +
    + +
    + +
    +
    +class CreateSecretRequest(file: bytes = <object object at 0x107efd2f0>)[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.

    +
    +
    +file = <object object>
    +
    + +
    + +
    +
    +class CronInput(name: str = <object object at 0x107efd2f0>, repo: str = <object object at 0x107efd2f0>, commit: str = <object object at 0x107efd2f0>, spec: str = <object object at 0x107efd2f0>, overwrite: bool = <object object at 0x107efd2f0>, start: datetime.datetime = <object object at 0x107efd2f0>)[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>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +overwrite = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +spec = <object object>
    +
    + +
    +
    +start = <object object>
    +
    + +
    + +
    +
    +class Datum(job: 'Job' = <object object at 0x107efd2f0>, id: str = <object object at 0x107efd2f0>)[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>
    +
    + +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class DatumInfo(datum: 'Datum' = <object object at 0x107efd2f0>, state: 'DatumState' = <object object at 0x107efd2f0>, stats: 'ProcessStats' = <object object at 0x107efd2f0>, pfs_state: '_pfs_v2__.File' = <object object at 0x107efd2f0>, data: List[ForwardRef('_pfs_v2__.FileInfo')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +data = <object object>
    +
    + +
    +
    +datum = <object object>
    +
    + +
    +
    +pfs_state = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stats = <object object>
    +
    + +
    + +
    +
    +class DatumSetSpec(number=<object object>, size_bytes=<object object>, per_worker=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    DatumSetSpec specifies how a pipeline should split its datums into datum +sets.

    +

    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.

    +
    +
    +number = <object object>
    +
    + +
    +
    +per_worker = <object object>
    +
    + +
    +
    +size_bytes = <object object>
    +
    + +
    + +
    +
    +class DatumState(value)[source]
    +

    Bases: betterproto.Enum

    +

    An enumeration.

    +
    +
    +FAILED = 1
    +
    + +
    +
    +RECOVERED = 5
    +
    + +
    +
    +SKIPPED = 3
    +
    + +
    +
    +STARTING = 4
    +
    + +
    +
    +SUCCESS = 2
    +
    + +
    +
    +UNKNOWN = 0
    +
    + +
    + +
    +
    +class DatumStatus(started: datetime.datetime = <object object at 0x107efd2f0>, data: List[ForwardRef('InputFile')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +data = <object object>
    +
    + +
    +
    +started = <object object>
    +
    + +
    + +
    +
    +class DeleteJobRequest(job: 'Job' = <object object at 0x107efd2f0>)[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.

    +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class DeletePipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, all: bool = <object object at 0x107efd2f0>, force: bool = <object object at 0x107efd2f0>, keep_repo: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +all = <object object>
    +
    + +
    +
    +force = <object object>
    +
    + +
    +
    +keep_repo = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class DeleteSecretRequest(secret: 'Secret' = <object object at 0x107efd2f0>)[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.

    +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class Egress(url: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +url = <object object>
    +
    + +
    + +
    +
    +class GetLogsRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, job: 'Job' = <object object at 0x107efd2f0>, data_filters: List[str] = <object object at 0x107efd2f0>, datum: 'Datum' = <object object at 0x107efd2f0>, master: bool = <object object at 0x107efd2f0>, follow: bool = <object object at 0x107efd2f0>, tail: int = <object object at 0x107efd2f0>, use_loki_backend: bool = <object object at 0x107efd2f0>, since: datetime.timedelta = <object object at 0x107efd2f0>)[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.

    +
    +
    +data_filters = <object object>
    +
    + +
    +
    +datum = <object object>
    +
    + +
    +
    +follow = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +master = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +since = <object object>
    +
    + +
    +
    +tail = <object object>
    +
    + +
    +
    +use_loki_backend = <object object>
    +
    + +
    + +
    +
    +class GpuSpec(type: str = <object object at 0x107efd2f0>, number: int = <object object at 0x107efd2f0>)[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.

    +
    +
    +number = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class Input(pfs: 'PfsInput' = <object object at 0x107efd2f0>, join: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, group: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, cross: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, union: List[ForwardRef('Input')] = <object object at 0x107efd2f0>, cron: 'CronInput' = <object object at 0x107efd2f0>)[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.

    +
    +
    +cron = <object object>
    +
    + +
    +
    +cross = <object object>
    +
    + +
    +
    +group = <object object>
    +
    + +
    +
    +join = <object object>
    +
    + +
    +
    +pfs = <object object>
    +
    + +
    +
    +union = <object object>
    +
    + +
    + +
    +
    +class InputFile(path: str = <object object at 0x107efd2f0>, hash: bytes = <object object at 0x107efd2f0>)[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.

    +
    +
    +hash = <object object>
    +
    + +
    +
    +path = <object object>
    +
    + +
    + +
    +
    +class InspectDatumRequest(datum: 'Datum' = <object object at 0x107efd2f0>)[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.

    +
    +
    +datum = <object object>
    +
    + +
    + +
    +
    +class InspectJobRequest(job: 'Job' = <object object at 0x107efd2f0>, wait: bool = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +wait = <object object>
    +
    + +
    + +
    +
    +class InspectJobSetRequest(job_set: 'JobSet' = <object object at 0x107efd2f0>, wait: bool = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +job_set = <object object>
    +
    + +
    +
    +wait = <object object>
    +
    + +
    + +
    +
    +class InspectPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class InspectSecretRequest(secret: 'Secret' = <object object at 0x107efd2f0>)[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.

    +
    +
    +secret = <object object>
    +
    + +
    + +
    +
    +class Job(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, id: str = <object object at 0x107efd2f0>)[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>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class JobInfo(job=<object object>, pipeline_version=<object object>, output_commit=<object object>, restart=<object object>, data_processed=<object object>, data_skipped=<object object>, data_total=<object object>, data_failed=<object object>, data_recovered=<object object>, stats=<object object>, state=<object object>, reason=<object object>, created=<object object>, started=<object object>, finished=<object object>, details=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    JobInfo is the data stored in the database regarding a given job. The +‘details’ field contains more information about the job which is expensive +to fetch, requiring querying workers or loading the pipeline spec from +object storage.

    +

    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.

    +
    +
    +created = <object object>
    +
    + +
    +
    +data_failed = <object object>
    +
    + +
    +
    +data_processed = <object object>
    +
    + +
    +
    +data_recovered = <object object>
    +
    + +
    +
    +data_skipped = <object object>
    +
    + +
    +
    +data_total = <object object>
    +
    + +
    +
    +details = <object object>
    +
    + +
    +
    +finished = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +output_commit = <object object>
    +
    + +
    +
    +pipeline_version = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +restart = <object object>
    +
    + +
    +
    +started = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stats = <object object>
    +
    + +
    + +
    +
    +class JobInfoDetails(transform: 'Transform' = <object object at 0x107efd2f0>, parallelism_spec: 'ParallelismSpec' = <object object at 0x107efd2f0>, egress: 'Egress' = <object object at 0x107efd2f0>, service: 'Service' = <object object at 0x107efd2f0>, spout: 'Spout' = <object object at 0x107efd2f0>, worker_status: List[ForwardRef('WorkerStatus')] = <object object at 0x107efd2f0>, resource_requests: 'ResourceSpec' = <object object at 0x107efd2f0>, resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, sidecar_resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>, salt: str = <object object at 0x107efd2f0>, datum_set_spec: 'DatumSetSpec' = <object object at 0x107efd2f0>, datum_timeout: datetime.timedelta = <object object at 0x107efd2f0>, job_timeout: datetime.timedelta = <object object at 0x107efd2f0>, datum_tries: int = <object object at 0x107efd2f0>, scheduling_spec: 'SchedulingSpec' = <object object at 0x107efd2f0>, pod_spec: str = <object object at 0x107efd2f0>, pod_patch: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +datum_set_spec = <object object>
    +
    + +
    +
    +datum_timeout = <object object>
    +
    + +
    +
    +datum_tries = <object object>
    +
    + +
    +
    +egress = <object object>
    +
    + +
    +
    +input = <object object>
    +
    + +
    +
    +job_timeout = <object object>
    +
    + +
    +
    +parallelism_spec = <object object>
    +
    + +
    +
    +pod_patch = <object object>
    +
    + +
    +
    +pod_spec = <object object>
    +
    + +
    +
    +resource_limits = <object object>
    +
    + +
    +
    +resource_requests = <object object>
    +
    + +
    +
    +salt = <object object>
    +
    + +
    +
    +scheduling_spec = <object object>
    +
    + +
    +
    +service = <object object>
    +
    + +
    +
    +sidecar_resource_limits = <object object>
    +
    + +
    +
    +spout = <object object>
    +
    + +
    +
    +transform = <object object>
    +
    + +
    +
    +worker_status = <object object>
    +
    + +
    + +
    +
    +class JobInput(name: str = <object object at 0x107efd2f0>, commit: '_pfs_v2__.Commit' = <object object at 0x107efd2f0>, glob: str = <object object at 0x107efd2f0>, lazy: bool = <object object at 0x107efd2f0>)[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>
    +
    + +
    +
    +glob = <object object>
    +
    + +
    +
    +lazy = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class JobSet(id: str = <object object at 0x107efd2f0>)[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 JobSetInfo(job_set: 'JobSet' = <object object at 0x107efd2f0>, jobs: List[ForwardRef('JobInfo')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +job_set = <object object>
    +
    + +
    +
    +jobs = <object object>
    +
    + +
    + +
    +
    +class JobState(value)[source]
    +

    Bases: betterproto.Enum

    +

    An enumeration.

    +
    +
    +JOB_CREATED = 1
    +
    + +
    +
    +JOB_EGRESSING = 7
    +
    + +
    +
    +JOB_FAILURE = 4
    +
    + +
    +
    +JOB_FINISHING = 8
    +
    + +
    +
    +JOB_KILLED = 6
    +
    + +
    +
    +JOB_RUNNING = 3
    +
    + +
    +
    +JOB_STARTING = 2
    +
    + +
    +
    +JOB_STATE_UNKNOWN = 0
    +
    + +
    +
    +JOB_SUCCESS = 5
    +
    + +
    + +
    +
    +class ListDatumRequest(job: 'Job' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>)[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.

    +
    +
    +input = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class ListJobRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, input_commit: List[ForwardRef('_pfs_v2__.Commit')] = <object object at 0x107efd2f0>, history: int = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>, jq_filter: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +history = <object object>
    +
    + +
    +
    +input_commit = <object object>
    +
    + +
    +
    +jq_filter = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class ListJobSetRequest(details: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +details = <object object>
    +
    + +
    + +
    +
    +class ListPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, history: int = <object object at 0x107efd2f0>, details: bool = <object object at 0x107efd2f0>, jq_filter: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +history = <object object>
    +
    + +
    +
    +jq_filter = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class LogMessage(pipeline_name=<object object>, job_id=<object object>, worker_id=<object object>, datum_id=<object object>, master=<object object>, data=<object object>, user=<object object>, ts=<object object>, message=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    LogMessage is a log line from a PPS worker, annotated with metadata +indicating when and why the line was logged.

    +

    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.

    +
    +
    +data = <object object>
    +
    + +
    +
    +datum_id = <object object>
    +
    + +
    +
    +job_id = <object object>
    +
    + +
    +
    +master = <object object>
    +
    + +
    +
    +message = <object object>
    +
    + +
    +
    +pipeline_name = <object object>
    +
    + +
    +
    +ts = <object object>
    +
    + +
    +
    +user = <object object>
    +
    + +
    +
    +worker_id = <object object>
    +
    + +
    + +
    +
    +class Metadata(annotations: Dict[str, str] = <object object at 0x107efd2f0>, labels: Dict[str, str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +annotations = <object object>
    +
    + +
    +
    +labels = <object object>
    +
    + +
    + +
    +
    +class ParallelismSpec(constant: int = <object object at 0x107efd2f0>)[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.

    +
    +
    +constant = <object object>
    +
    + +
    + +
    +
    +class PfsInput(name: str = <object object at 0x107efd2f0>, repo: str = <object object at 0x107efd2f0>, repo_type: str = <object object at 0x107efd2f0>, branch: str = <object object at 0x107efd2f0>, commit: str = <object object at 0x107efd2f0>, glob: str = <object object at 0x107efd2f0>, join_on: str = <object object at 0x107efd2f0>, outer_join: bool = <object object at 0x107efd2f0>, group_by: str = <object object at 0x107efd2f0>, lazy: bool = <object object at 0x107efd2f0>, empty_files: bool = <object object at 0x107efd2f0>, s3: bool = <object object at 0x107efd2f0>, trigger: '_pfs_v2__.Trigger' = <object object at 0x107efd2f0>)[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.

    +
    +
    +branch = <object object>
    +
    + +
    +
    +commit = <object object>
    +
    + +
    +
    +empty_files = <object object>
    +
    + +
    +
    +glob = <object object>
    +
    + +
    +
    +group_by = <object object>
    +
    + +
    +
    +join_on = <object object>
    +
    + +
    +
    +lazy = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    +
    +outer_join = <object object>
    +
    + +
    +
    +repo = <object object>
    +
    + +
    +
    +repo_type = <object object>
    +
    + +
    +
    +s3 = <object object>
    +
    + +
    +
    +trigger = <object object>
    +
    + +
    + +
    +
    +class Pipeline(name: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class PipelineInfo(pipeline=<object object>, version=<object object>, spec_commit=<object object>, stopped=<object object>, state=<object object>, reason=<object object>, job_counts=<object object>, last_job_state=<object object>, parallelism=<object object>, type=<object object>, auth_token=<object object>, details=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    PipelineInfo is proto for each pipeline that Pachd stores in the database. +It tracks the state of the pipeline, and points to its metadata in PFS +(and, by pointing to a PFS commit, de facto tracks the pipeline’s version). +Any information about the pipeline _not_ stored in the database is in the +Details object, which requires fetching the spec from PFS or other +potentially expensive operations.

    +

    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.

    +
    +
    +auth_token = <object object>
    +
    + +
    +
    +details = <object object>
    +
    + +
    +
    +job_counts = <object object>
    +
    + +
    +
    +last_job_state = <object object>
    +
    + +
    +
    +parallelism = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +spec_commit = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stopped = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    +
    +version = <object object>
    +
    + +
    + +
    +
    +class PipelineInfoDetails(transform: 'Transform' = <object object at 0x107efd2f0>, tf_job: 'TfJob' = <object object at 0x107efd2f0>, parallelism_spec: 'ParallelismSpec' = <object object at 0x107efd2f0>, egress: 'Egress' = <object object at 0x107efd2f0>, created_at: datetime.datetime = <object object at 0x107efd2f0>, recent_error: str = <object object at 0x107efd2f0>, workers_requested: int = <object object at 0x107efd2f0>, workers_available: int = <object object at 0x107efd2f0>, output_branch: str = <object object at 0x107efd2f0>, resource_requests: 'ResourceSpec' = <object object at 0x107efd2f0>, resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, sidecar_resource_limits: 'ResourceSpec' = <object object at 0x107efd2f0>, input: 'Input' = <object object at 0x107efd2f0>, description: str = <object object at 0x107efd2f0>, salt: str = <object object at 0x107efd2f0>, reason: str = <object object at 0x107efd2f0>, service: 'Service' = <object object at 0x107efd2f0>, spout: 'Spout' = <object object at 0x107efd2f0>, datum_set_spec: 'DatumSetSpec' = <object object at 0x107efd2f0>, datum_timeout: datetime.timedelta = <object object at 0x107efd2f0>, job_timeout: datetime.timedelta = <object object at 0x107efd2f0>, datum_tries: int = <object object at 0x107efd2f0>, scheduling_spec: 'SchedulingSpec' = <object object at 0x107efd2f0>, pod_spec: str = <object object at 0x107efd2f0>, pod_patch: str = <object object at 0x107efd2f0>, s3_out: bool = <object object at 0x107efd2f0>, metadata: 'Metadata' = <object object at 0x107efd2f0>, reprocess_spec: str = <object object at 0x107efd2f0>, unclaimed_tasks: int = <object object at 0x107efd2f0>, worker_rc: str = <object object at 0x107efd2f0>, autoscaling: bool = <object object at 0x107efd2f0>)[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.

    +
    +
    +autoscaling = <object object>
    +
    + +
    +
    +created_at = <object object>
    +
    + +
    +
    +datum_set_spec = <object object>
    +
    + +
    +
    +datum_timeout = <object object>
    +
    + +
    +
    +datum_tries = <object object>
    +
    + +
    +
    +description = <object object>
    +
    + +
    +
    +egress = <object object>
    +
    + +
    +
    +input = <object object>
    +
    + +
    +
    +job_timeout = <object object>
    +
    + +
    +
    +metadata = <object object>
    +
    + +
    +
    +output_branch = <object object>
    +
    + +
    +
    +parallelism_spec = <object object>
    +
    + +
    +
    +pod_patch = <object object>
    +
    + +
    +
    +pod_spec = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +recent_error = <object object>
    +
    + +
    +
    +reprocess_spec = <object object>
    +
    + +
    +
    +resource_limits = <object object>
    +
    + +
    +
    +resource_requests = <object object>
    +
    + +
    +
    +s3_out = <object object>
    +
    + +
    +
    +salt = <object object>
    +
    + +
    +
    +scheduling_spec = <object object>
    +
    + +
    +
    +service = <object object>
    +
    + +
    +
    +sidecar_resource_limits = <object object>
    +
    + +
    +
    +spout = <object object>
    +
    + +
    +
    +tf_job = <object object>
    +
    + +
    +
    +transform = <object object>
    +
    + +
    +
    +unclaimed_tasks = <object object>
    +
    + +
    +
    +worker_rc = <object object>
    +
    + +
    +
    +workers_available = <object object>
    +
    + +
    +
    +workers_requested = <object object>
    +
    + +
    + +
    +
    +class PipelineInfoPipelineType(value)[source]
    +

    Bases: betterproto.Enum

    +

    An enumeration.

    +
    +
    +PIPELINE_TYPE_SERVICE = 3
    +
    + +
    +
    +PIPELINE_TYPE_SPOUT = 2
    +
    + +
    +
    +PIPELINE_TYPE_TRANSFORM = 1
    +
    + +
    +
    +PIPELINT_TYPE_UNKNOWN = 0
    +
    + +
    + +
    +
    +class PipelineInfos(pipeline_info: List[ForwardRef('PipelineInfo')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +pipeline_info = <object object>
    +
    + +
    + +
    +
    +class PipelineState(value)[source]
    +

    Bases: betterproto.Enum

    +

    An enumeration.

    +
    +
    +PIPELINE_CRASHING = 7
    +
    + +
    +
    +PIPELINE_FAILURE = 4
    +
    + +
    +
    +PIPELINE_PAUSED = 5
    +
    + +
    +
    +PIPELINE_RESTARTING = 3
    +
    + +
    +
    +PIPELINE_RUNNING = 2
    +
    + +
    +
    +PIPELINE_STANDBY = 6
    +
    + +
    +
    +PIPELINE_STARTING = 1
    +
    + +
    +
    +PIPELINE_STATE_UNKNOWN = 0
    +
    + +
    + +
    +
    +class ProcessStats(download_time: datetime.timedelta = <object object at 0x107efd2f0>, process_time: datetime.timedelta = <object object at 0x107efd2f0>, upload_time: datetime.timedelta = <object object at 0x107efd2f0>, download_bytes: int = <object object at 0x107efd2f0>, upload_bytes: int = <object object at 0x107efd2f0>)[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.

    +
    +
    +download_bytes = <object object>
    +
    + +
    +
    +download_time = <object object>
    +
    + +
    +
    +process_time = <object object>
    +
    + +
    +
    +upload_bytes = <object object>
    +
    + +
    +
    +upload_time = <object object>
    +
    + +
    + +
    +
    +class ResourceSpec(cpu=<object object>, memory=<object object>, gpu=<object object>, disk=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    ResourceSpec describes the amount of resources that pipeline pods should +request from kubernetes, for scheduling.

    +

    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.

    +
    +
    +cpu = <object object>
    +
    + +
    +
    +disk = <object object>
    +
    + +
    +
    +gpu = <object object>
    +
    + +
    +
    +memory = <object object>
    +
    + +
    + +
    +
    +class RestartDatumRequest(job: 'Job' = <object object at 0x107efd2f0>, data_filters: List[str] = <object object at 0x107efd2f0>)[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.

    +
    +
    +data_filters = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    + +
    +
    +class RunCronRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>)[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.

    +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class RunPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>, provenance: List[ForwardRef('_pfs_v2__.Commit')] = <object object at 0x107efd2f0>, job_id: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +job_id = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    +
    +provenance = <object object>
    +
    + +
    + +
    +
    +class SchedulingSpec(node_selector: Dict[str, str] = <object object at 0x107efd2f0>, priority_class_name: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +node_selector = <object object>
    +
    + +
    +
    +priority_class_name = <object object>
    +
    + +
    + +
    +
    +class Secret(name: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class SecretInfo(secret: 'Secret' = <object object at 0x107efd2f0>, type: str = <object object at 0x107efd2f0>, creation_timestamp: datetime.datetime = <object object at 0x107efd2f0>)[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.

    +
    +
    +creation_timestamp = <object object>
    +
    + +
    +
    +secret = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class SecretInfos(secret_info: List[ForwardRef('SecretInfo')] = <object object at 0x107efd2f0>)[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.

    +
    +
    +secret_info = <object object>
    +
    + +
    + +
    +
    +class SecretMount(name: str = <object object at 0x107efd2f0>, key: str = <object object at 0x107efd2f0>, mount_path: str = <object object at 0x107efd2f0>, env_var: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +env_var = <object object>
    +
    + +
    +
    +key = <object object>
    +
    + +
    +
    +mount_path = <object object>
    +
    + +
    +
    +name = <object object>
    +
    + +
    + +
    +
    +class Service(internal_port: int = <object object at 0x107efd2f0>, external_port: int = <object object at 0x107efd2f0>, ip: str = <object object at 0x107efd2f0>, type: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +external_port = <object object>
    +
    + +
    +
    +internal_port = <object object>
    +
    + +
    +
    +ip = <object object>
    +
    + +
    +
    +type = <object object>
    +
    + +
    + +
    +
    +class Spout(service: 'Service' = <object object at 0x107efd2f0>)[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.

    +
    +
    +service = <object object>
    +
    + +
    + +
    +
    +class StartPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>)[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.

    +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class StopJobRequest(job: 'Job' = <object object at 0x107efd2f0>, reason: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +job = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    + +
    +
    +class StopPipelineRequest(pipeline: 'Pipeline' = <object object at 0x107efd2f0>)[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.

    +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class SubscribeJobRequest(pipeline=<object object>, details=<object object>)[source]
    +

    Bases: betterproto.Message

    +

    Streams open jobs until canceled

    +

    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.

    +
    +
    +details = <object object>
    +
    + +
    +
    +pipeline = <object object>
    +
    + +
    + +
    +
    +class TfJob(tf_job: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +tf_job = <object object>
    +
    + +
    + +
    +
    +class Transform(image: str = <object object at 0x107efd2f0>, cmd: List[str] = <object object at 0x107efd2f0>, err_cmd: List[str] = <object object at 0x107efd2f0>, env: Dict[str, str] = <object object at 0x107efd2f0>, secrets: List[ForwardRef('SecretMount')] = <object object at 0x107efd2f0>, image_pull_secrets: List[str] = <object object at 0x107efd2f0>, stdin: List[str] = <object object at 0x107efd2f0>, err_stdin: List[str] = <object object at 0x107efd2f0>, accept_return_code: List[int] = <object object at 0x107efd2f0>, debug: bool = <object object at 0x107efd2f0>, user: str = <object object at 0x107efd2f0>, working_dir: str = <object object at 0x107efd2f0>, dockerfile: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +accept_return_code = <object object>
    +
    + +
    +
    +cmd = <object object>
    +
    + +
    +
    +debug = <object object>
    +
    + +
    +
    +dockerfile = <object object>
    +
    + +
    +
    +env = <object object>
    +
    + +
    +
    +err_cmd = <object object>
    +
    + +
    +
    +err_stdin = <object object>
    +
    + +
    +
    +image = <object object>
    +
    + +
    +
    +image_pull_secrets = <object object>
    +
    + +
    +
    +secrets = <object object>
    +
    + +
    +
    +stdin = <object object>
    +
    + +
    +
    +user = <object object>
    +
    + +
    +
    +working_dir = <object object>
    +
    + +
    + +
    +
    +class UpdateJobStateRequest(job: 'Job' = <object object at 0x107efd2f0>, state: 'JobState' = <object object at 0x107efd2f0>, reason: str = <object object at 0x107efd2f0>, restart: int = <object object at 0x107efd2f0>, data_processed: int = <object object at 0x107efd2f0>, data_skipped: int = <object object at 0x107efd2f0>, data_failed: int = <object object at 0x107efd2f0>, data_recovered: int = <object object at 0x107efd2f0>, data_total: int = <object object at 0x107efd2f0>, stats: 'ProcessStats' = <object object at 0x107efd2f0>)[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.

    +
    +
    +data_failed = <object object>
    +
    + +
    +
    +data_processed = <object object>
    +
    + +
    +
    +data_recovered = <object object>
    +
    + +
    +
    +data_skipped = <object object>
    +
    + +
    +
    +data_total = <object object>
    +
    + +
    +
    +job = <object object>
    +
    + +
    +
    +reason = <object object>
    +
    + +
    +
    +restart = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    +
    +stats = <object object>
    +
    + +
    + +
    +
    +class Worker(name: str = <object object at 0x107efd2f0>, state: 'WorkerState' = <object object at 0x107efd2f0>)[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.

    +
    +
    +name = <object object>
    +
    + +
    +
    +state = <object object>
    +
    + +
    + +
    +
    +class WorkerState(value)[source]
    +

    Bases: betterproto.Enum

    +

    An enumeration.

    +
    +
    +POD_FAILED = 3
    +
    + +
    +
    +POD_RUNNING = 1
    +
    + +
    +
    +POD_SUCCESS = 2
    +
    + +
    +
    +WORKER_STATE_UNKNOWN = 0
    +
    + +
    + +
    +
    +class WorkerStatus(worker_id: str = <object object at 0x107efd2f0>, job_id: str = <object object at 0x107efd2f0>, datum_status: 'DatumStatus' = <object object at 0x107efd2f0>)[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.

    +
    +
    +datum_status = <object object>
    +
    + +
    +
    +job_id = <object object>
    +
    + +
    +
    +worker_id = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.proxy.html b/docs/build/html/python_pachyderm.experimental.proto.v2.proxy.html new file mode 100644 index 00000000..b000b64a --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.proxy.html @@ -0,0 +1,231 @@ + + + + + + + python_pachyderm.experimental.proto.v2.proxy package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.proxy package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.proxy package

    +
    +

    Module contents

    +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + +

    listen

    +
    +
    +async listen(channel)[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + +

    listen

    +
    +
    +async listen(*, channel='')[source]
    +
    + +
    + +
    +
    +class ListenRequest(channel: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +channel = <object object>
    +
    + +
    + +
    +
    +class ListenResponse(extra: str = <object object at 0x107efd2f0>)[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.

    +
    +
    +extra = <object object>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.transaction_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.transaction_v2.html new file mode 100644 index 00000000..2b129fb0 --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.transaction_v2.html @@ -0,0 +1,787 @@ + + + + + + + python_pachyderm.experimental.proto.v2.transaction_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.transaction_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    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 0x107efd2f0>)[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 0x107efd2f0>)[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 0x107efd2f0>)[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 0x107efd2f0>)[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 0x107efd2f0>)[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 0x107efd2f0>, requests: List[ForwardRef('TransactionRequest')] = <object object at 0x107efd2f0>, responses: List[ForwardRef('TransactionResponse')] = <object object at 0x107efd2f0>, started: datetime.datetime = <object object at 0x107efd2f0>, version: int = <object object at 0x107efd2f0>)[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 0x107efd2f0>)[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 0x107efd2f0>, delete_repo: '_pfs_v2__.DeleteRepoRequest' = <object object at 0x107efd2f0>, start_commit: '_pfs_v2__.StartCommitRequest' = <object object at 0x107efd2f0>, finish_commit: '_pfs_v2__.FinishCommitRequest' = <object object at 0x107efd2f0>, squash_commit_set: '_pfs_v2__.SquashCommitSetRequest' = <object object at 0x107efd2f0>, create_branch: '_pfs_v2__.CreateBranchRequest' = <object object at 0x107efd2f0>, delete_branch: '_pfs_v2__.DeleteBranchRequest' = <object object at 0x107efd2f0>, update_job_state: '_pps_v2__.UpdateJobStateRequest' = <object object at 0x107efd2f0>, create_pipeline: '_pps_v2__.CreatePipelineRequest' = <object object at 0x107efd2f0>, stop_job: '_pps_v2__.StopJobRequest' = <object object at 0x107efd2f0>)[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 0x107efd2f0>)[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>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.experimental.proto.v2.versionpb_v2.html b/docs/build/html/python_pachyderm.experimental.proto.v2.versionpb_v2.html new file mode 100644 index 00000000..cc06c2ee --- /dev/null +++ b/docs/build/html/python_pachyderm.experimental.proto.v2.versionpb_v2.html @@ -0,0 +1,205 @@ + + + + + + + python_pachyderm.experimental.proto.v2.versionpb_v2 package — python-pachyderm documentation + + + + + + + + + + + + + + +
    + + +
    + +
    +
    +
    +
      +
    • »
    • +
    • python_pachyderm.experimental.proto.v2.versionpb_v2 package
    • +
    • + View page source +
    • +
    +
    +
    +
    +
    + +
    +

    python_pachyderm.experimental.proto.v2.versionpb_v2 package

    +
    +

    Module contents

    +
    +
    +class ApiBase[source]
    +

    Bases: betterproto.grpc.grpclib_server.ServiceBase

    +

    Methods

    + ++++ + + + + + +

    get_version

    +
    +
    +async get_version()[source]
    +
    + +
    + +
    +
    +class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]
    +

    Bases: betterproto.grpc.grpclib_client.ServiceStub

    +

    Methods

    + ++++ + + + + + +

    get_version

    +
    +
    +async get_version()[source]
    +
    + +
    + +
    +
    +class Version(major: int = <object object at 0x107efd2f0>, minor: int = <object object at 0x107efd2f0>, micro: int = <object object at 0x107efd2f0>, additional: str = <object object at 0x107efd2f0>)[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>
    +
    + +
    + +
    +
    + + +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/build/html/python_pachyderm.html b/docs/build/html/python_pachyderm.html index 2e93102b..a40da7dc 100644 --- a/docs/build/html/python_pachyderm.html +++ b/docs/build/html/python_pachyderm.html @@ -4,7 +4,7 @@ - python_pachyderm — python-pachyderm documentation + Mixins — python-pachyderm documentation