Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@a948940
  • Loading branch information
droplet-bot committed Dec 14, 2023
1 parent 1b7602e commit 2d4b277
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 225 deletions.
28 changes: 15 additions & 13 deletions vdp/pipeline/v1beta/common_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 30 additions & 8 deletions vdp/pipeline/v1beta/common_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ ROLE_EXECUTOR: Role.ValueType # 2
global___Role = Role

@typing_extensions.final
class Permission(google.protobuf.message.Message):
"""Permission"""
class Sharing(google.protobuf.message.Message):
"""Sharing"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

Expand Down Expand Up @@ -104,31 +104,53 @@ class Permission(google.protobuf.message.Message):
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str
@property
def value(self) -> global___Permission.User: ...
def value(self) -> global___Sharing.User: ...
def __init__(
self,
*,
key: builtins.str = ...,
value: global___Permission.User | None = ...,
value: global___Sharing.User | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...

USERS_FIELD_NUMBER: builtins.int
SHARE_CODE_FIELD_NUMBER: builtins.int
@property
def users(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Permission.User]:
def users(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Sharing.User]:
"""users"""
@property
def share_code(self) -> global___Permission.ShareCode:
def share_code(self) -> global___Sharing.ShareCode:
"""shared code"""
def __init__(
self,
*,
users: collections.abc.Mapping[builtins.str, global___Permission.User] | None = ...,
share_code: global___Permission.ShareCode | None = ...,
users: collections.abc.Mapping[builtins.str, global___Sharing.User] | None = ...,
share_code: global___Sharing.ShareCode | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["share_code", b"share_code"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["share_code", b"share_code", "users", b"users"]) -> None: ...

global___Sharing = Sharing

@typing_extensions.final
class Permission(google.protobuf.message.Message):
"""Permission"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

CAN_EDIT_FIELD_NUMBER: builtins.int
CAN_TRIGGER_FIELD_NUMBER: builtins.int
can_edit: builtins.bool
"""can_edit"""
can_trigger: builtins.bool
"""can_trigger"""
def __init__(
self,
*,
can_edit: builtins.bool = ...,
can_trigger: builtins.bool = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["can_edit", b"can_edit", "can_trigger", b"can_trigger"]) -> None: ...

global___Permission = Permission
Loading

0 comments on commit 2d4b277

Please sign in to comment.