nominal-api-protos 0.888.1__py3-none-any.whl → 0.890.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nominal-api-protos might be problematic. Click here for more details.

@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: nominal/ai/v1/workbook_agent.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'nominal/ai/v1/workbook_agent.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nominal/ai/v1/workbook_agent.proto\x12\rnominal.ai.v1\"$\n\x11StreamChatRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\"%\n\x12StreamChatResponse\x12\x0f\n\x07message\x18\x01 \x01(\t2k\n\x14WorkbookAgentService\x12S\n\nStreamChat\x12 .nominal.ai.v1.StreamChatRequest\x1a!.nominal.ai.v1.StreamChatResponse0\x01\x62\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nominal.ai.v1.workbook_agent_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_STREAMCHATREQUEST']._serialized_start=53
35
+ _globals['_STREAMCHATREQUEST']._serialized_end=89
36
+ _globals['_STREAMCHATRESPONSE']._serialized_start=91
37
+ _globals['_STREAMCHATRESPONSE']._serialized_end=128
38
+ _globals['_WORKBOOKAGENTSERVICE']._serialized_start=130
39
+ _globals['_WORKBOOKAGENTSERVICE']._serialized_end=237
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,17 @@
1
+ from google.protobuf import descriptor as _descriptor
2
+ from google.protobuf import message as _message
3
+ from typing import ClassVar as _ClassVar, Optional as _Optional
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
6
+
7
+ class StreamChatRequest(_message.Message):
8
+ __slots__ = ("message",)
9
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
10
+ message: str
11
+ def __init__(self, message: _Optional[str] = ...) -> None: ...
12
+
13
+ class StreamChatResponse(_message.Message):
14
+ __slots__ = ("message",)
15
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
16
+ message: str
17
+ def __init__(self, message: _Optional[str] = ...) -> None: ...
@@ -0,0 +1,101 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+ from nominal.ai.v1 import workbook_agent_pb2 as nominal_dot_ai_dot_v1_dot_workbook__agent__pb2
7
+
8
+ GRPC_GENERATED_VERSION = '1.74.0'
9
+ GRPC_VERSION = grpc.__version__
10
+ _version_not_supported = False
11
+
12
+ try:
13
+ from grpc._utilities import first_version_is_lower
14
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
15
+ except ImportError:
16
+ _version_not_supported = True
17
+
18
+ if _version_not_supported:
19
+ raise RuntimeError(
20
+ f'The grpc package installed is at version {GRPC_VERSION},'
21
+ + f' but the generated code in nominal/ai/v1/workbook_agent_pb2_grpc.py depends on'
22
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
25
+ )
26
+
27
+
28
+ class WorkbookAgentServiceStub(object):
29
+ """WorkbookAgentService provides AI-powered assistance for workbook operations
30
+ """
31
+
32
+ def __init__(self, channel):
33
+ """Constructor.
34
+
35
+ Args:
36
+ channel: A grpc.Channel.
37
+ """
38
+ self.StreamChat = channel.unary_stream(
39
+ '/nominal.ai.v1.WorkbookAgentService/StreamChat',
40
+ request_serializer=nominal_dot_ai_dot_v1_dot_workbook__agent__pb2.StreamChatRequest.SerializeToString,
41
+ response_deserializer=nominal_dot_ai_dot_v1_dot_workbook__agent__pb2.StreamChatResponse.FromString,
42
+ _registered_method=True)
43
+
44
+
45
+ class WorkbookAgentServiceServicer(object):
46
+ """WorkbookAgentService provides AI-powered assistance for workbook operations
47
+ """
48
+
49
+ def StreamChat(self, request, context):
50
+ """StreamChat handles bidirectional streaming chat for workbook AI agent
51
+ """
52
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
53
+ context.set_details('Method not implemented!')
54
+ raise NotImplementedError('Method not implemented!')
55
+
56
+
57
+ def add_WorkbookAgentServiceServicer_to_server(servicer, server):
58
+ rpc_method_handlers = {
59
+ 'StreamChat': grpc.unary_stream_rpc_method_handler(
60
+ servicer.StreamChat,
61
+ request_deserializer=nominal_dot_ai_dot_v1_dot_workbook__agent__pb2.StreamChatRequest.FromString,
62
+ response_serializer=nominal_dot_ai_dot_v1_dot_workbook__agent__pb2.StreamChatResponse.SerializeToString,
63
+ ),
64
+ }
65
+ generic_handler = grpc.method_handlers_generic_handler(
66
+ 'nominal.ai.v1.WorkbookAgentService', rpc_method_handlers)
67
+ server.add_generic_rpc_handlers((generic_handler,))
68
+ server.add_registered_method_handlers('nominal.ai.v1.WorkbookAgentService', rpc_method_handlers)
69
+
70
+
71
+ # This class is part of an EXPERIMENTAL API.
72
+ class WorkbookAgentService(object):
73
+ """WorkbookAgentService provides AI-powered assistance for workbook operations
74
+ """
75
+
76
+ @staticmethod
77
+ def StreamChat(request,
78
+ target,
79
+ options=(),
80
+ channel_credentials=None,
81
+ call_credentials=None,
82
+ insecure=False,
83
+ compression=None,
84
+ wait_for_ready=None,
85
+ timeout=None,
86
+ metadata=None):
87
+ return grpc.experimental.unary_stream(
88
+ request,
89
+ target,
90
+ '/nominal.ai.v1.WorkbookAgentService/StreamChat',
91
+ nominal_dot_ai_dot_v1_dot_workbook__agent__pb2.StreamChatRequest.SerializeToString,
92
+ nominal_dot_ai_dot_v1_dot_workbook__agent__pb2.StreamChatResponse.FromString,
93
+ options,
94
+ channel_credentials,
95
+ insecure,
96
+ call_credentials,
97
+ compression,
98
+ wait_for_ready,
99
+ timeout,
100
+ metadata,
101
+ _registered_method=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api-protos
3
- Version: 0.888.1
3
+ Version: 0.890.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: protobuf>=5.25.0
6
6
  Dynamic: requires-dist
@@ -5,6 +5,9 @@ nominal_api_protos/prometheus_remote_write_pb2.py,sha256=hG4LXQikJs2sFZ57U9lPQv5
5
5
  nominal_api_protos/prometheus_remote_write_pb2.pyi,sha256=V0Vct6AbqB2iQlAUz7QLPizufoFU0Dpw3nBhQeI61Ss,1649
6
6
  nominal_api_protos/prometheus_remote_write_pb2_grpc.py,sha256=_mkcVMuuUGt6u59DUr-6W3FTBCSQeMLJR3Sc8XKPaCk,904
7
7
  nominal_api_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ nominal_api_protos/nominal/ai/v1/workbook_agent_pb2.py,sha256=iZUMin5ab9weLbNtX6rXkJ1UYz6_bopLVB2flisqOws,1787
9
+ nominal_api_protos/nominal/ai/v1/workbook_agent_pb2.pyi,sha256=6KHsSI1HcR3oUgMWH1STxwMdOL2bYDjtNc50QvVEGMM,603
10
+ nominal_api_protos/nominal/ai/v1/workbook_agent_pb2_grpc.py,sha256=UehNLaC4nWOVuG7Y-5DuYIXlZyYZDwbSoa2OE91eIJU,3908
8
11
  nominal_api_protos/nominal/application/v1/application_pb2.py,sha256=Kgvx0zgiijr64FJV8tgzq2NijB3oGlwA_w4kUrlIV_Q,2433
9
12
  nominal_api_protos/nominal/application/v1/application_pb2.pyi,sha256=c6e_qS1PmxPBgzWpDOq1VdU89W2AskdrBqWghH5hKmo,561
10
13
  nominal_api_protos/nominal/application/v1/application_pb2_grpc.py,sha256=YqlAh7vaxLnVQOJ6pn_NZMfDCUgpmyWhtewfpPuSIIo,3969
@@ -71,7 +74,7 @@ nominal_api_protos/nominal/versioning/v1/versioning_pb2_grpc.py,sha256=BPFvKQPHK
71
74
  nominal_api_protos/nominal/workspaces/v1/workspaces_pb2.py,sha256=XpP5HDZXUyjfr5gHyCv3_c6jyt7bvVHAZniPMCrOWBU,13064
72
75
  nominal_api_protos/nominal/workspaces/v1/workspaces_pb2.pyi,sha256=Ijf9duM_uDuwphxnKzLb_KkEotjXP4Wdmd5AQ06GPac,6227
73
76
  nominal_api_protos/nominal/workspaces/v1/workspaces_pb2_grpc.py,sha256=dCqUWk2P52MiOtZbQAHXXUP1RUKG_CRU1jbFyZh9g5k,10542
74
- nominal_api_protos-0.888.1.dist-info/METADATA,sha256=MTqf7gqO-kK25BgAFS7nNzUta-qVhi2xJbAvGic_rS8,167
75
- nominal_api_protos-0.888.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
- nominal_api_protos-0.888.1.dist-info/top_level.txt,sha256=LGL0l0Ex9617MHzOemB7GgioLYe-livRUUrqIkV0hpQ,19
77
- nominal_api_protos-0.888.1.dist-info/RECORD,,
77
+ nominal_api_protos-0.890.0.dist-info/METADATA,sha256=8Yrd0OzCtzVF1umCKhDni7XQkYh22wR4opHxObBYTF0,167
78
+ nominal_api_protos-0.890.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
+ nominal_api_protos-0.890.0.dist-info/top_level.txt,sha256=LGL0l0Ex9617MHzOemB7GgioLYe-livRUUrqIkV0hpQ,19
80
+ nominal_api_protos-0.890.0.dist-info/RECORD,,