-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change package structure. Move tests out of package dir.
- Loading branch information
Showing
25 changed files
with
991 additions
and
33 deletions.
There are no files selected for viewing
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 +1,2 @@ | ||
include ./keysight_chakra/protobuf/* | ||
include ./keysight_chakra/infra/* | ||
include ./keysight_chakra/mlcommons/* |
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
Empty file.
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,43 @@ | ||
from google.protobuf import any_pb2 as _any_pb2 | ||
from google.protobuf.internal import containers as _containers | ||
from google.protobuf import descriptor as _descriptor | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class Data(_message.Message): | ||
__slots__ = ("name", "value") | ||
NAME_FIELD_NUMBER: _ClassVar[int] | ||
VALUE_FIELD_NUMBER: _ClassVar[int] | ||
name: str | ||
value: _any_pb2.Any | ||
def __init__(self, name: _Optional[str] = ..., value: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... | ||
|
||
class Target(_message.Message): | ||
__slots__ = ("infrastructure", "device", "device_component", "device_component_index", "device_instance", "device_instance_index", "device_instance_index_component", "device_instance_index_component_index") | ||
INFRASTRUCTURE_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_COMPONENT_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_COMPONENT_INDEX_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_INSTANCE_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_INSTANCE_INDEX_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_INSTANCE_INDEX_COMPONENT_FIELD_NUMBER: _ClassVar[int] | ||
DEVICE_INSTANCE_INDEX_COMPONENT_INDEX_FIELD_NUMBER: _ClassVar[int] | ||
infrastructure: str | ||
device: str | ||
device_component: str | ||
device_component_index: str | ||
device_instance: str | ||
device_instance_index: str | ||
device_instance_index_component: str | ||
device_instance_index_component_index: str | ||
def __init__(self, infrastructure: _Optional[str] = ..., device: _Optional[str] = ..., device_component: _Optional[str] = ..., device_component_index: _Optional[str] = ..., device_instance: _Optional[str] = ..., device_instance_index: _Optional[str] = ..., device_instance_index_component: _Optional[str] = ..., device_instance_index_component_index: _Optional[str] = ...) -> None: ... | ||
|
||
class Annotation(_message.Message): | ||
__slots__ = ("targets", "data") | ||
TARGETS_FIELD_NUMBER: _ClassVar[int] | ||
DATA_FIELD_NUMBER: _ClassVar[int] | ||
targets: _containers.RepeatedCompositeFieldContainer[Target] | ||
data: Data | ||
def __init__(self, targets: _Optional[_Iterable[_Union[Target, _Mapping]]] = ..., data: _Optional[_Union[Data, _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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
import warnings | ||
|
||
|
||
GRPC_GENERATED_VERSION = '1.67.1' | ||
GRPC_VERSION = grpc.__version__ | ||
_version_not_supported = False | ||
|
||
try: | ||
from grpc._utilities import first_version_is_lower | ||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) | ||
except ImportError: | ||
_version_not_supported = True | ||
|
||
if _version_not_supported: | ||
raise RuntimeError( | ||
f'The grpc package installed is at version {GRPC_VERSION},' | ||
+ f' but the generated code in keysight_chakra/infra/annotate_pb2_grpc.py depends on' | ||
+ f' grpcio>={GRPC_GENERATED_VERSION}.' | ||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' | ||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' | ||
) |
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.
Oops, something went wrong.