-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Antonio Gisondi <antonio.gisondi@secomind.com>
- Loading branch information
Showing
12 changed files
with
274 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper | ||
from google.protobuf import descriptor as _descriptor | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class MessageHubError(_message.Message): | ||
__slots__ = ["error_code", "error_description"] | ||
class ErrorCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): | ||
__slots__ = [] | ||
UNKNOWN: _ClassVar[MessageHubError.ErrorCode] | ||
ASTARTE_INVALID_DATA: _ClassVar[MessageHubError.ErrorCode] | ||
ASTARTE_SDK_ERROR: _ClassVar[MessageHubError.ErrorCode] | ||
CONVERSION_ERROR: _ClassVar[MessageHubError.ErrorCode] | ||
UNKNOWN: MessageHubError.ErrorCode | ||
ASTARTE_INVALID_DATA: MessageHubError.ErrorCode | ||
ASTARTE_SDK_ERROR: MessageHubError.ErrorCode | ||
CONVERSION_ERROR: MessageHubError.ErrorCode | ||
ERROR_CODE_FIELD_NUMBER: _ClassVar[int] | ||
ERROR_DESCRIPTION_FIELD_NUMBER: _ClassVar[int] | ||
error_code: MessageHubError.ErrorCode | ||
error_description: str | ||
def __init__(self, error_code: _Optional[_Union[MessageHubError.ErrorCode, str]] = ..., error_description: _Optional[str] = ...) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
from google.protobuf import empty_pb2 as _empty_pb2 | ||
from astarteplatform.msghub import astarte_message_pb2 as _astarte_message_pb2 | ||
from astarteplatform.msghub import astarte_type_pb2 as _astarte_type_pb2 | ||
from astarteplatform.msghub import message_hub_error_pb2 as _message_hub_error_pb2 | ||
from astarteplatform.msghub import node_pb2 as _node_pb2 | ||
from google.protobuf import descriptor as _descriptor | ||
from typing import ClassVar as _ClassVar | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class MessageHubResult(_message.Message): | ||
__slots__ = ["empty_message", "hub_error"] | ||
EMPTY_MESSAGE_FIELD_NUMBER: _ClassVar[int] | ||
HUB_ERROR_FIELD_NUMBER: _ClassVar[int] | ||
empty_message: _empty_pb2.Empty | ||
hub_error: _message_hub_error_pb2.MessageHubError | ||
def __init__(self, empty_message: _Optional[_Union[_empty_pb2.Empty, _Mapping]] = ..., hub_error: _Optional[_Union[_message_hub_error_pb2.MessageHubError, _Mapping]] = ...) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.