Skip to content

Commit

Permalink
Update protobufs (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
taral authored Jun 18, 2021
1 parent 61061de commit 0946bbc
Show file tree
Hide file tree
Showing 19 changed files with 649 additions and 548 deletions.
31 changes: 22 additions & 9 deletions exabel_data_sdk/stubs/exabel/api/data/v1/entity_messages_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import Optional as typing___Optional
from typing import Text as typing___Text

from google.protobuf.descriptor import Descriptor as google___protobuf___descriptor___Descriptor
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from google.protobuf.struct_pb2 import Struct as google___protobuf___struct_pb2___Struct
from typing_extensions import Literal as typing_extensions___Literal

from google.protobuf.message import (
Message as google___protobuf___message___Message,
)

from google.protobuf.struct_pb2 import (
Struct as google___protobuf___struct_pb2___Struct,
)

from typing import (
Optional as typing___Optional,
Text as typing___Text,
)

from typing_extensions import (
Literal as typing_extensions___Literal,
)

builtin___bool = bool
builtin___bytes = bytes
Expand Down
42 changes: 26 additions & 16 deletions exabel_data_sdk/stubs/exabel/api/data/v1/entity_service_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,30 +1,41 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import Iterable as typing___Iterable
from typing import Optional as typing___Optional
from typing import Text as typing___Text
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from exabel_data_sdk.stubs.exabel.api.data.v1.entity_messages_pb2 import (
Entity as exabel___api___data___v1___entity_messages_pb2___Entity,
EntityType as exabel___api___data___v1___entity_messages_pb2___EntityType,
)

from exabel_data_sdk.stubs.exabel.api.data.v1.search_messages_pb2 import (
SearchTerm as exabel___api___data___v1___search_messages_pb2___SearchTerm,
)

from google.protobuf.descriptor import Descriptor as google___protobuf___descriptor___Descriptor
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)

from google.protobuf.field_mask_pb2 import (
FieldMask as google___protobuf___field_mask_pb2___FieldMask,
)

from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal

from exabel_data_sdk.stubs.exabel.api.data.v1.entity_messages_pb2 import (
Entity as exabel___api___data___v1___entity_messages_pb2___Entity,
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from exabel_data_sdk.stubs.exabel.api.data.v1.entity_messages_pb2 import (
EntityType as exabel___api___data___v1___entity_messages_pb2___EntityType,

from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)
from exabel_data_sdk.stubs.exabel.api.data.v1.search_messages_pb2 import (
SearchTerm as exabel___api___data___v1___search_messages_pb2___SearchTerm,

from typing_extensions import (
Literal as typing_extensions___Literal,
)

builtin___bool = bool
Expand Down Expand Up @@ -179,8 +190,7 @@ class CreateEntityRequest(google___protobuf___message___Message):
self, field_name: typing_extensions___Literal["entity", b"entity"]
) -> builtin___bool: ...
def ClearField(
self,
field_name: typing_extensions___Literal["entity", b"entity", "parent", b"parent"],
self, field_name: typing_extensions___Literal["entity", b"entity", "parent", b"parent"]
) -> None: ...

type___CreateEntityRequest = CreateEntityRequest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import Optional as typing___Optional
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from exabel_data_sdk.stubs.exabel.api.data.v1.entity_messages_pb2 import (
EntityType as exabel___api___data___v1___entity_messages_pb2___EntityType,
)

from google.protobuf.descriptor import Descriptor as google___protobuf___descriptor___Descriptor
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)

from google.protobuf.field_mask_pb2 import (
FieldMask as google___protobuf___field_mask_pb2___FieldMask,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal

from exabel_data_sdk.stubs.exabel.api.data.v1.entity_messages_pb2 import (
EntityType as exabel___api___data___v1___entity_messages_pb2___EntityType,
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)

from typing import (
Optional as typing___Optional,
)

from typing_extensions import (
Literal as typing_extensions___Literal,
)

builtin___bool = bool
Expand All @@ -26,9 +37,7 @@ DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
class CreateEntityTypeRequest(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def entity_type(
self,
) -> exabel___api___data___v1___entity_messages_pb2___EntityType: ...
def entity_type(self) -> exabel___api___data___v1___entity_messages_pb2___EntityType: ...
def __init__(
self,
*,
Expand All @@ -48,9 +57,7 @@ type___CreateEntityTypeRequest = CreateEntityTypeRequest
class UpdateEntityTypeRequest(google___protobuf___message___Message):
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
@property
def entity_type(
self,
) -> exabel___api___data___v1___entity_messages_pb2___EntityType: ...
def entity_type(self) -> exabel___api___data___v1___entity_messages_pb2___EntityType: ...
@property
def update_mask(self) -> google___protobuf___field_mask_pb2___FieldMask: ...
def __init__(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import Optional as typing___Optional
from typing import Text as typing___Text

from google.protobuf.descriptor import Descriptor as google___protobuf___descriptor___Descriptor
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from google.protobuf.struct_pb2 import Struct as google___protobuf___struct_pb2___Struct
from typing_extensions import Literal as typing_extensions___Literal

from google.protobuf.message import (
Message as google___protobuf___message___Message,
)

from google.protobuf.struct_pb2 import (
Struct as google___protobuf___struct_pb2___Struct,
)

from typing import (
Optional as typing___Optional,
Text as typing___Text,
)

from typing_extensions import (
Literal as typing_extensions___Literal,
)

builtin___bool = bool
builtin___bytes = bytes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,37 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import Iterable as typing___Iterable
from typing import Optional as typing___Optional
from typing import Text as typing___Text
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from exabel_data_sdk.stubs.exabel.api.data.v1.relationship_messages_pb2 import (
Relationship as exabel___api___data___v1___relationship_messages_pb2___Relationship,
RelationshipType as exabel___api___data___v1___relationship_messages_pb2___RelationshipType,
)

from google.protobuf.descriptor import Descriptor as google___protobuf___descriptor___Descriptor
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)

from google.protobuf.field_mask_pb2 import (
FieldMask as google___protobuf___field_mask_pb2___FieldMask,
)

from google.protobuf.internal.containers import (
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal

from exabel_data_sdk.stubs.exabel.api.data.v1.relationship_messages_pb2 import (
Relationship as exabel___api___data___v1___relationship_messages_pb2___Relationship,
from google.protobuf.message import (
Message as google___protobuf___message___Message,
)
from exabel_data_sdk.stubs.exabel.api.data.v1.relationship_messages_pb2 import (
RelationshipType as exabel___api___data___v1___relationship_messages_pb2___RelationshipType,

from typing import (
Iterable as typing___Iterable,
Optional as typing___Optional,
Text as typing___Text,
)

from typing_extensions import (
Literal as typing_extensions___Literal,
)

builtin___bool = bool
Expand Down Expand Up @@ -99,12 +109,10 @@ class CreateRelationshipTypeRequest(google___protobuf___message___Message):
] = None,
) -> None: ...
def HasField(
self,
field_name: typing_extensions___Literal["relationship_type", b"relationship_type"],
self, field_name: typing_extensions___Literal["relationship_type", b"relationship_type"]
) -> builtin___bool: ...
def ClearField(
self,
field_name: typing_extensions___Literal["relationship_type", b"relationship_type"],
self, field_name: typing_extensions___Literal["relationship_type", b"relationship_type"]
) -> None: ...

type___CreateRelationshipTypeRequest = CreateRelationshipTypeRequest
Expand Down Expand Up @@ -246,12 +254,7 @@ class GetRelationshipRequest(google___protobuf___message___Message):
def ClearField(
self,
field_name: typing_extensions___Literal[
"from_entity",
b"from_entity",
"parent",
b"parent",
"to_entity",
b"to_entity",
"from_entity", b"from_entity", "parent", b"parent", "to_entity", b"to_entity"
],
) -> None: ...

Expand Down Expand Up @@ -325,12 +328,7 @@ class DeleteRelationshipRequest(google___protobuf___message___Message):
def ClearField(
self,
field_name: typing_extensions___Literal[
"from_entity",
b"from_entity",
"parent",
b"parent",
"to_entity",
b"to_entity",
"from_entity", b"from_entity", "parent", b"parent", "to_entity", b"to_entity"
],
) -> None: ...

Expand Down
29 changes: 19 additions & 10 deletions exabel_data_sdk/stubs/exabel/api/data/v1/search_messages_pb2.pyi
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!
import sys
from typing import Optional as typing___Optional
from typing import Text as typing___Text

from google.protobuf.descriptor import Descriptor as google___protobuf___descriptor___Descriptor
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
from google.protobuf.descriptor import (
Descriptor as google___protobuf___descriptor___Descriptor,
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
)
from google.protobuf.message import Message as google___protobuf___message___Message
from typing_extensions import Literal as typing_extensions___Literal

from google.protobuf.message import (
Message as google___protobuf___message___Message,
)

from typing import (
Optional as typing___Optional,
Text as typing___Text,
)

from typing_extensions import (
Literal as typing_extensions___Literal,
)

builtin___bool = bool
builtin___bytes = bytes
Expand All @@ -28,8 +38,7 @@ class SearchTerm(google___protobuf___message___Message):
query: typing___Optional[typing___Text] = None,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions___Literal["field", b"field", "query", b"query"],
self, field_name: typing_extensions___Literal["field", b"field", "query", b"query"]
) -> None: ...

type___SearchTerm = SearchTerm
26 changes: 23 additions & 3 deletions exabel_data_sdk/stubs/exabel/api/data/v1/signal_messages_pb2.py

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

Loading

0 comments on commit 0946bbc

Please sign in to comment.