Skip to content

Commit b52004c

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@be80529
1 parent 13ae5a0 commit b52004c

File tree

5 files changed

+432
-262
lines changed

5 files changed

+432
-262
lines changed

agent/agent/v1alpha/agent_public_service_pb2.py

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agent/agent/v1alpha/agent_public_service_pb2_grpc.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ def __init__(self, channel):
134134
request_serializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.SuggestColumnDefinitionRequest.SerializeToString,
135135
response_deserializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.SuggestColumnDefinitionResponse.FromString,
136136
)
137+
self.EnhanceColumnDefinitionInstructions = channel.unary_unary(
138+
'/agent.agent.v1alpha.AgentPublicService/EnhanceColumnDefinitionInstructions',
139+
request_serializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.EnhanceColumnDefinitionInstructionsRequest.SerializeToString,
140+
response_deserializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.EnhanceColumnDefinitionInstructionsResponse.FromString,
141+
)
137142
self.GetColumnDefinition = channel.unary_unary(
138143
'/agent.agent.v1alpha.AgentPublicService/GetColumnDefinition',
139144
request_serializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.GetColumnDefinitionRequest.SerializeToString,
@@ -471,6 +476,15 @@ def SuggestColumnDefinition(self, request, context):
471476
context.set_details('Method not implemented!')
472477
raise NotImplementedError('Method not implemented!')
473478

479+
def EnhanceColumnDefinitionInstructions(self, request, context):
480+
"""Enhance column definition instructions
481+
482+
Enhances the instructions of a column definition.
483+
"""
484+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
485+
context.set_details('Method not implemented!')
486+
raise NotImplementedError('Method not implemented!')
487+
474488
def GetColumnDefinition(self, request, context):
475489
"""Get column definition
476490
@@ -807,6 +821,11 @@ def add_AgentPublicServiceServicer_to_server(servicer, server):
807821
request_deserializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.SuggestColumnDefinitionRequest.FromString,
808822
response_serializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.SuggestColumnDefinitionResponse.SerializeToString,
809823
),
824+
'EnhanceColumnDefinitionInstructions': grpc.unary_unary_rpc_method_handler(
825+
servicer.EnhanceColumnDefinitionInstructions,
826+
request_deserializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.EnhanceColumnDefinitionInstructionsRequest.FromString,
827+
response_serializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.EnhanceColumnDefinitionInstructionsResponse.SerializeToString,
828+
),
810829
'GetColumnDefinition': grpc.unary_unary_rpc_method_handler(
811830
servicer.GetColumnDefinition,
812831
request_deserializer=agent_dot_agent_dot_v1alpha_dot_table__pb2.GetColumnDefinitionRequest.FromString,
@@ -1330,6 +1349,23 @@ def SuggestColumnDefinition(request,
13301349
options, channel_credentials,
13311350
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
13321351

1352+
@staticmethod
1353+
def EnhanceColumnDefinitionInstructions(request,
1354+
target,
1355+
options=(),
1356+
channel_credentials=None,
1357+
call_credentials=None,
1358+
insecure=False,
1359+
compression=None,
1360+
wait_for_ready=None,
1361+
timeout=None,
1362+
metadata=None):
1363+
return grpc.experimental.unary_unary(request, target, '/agent.agent.v1alpha.AgentPublicService/EnhanceColumnDefinitionInstructions',
1364+
agent_dot_agent_dot_v1alpha_dot_table__pb2.EnhanceColumnDefinitionInstructionsRequest.SerializeToString,
1365+
agent_dot_agent_dot_v1alpha_dot_table__pb2.EnhanceColumnDefinitionInstructionsResponse.FromString,
1366+
options, channel_credentials,
1367+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1368+
13331369
@staticmethod
13341370
def GetColumnDefinition(request,
13351371
target,

agent/agent/v1alpha/agent_public_service_pb2_grpc.pyi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ class AgentPublicServiceStub:
213213
214214
Suggests a column definition based on existing table columns and user input.
215215
"""
216+
EnhanceColumnDefinitionInstructions: grpc.UnaryUnaryMultiCallable[
217+
agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsRequest,
218+
agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsResponse,
219+
]
220+
"""Enhance column definition instructions
221+
222+
Enhances the instructions of a column definition.
223+
"""
216224
GetColumnDefinition: grpc.UnaryUnaryMultiCallable[
217225
agent.agent.v1alpha.table_pb2.GetColumnDefinitionRequest,
218226
agent.agent.v1alpha.table_pb2.GetColumnDefinitionResponse,
@@ -600,6 +608,14 @@ class AgentPublicServiceAsyncStub:
600608
601609
Suggests a column definition based on existing table columns and user input.
602610
"""
611+
EnhanceColumnDefinitionInstructions: grpc.aio.UnaryUnaryMultiCallable[
612+
agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsRequest,
613+
agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsResponse,
614+
]
615+
"""Enhance column definition instructions
616+
617+
Enhances the instructions of a column definition.
618+
"""
603619
GetColumnDefinition: grpc.aio.UnaryUnaryMultiCallable[
604620
agent.agent.v1alpha.table_pb2.GetColumnDefinitionRequest,
605621
agent.agent.v1alpha.table_pb2.GetColumnDefinitionResponse,
@@ -1034,6 +1050,16 @@ class AgentPublicServiceServicer(metaclass=abc.ABCMeta):
10341050
Suggests a column definition based on existing table columns and user input.
10351051
"""
10361052
@abc.abstractmethod
1053+
def EnhanceColumnDefinitionInstructions(
1054+
self,
1055+
request: agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsRequest,
1056+
context: _ServicerContext,
1057+
) -> typing.Union[agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsResponse, collections.abc.Awaitable[agent.agent.v1alpha.table_pb2.EnhanceColumnDefinitionInstructionsResponse]]:
1058+
"""Enhance column definition instructions
1059+
1060+
Enhances the instructions of a column definition.
1061+
"""
1062+
@abc.abstractmethod
10371063
def GetColumnDefinition(
10381064
self,
10391065
request: agent.agent.v1alpha.table_pb2.GetColumnDefinitionRequest,

agent/agent/v1alpha/table_pb2.py

Lines changed: 209 additions & 185 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)