weave-python 0.59.0__py3-none-any.whl → 0.60.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.
Files changed (41) hide show
  1. weave/weaveapi/agent/v1/service_pb2_grpc.py +3 -3
  2. weave/weaveapi/atc/v1/service_pb2_grpc.py +6 -6
  3. weave/weaveapi/auth/v1/service_pb2_grpc.py +9 -9
  4. weave/weaveapi/chat/v1/service_pb2_grpc.py +3 -3
  5. weave/weaveapi/consolidation/v1/consolidation_pb2.py +33 -33
  6. weave/weaveapi/consolidation/v1/consolidation_pb2.pyi +39 -43
  7. weave/weaveapi/consolidation/v1/service_pb2_grpc.py +3 -3
  8. weave/weaveapi/gateway/v1/service_pb2_grpc.py +9 -9
  9. weave/weaveapi/ingestion/v1/ingestion_pb2.py +176 -160
  10. weave/weaveapi/ingestion/v1/ingestion_pb2.pyi +262 -80
  11. weave/weaveapi/ingestion/v1/service_pb2.py +24 -6
  12. weave/weaveapi/ingestion/v1/service_pb2_grpc.py +160 -16
  13. weave/weaveapi/ingestion/v1/service_pb2_grpc.pyi +56 -8
  14. weave/weaveapi/ingestion/v1/table_pb2.py +92 -0
  15. weave/weaveapi/ingestion/v1/table_pb2.pyi +587 -0
  16. weave/weaveapi/ingestion/v1/table_pb2_grpc.py +2 -0
  17. weave/weaveapi/ingestion/v1/table_pb2_grpc.pyi +21 -0
  18. weave/weaveapi/model/v1/model_pb2.py +6 -6
  19. weave/weaveapi/model/v1/model_pb2.pyi +21 -21
  20. weave/weaveapi/model/v1/service_pb2.py +6 -6
  21. weave/weaveapi/model/v1/service_pb2.pyi +21 -21
  22. weave/weaveapi/model/v1/service_pb2_grpc.py +3 -3
  23. weave/weaveapi/organization/v1/service_pb2_grpc.py +3 -3
  24. weave/weaveapi/project/v1/service_pb2_grpc.py +3 -3
  25. weave/weaveapi/provider/v1/service_pb2_grpc.py +3 -3
  26. weave/weaveapi/retrieval/v1/retrieval_pb2.py +161 -43
  27. weave/weaveapi/retrieval/v1/retrieval_pb2.pyi +822 -0
  28. weave/weaveapi/retrieval/v1/service_pb2.py +16 -2
  29. weave/weaveapi/retrieval/v1/service_pb2_grpc.py +97 -3
  30. weave/weaveapi/retrieval/v1/service_pb2_grpc.pyi +32 -0
  31. weave/weaveapi/task/v1/service_pb2_grpc.py +3 -3
  32. weave/weaveapi/workflow/v1/service_pb2_grpc.py +3 -3
  33. weave/weavesql/weavedb/consolidation.py +122 -122
  34. weave/weavesql/weavedb/document_table.py +2625 -0
  35. weave/weavesql/weavedb/ingestion.py +299 -121
  36. weave/weavesql/weavedb/models.py +84 -6
  37. weave/weavesql/weavedb/retrieval.py +32 -32
  38. {weave_python-0.59.0.dist-info → weave_python-0.60.0.dist-info}/METADATA +1 -1
  39. {weave_python-0.59.0.dist-info → weave_python-0.60.0.dist-info}/RECORD +41 -36
  40. {weave_python-0.59.0.dist-info → weave_python-0.60.0.dist-info}/WHEEL +1 -1
  41. {weave_python-0.59.0.dist-info → weave_python-0.60.0.dist-info}/licenses/LICENSE +0 -0
@@ -6,7 +6,7 @@ import grpc
6
6
  from weaveapi.agent.v1 import service_pb2 as weaveapi_dot_agent_dot_v1_dot_service__pb2
7
7
 
8
8
 
9
- class AgentServiceStub(object):
9
+ class AgentServiceStub:
10
10
  """Missing associated documentation comment in .proto file."""
11
11
 
12
12
  def __init__(self, channel):
@@ -95,7 +95,7 @@ class AgentServiceStub(object):
95
95
  )
96
96
 
97
97
 
98
- class AgentServiceServicer(object):
98
+ class AgentServiceServicer:
99
99
  """Missing associated documentation comment in .proto file."""
100
100
 
101
101
  def CreateAgentDefinition(self, request, context):
@@ -255,7 +255,7 @@ def add_AgentServiceServicer_to_server(servicer, server):
255
255
 
256
256
 
257
257
  # This class is part of an EXPERIMENTAL API.
258
- class AgentService(object):
258
+ class AgentService:
259
259
  """Missing associated documentation comment in .proto file."""
260
260
 
261
261
  @staticmethod
@@ -6,7 +6,7 @@ import grpc
6
6
  from weaveapi.atc.v1 import service_pb2 as weaveapi_dot_atc_dot_v1_dot_service__pb2
7
7
 
8
8
 
9
- class ATCServiceStub(object):
9
+ class ATCServiceStub:
10
10
  """ATCService is the primary API surface for running agents through the
11
11
  Agent Traffic Controller runtime.
12
12
  """
@@ -49,7 +49,7 @@ class ATCServiceStub(object):
49
49
  )
50
50
 
51
51
 
52
- class ATCServiceServicer(object):
52
+ class ATCServiceServicer:
53
53
  """ATCService is the primary API surface for running agents through the
54
54
  Agent Traffic Controller runtime.
55
55
  """
@@ -123,7 +123,7 @@ def add_ATCServiceServicer_to_server(servicer, server):
123
123
 
124
124
 
125
125
  # This class is part of an EXPERIMENTAL API.
126
- class ATCService(object):
126
+ class ATCService:
127
127
  """ATCService is the primary API surface for running agents through the
128
128
  Agent Traffic Controller runtime.
129
129
  """
@@ -279,7 +279,7 @@ class ATCService(object):
279
279
  )
280
280
 
281
281
 
282
- class InspectionServiceStub(object):
282
+ class InspectionServiceStub:
283
283
  """InspectionService provides observability and audit capabilities for
284
284
  the ATC runtime.
285
285
  """
@@ -340,7 +340,7 @@ class InspectionServiceStub(object):
340
340
  )
341
341
 
342
342
 
343
- class InspectionServiceServicer(object):
343
+ class InspectionServiceServicer:
344
344
  """InspectionService provides observability and audit capabilities for
345
345
  the ATC runtime.
346
346
  """
@@ -453,7 +453,7 @@ def add_InspectionServiceServicer_to_server(servicer, server):
453
453
 
454
454
 
455
455
  # This class is part of an EXPERIMENTAL API.
456
- class InspectionService(object):
456
+ class InspectionService:
457
457
  """InspectionService provides observability and audit capabilities for
458
458
  the ATC runtime.
459
459
  """
@@ -6,7 +6,7 @@ import grpc
6
6
  from weaveapi.auth.v1 import service_pb2 as weaveapi_dot_auth_dot_v1_dot_service__pb2
7
7
 
8
8
 
9
- class AuthServiceStub(object):
9
+ class AuthServiceStub:
10
10
  """Missing associated documentation comment in .proto file."""
11
11
 
12
12
  def __init__(self, channel):
@@ -95,7 +95,7 @@ class AuthServiceStub(object):
95
95
  )
96
96
 
97
97
 
98
- class AuthServiceServicer(object):
98
+ class AuthServiceServicer:
99
99
  """Missing associated documentation comment in .proto file."""
100
100
 
101
101
  def GetSession(self, request, context):
@@ -255,7 +255,7 @@ def add_AuthServiceServicer_to_server(servicer, server):
255
255
 
256
256
 
257
257
  # This class is part of an EXPERIMENTAL API.
258
- class AuthService(object):
258
+ class AuthService:
259
259
  """Missing associated documentation comment in .proto file."""
260
260
 
261
261
  @staticmethod
@@ -649,7 +649,7 @@ class AuthService(object):
649
649
  )
650
650
 
651
651
 
652
- class ProfileServiceStub(object):
652
+ class ProfileServiceStub:
653
653
  """Missing associated documentation comment in .proto file."""
654
654
 
655
655
  def __init__(self, channel):
@@ -690,7 +690,7 @@ class ProfileServiceStub(object):
690
690
  )
691
691
 
692
692
 
693
- class ProfileServiceServicer(object):
693
+ class ProfileServiceServicer:
694
694
  """Missing associated documentation comment in .proto file."""
695
695
 
696
696
  def GetProfile(self, request, context):
@@ -762,7 +762,7 @@ def add_ProfileServiceServicer_to_server(servicer, server):
762
762
 
763
763
 
764
764
  # This class is part of an EXPERIMENTAL API.
765
- class ProfileService(object):
765
+ class ProfileService:
766
766
  """Missing associated documentation comment in .proto file."""
767
767
 
768
768
  @staticmethod
@@ -916,7 +916,7 @@ class ProfileService(object):
916
916
  )
917
917
 
918
918
 
919
- class OrganizationAuthAdminServiceStub(object):
919
+ class OrganizationAuthAdminServiceStub:
920
920
  """Missing associated documentation comment in .proto file."""
921
921
 
922
922
  def __init__(self, channel):
@@ -1089,7 +1089,7 @@ class OrganizationAuthAdminServiceStub(object):
1089
1089
  )
1090
1090
 
1091
1091
 
1092
- class OrganizationAuthAdminServiceServicer(object):
1092
+ class OrganizationAuthAdminServiceServicer:
1093
1093
  """Missing associated documentation comment in .proto file."""
1094
1094
 
1095
1095
  def GetOrganizationAuthSettings(self, request, context):
@@ -1403,7 +1403,7 @@ def add_OrganizationAuthAdminServiceServicer_to_server(servicer, server):
1403
1403
 
1404
1404
 
1405
1405
  # This class is part of an EXPERIMENTAL API.
1406
- class OrganizationAuthAdminService(object):
1406
+ class OrganizationAuthAdminService:
1407
1407
  """Missing associated documentation comment in .proto file."""
1408
1408
 
1409
1409
  @staticmethod
@@ -6,7 +6,7 @@ import grpc
6
6
  from weaveapi.chat.v1 import service_pb2 as weaveapi_dot_chat_dot_v1_dot_service__pb2
7
7
 
8
8
 
9
- class ChatServiceStub(object):
9
+ class ChatServiceStub:
10
10
  """Missing associated documentation comment in .proto file."""
11
11
 
12
12
  def __init__(self, channel):
@@ -89,7 +89,7 @@ class ChatServiceStub(object):
89
89
  )
90
90
 
91
91
 
92
- class ChatServiceServicer(object):
92
+ class ChatServiceServicer:
93
93
  """Missing associated documentation comment in .proto file."""
94
94
 
95
95
  def CreateSession(self, request, context):
@@ -242,7 +242,7 @@ def add_ChatServiceServicer_to_server(servicer, server):
242
242
 
243
243
 
244
244
  # This class is part of an EXPERIMENTAL API.
245
- class ChatService(object):
245
+ class ChatService:
246
246
  """Missing associated documentation comment in .proto file."""
247
247
 
248
248
  @staticmethod
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
 
26
26
 
27
27
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
28
- b'\n-weaveapi/consolidation/v1/consolidation.proto\x12\x19weaveapi.consolidation.v1\x1a\x1fgoogle/protobuf/timestamp.proto"e\n\x0eKnowledgeRealm\x12\x41\n\x04kind\x18\x01 \x01(\x0e\x32-.weaveapi.consolidation.v1.KnowledgeRealmKindR\x04kind\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"\x97\x03\n\x10\x43onsolidationRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12I\n\x06status\x18\x03 \x01(\x0e\x32\x31.weaveapi.consolidation.v1.ConsolidationRunStatusR\x06status\x12!\n\x0cthread_count\x18\x04 \x01(\x05R\x0bthreadCount\x12#\n\rcluster_count\x18\x05 \x01(\x05R\x0c\x63lusterCount\x12\'\n\x0fhierarchy_depth\x18\x06 \x01(\x05R\x0ehierarchyDepth\x12\x14\n\x05\x65rror\x18\x07 \x01(\tR\x05\x65rror\x12\x39\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12=\n\x0c\x63ompleted_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63ompletedAt"\xb0\x04\n\x0e\x43onceptCluster\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12%\n\x0eknowledge_type\x18\x05 \x01(\tR\rknowledgeType\x12\x14\n\x05level\x18\x06 \x01(\x05R\x05level\x12\x1b\n\tparent_id\x18\x07 \x01(\tR\x08parentId\x12!\n\x0cthread_count\x18\x08 \x01(\x05R\x0bthreadCount\x12\x30\n\x14\x63onsolidation_run_id\x18\t \x01(\tR\x12\x63onsolidationRunId\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12*\n\x11\x63hild_cluster_ids\x18\x0c \x03(\tR\x0f\x63hildClusterIds\x12\x1d\n\nthread_ids\x18\r \x03(\tR\tthreadIds\x12?\n\x05realm\x18\x0e \x01(\x0b\x32).weaveapi.consolidation.v1.KnowledgeRealmR\x05realm"]\n\x10\x43onceptHierarchy\x12I\n\x08\x63lusters\x18\x01 \x03(\x0b\x32).weaveapi.consolidation.v1.ConceptClusterB\x02(\x01R\x08\x63lusters"\xc0\x01\n\x1bTriggerConsolidationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0c\x66ull_rebuild\x18\x02 \x01(\x08R\x0b\x66ullRebuild\x12(\n\x10top_level_target\x18\x03 \x01(\x05R\x0etopLevelTarget\x12+\n\x11neighborhood_size\x18\x04 \x01(\x05R\x10neighborhoodSize"w\n\x1aGetConsolidationRunRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x30\n\x14\x63onsolidation_run_id\x18\x02 \x01(\tR\x12\x63onsolidationRunId"\x86\x01\n\x1fListConsolidationHistoryRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken"\x8f\x01\n ListConsolidationHistoryResponse\x12\x43\n\x04runs\x18\x01 \x03(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x04runs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"\xf0\x01\n\x1aGetConceptHierarchyRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12%\n\x0eknowledge_type\x18\x02 \x01(\tR\rknowledgeType\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12$\n\x0e\x61\x63ting_user_id\x18\x04 \x01(\tR\x0c\x61\x63tingUserId\x12?\n\x05realm\x18\x05 \x01(\x0b\x32).weaveapi.consolidation.v1.KnowledgeRealmR\x05realm"\xd8\x01\n\x18GetConceptClusterRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12,\n\x12\x63oncept_cluster_id\x18\x02 \x01(\tR\x10\x63onceptClusterId\x12$\n\x0e\x61\x63ting_user_id\x18\x03 \x01(\tR\x0c\x61\x63tingUserId\x12?\n\x05realm\x18\x04 \x01(\x0b\x32).weaveapi.consolidation.v1.KnowledgeRealmR\x05realm"|\n\x1cTriggerConsolidationResponse\x12\\\n\x11\x63onsolidation_run\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x10\x63onsolidationRun"{\n\x1bGetConsolidationRunResponse\x12\\\n\x11\x63onsolidation_run\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x10\x63onsolidationRun"l\n\x1bGetConceptHierarchyResponse\x12M\n\thierarchy\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConceptHierarchyB\x02(\x01R\thierarchy"s\n\x19GetConceptClusterResponse\x12V\n\x0f\x63oncept_cluster\x18\x01 \x01(\x0b\x32).weaveapi.consolidation.v1.ConceptClusterB\x02(\x01R\x0e\x63onceptCluster*\xb0\x02\n\x16\x43onsolidationRunStatus\x12(\n$CONSOLIDATION_RUN_STATUS_UNSPECIFIED\x10\x00\x12$\n CONSOLIDATION_RUN_STATUS_STARTED\x10\x01\x12\'\n#CONSOLIDATION_RUN_STATUS_CLUSTERING\x10\x02\x12%\n!CONSOLIDATION_RUN_STATUS_LABELING\x10\x03\x12*\n&CONSOLIDATION_RUN_STATUS_HIERARCHIZING\x10\x04\x12%\n!CONSOLIDATION_RUN_STATUS_COMPLETE\x10\x05\x12#\n\x1f\x43ONSOLIDATION_RUN_STATUS_FAILED\x10\x06*\xc0\x01\n\x12KnowledgeRealmKind\x12$\n KNOWLEDGE_REALM_KIND_UNSPECIFIED\x10\x00\x12\x1c\n\x18KNOWLEDGE_REALM_KIND_ORG\x10\x01\x12\x1c\n\x18KNOWLEDGE_REALM_KIND_TAG\x10\x02\x12\x1d\n\x19KNOWLEDGE_REALM_KIND_USER\x10\x03\x12)\n%KNOWLEDGE_REALM_KIND_RESTRICTED_GROUP\x10\x04\x42\x81\x02\n\x1d\x63om.weaveapi.consolidation.v1B\x12\x43onsolidationProtoP\x01ZFgithub.com/weave-labs/weave-go/weaveapi/consolidation/v1;consolidation\xa2\x02\x03WCX\xaa\x02\x19Weaveapi.Consolidation.V1\xca\x02\x19Weaveapi\\Consolidation\\V1\xe2\x02%Weaveapi\\Consolidation\\V1\\GPBMetadata\xea\x02\x1bWeaveapi::Consolidation::V1b\x08\x65\x64itionsp\xe8\x07'
28
+ b'\n-weaveapi/consolidation/v1/consolidation.proto\x12\x19weaveapi.consolidation.v1\x1a\x1fgoogle/protobuf/timestamp.proto"S\n\x05Scope\x12\x38\n\x04kind\x18\x01 \x01(\x0e\x32$.weaveapi.consolidation.v1.ScopeKindR\x04kind\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"\x97\x03\n\x10\x43onsolidationRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12I\n\x06status\x18\x03 \x01(\x0e\x32\x31.weaveapi.consolidation.v1.ConsolidationRunStatusR\x06status\x12!\n\x0cthread_count\x18\x04 \x01(\x05R\x0bthreadCount\x12#\n\rcluster_count\x18\x05 \x01(\x05R\x0c\x63lusterCount\x12\'\n\x0fhierarchy_depth\x18\x06 \x01(\x05R\x0ehierarchyDepth\x12\x14\n\x05\x65rror\x18\x07 \x01(\tR\x05\x65rror\x12\x39\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12=\n\x0c\x63ompleted_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63ompletedAt"\xa7\x04\n\x0e\x43onceptCluster\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12%\n\x0eknowledge_type\x18\x05 \x01(\tR\rknowledgeType\x12\x14\n\x05level\x18\x06 \x01(\x05R\x05level\x12\x1b\n\tparent_id\x18\x07 \x01(\tR\x08parentId\x12!\n\x0cthread_count\x18\x08 \x01(\x05R\x0bthreadCount\x12\x30\n\x14\x63onsolidation_run_id\x18\t \x01(\tR\x12\x63onsolidationRunId\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12*\n\x11\x63hild_cluster_ids\x18\x0c \x03(\tR\x0f\x63hildClusterIds\x12\x1d\n\nthread_ids\x18\r \x03(\tR\tthreadIds\x12\x36\n\x05scope\x18\x0e \x01(\x0b\x32 .weaveapi.consolidation.v1.ScopeR\x05scope"]\n\x10\x43onceptHierarchy\x12I\n\x08\x63lusters\x18\x01 \x03(\x0b\x32).weaveapi.consolidation.v1.ConceptClusterB\x02(\x01R\x08\x63lusters"\xc0\x01\n\x1bTriggerConsolidationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0c\x66ull_rebuild\x18\x02 \x01(\x08R\x0b\x66ullRebuild\x12(\n\x10top_level_target\x18\x03 \x01(\x05R\x0etopLevelTarget\x12+\n\x11neighborhood_size\x18\x04 \x01(\x05R\x10neighborhoodSize"w\n\x1aGetConsolidationRunRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x30\n\x14\x63onsolidation_run_id\x18\x02 \x01(\tR\x12\x63onsolidationRunId"\x86\x01\n\x1fListConsolidationHistoryRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken"\x8f\x01\n ListConsolidationHistoryResponse\x12\x43\n\x04runs\x18\x01 \x03(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x04runs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"\xe7\x01\n\x1aGetConceptHierarchyRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12%\n\x0eknowledge_type\x18\x02 \x01(\tR\rknowledgeType\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12$\n\x0e\x61\x63ting_user_id\x18\x04 \x01(\tR\x0c\x61\x63tingUserId\x12\x36\n\x05scope\x18\x05 \x01(\x0b\x32 .weaveapi.consolidation.v1.ScopeR\x05scope"\xcf\x01\n\x18GetConceptClusterRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12,\n\x12\x63oncept_cluster_id\x18\x02 \x01(\tR\x10\x63onceptClusterId\x12$\n\x0e\x61\x63ting_user_id\x18\x03 \x01(\tR\x0c\x61\x63tingUserId\x12\x36\n\x05scope\x18\x04 \x01(\x0b\x32 .weaveapi.consolidation.v1.ScopeR\x05scope"|\n\x1cTriggerConsolidationResponse\x12\\\n\x11\x63onsolidation_run\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x10\x63onsolidationRun"{\n\x1bGetConsolidationRunResponse\x12\\\n\x11\x63onsolidation_run\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x10\x63onsolidationRun"l\n\x1bGetConceptHierarchyResponse\x12M\n\thierarchy\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConceptHierarchyB\x02(\x01R\thierarchy"s\n\x19GetConceptClusterResponse\x12V\n\x0f\x63oncept_cluster\x18\x01 \x01(\x0b\x32).weaveapi.consolidation.v1.ConceptClusterB\x02(\x01R\x0e\x63onceptCluster*\xb0\x02\n\x16\x43onsolidationRunStatus\x12(\n$CONSOLIDATION_RUN_STATUS_UNSPECIFIED\x10\x00\x12$\n CONSOLIDATION_RUN_STATUS_STARTED\x10\x01\x12\'\n#CONSOLIDATION_RUN_STATUS_CLUSTERING\x10\x02\x12%\n!CONSOLIDATION_RUN_STATUS_LABELING\x10\x03\x12*\n&CONSOLIDATION_RUN_STATUS_HIERARCHIZING\x10\x04\x12%\n!CONSOLIDATION_RUN_STATUS_COMPLETE\x10\x05\x12#\n\x1f\x43ONSOLIDATION_RUN_STATUS_FAILED\x10\x06*q\n\tScopeKind\x12\x1a\n\x16SCOPE_KIND_UNSPECIFIED\x10\x00\x12\x12\n\x0eSCOPE_KIND_ORG\x10\x01\x12\x13\n\x0fSCOPE_KIND_USER\x10\x02\x12\x1f\n\x1bSCOPE_KIND_RESTRICTED_GROUP\x10\x03\x42\x81\x02\n\x1d\x63om.weaveapi.consolidation.v1B\x12\x43onsolidationProtoP\x01ZFgithub.com/weave-labs/weave-go/weaveapi/consolidation/v1;consolidation\xa2\x02\x03WCX\xaa\x02\x19Weaveapi.Consolidation.V1\xca\x02\x19Weaveapi\\Consolidation\\V1\xe2\x02%Weaveapi\\Consolidation\\V1\\GPBMetadata\xea\x02\x1bWeaveapi::Consolidation::V1b\x08\x65\x64itionsp\xe8\x07'
29
29
  )
30
30
 
31
31
  _globals = globals()
@@ -72,36 +72,36 @@ if not _descriptor._USE_C_DESCRIPTORS:
72
72
  _globals["_GETCONCEPTCLUSTERRESPONSE"].fields_by_name[
73
73
  "concept_cluster"
74
74
  ]._serialized_options = b"(\001"
75
- _globals["_CONSOLIDATIONRUNSTATUS"]._serialized_start = 2820
76
- _globals["_CONSOLIDATIONRUNSTATUS"]._serialized_end = 3124
77
- _globals["_KNOWLEDGEREALMKIND"]._serialized_start = 3127
78
- _globals["_KNOWLEDGEREALMKIND"]._serialized_end = 3319
79
- _globals["_KNOWLEDGEREALM"]._serialized_start = 109
80
- _globals["_KNOWLEDGEREALM"]._serialized_end = 210
81
- _globals["_CONSOLIDATIONRUN"]._serialized_start = 213
82
- _globals["_CONSOLIDATIONRUN"]._serialized_end = 620
83
- _globals["_CONCEPTCLUSTER"]._serialized_start = 623
84
- _globals["_CONCEPTCLUSTER"]._serialized_end = 1183
85
- _globals["_CONCEPTHIERARCHY"]._serialized_start = 1185
86
- _globals["_CONCEPTHIERARCHY"]._serialized_end = 1278
87
- _globals["_TRIGGERCONSOLIDATIONREQUEST"]._serialized_start = 1281
88
- _globals["_TRIGGERCONSOLIDATIONREQUEST"]._serialized_end = 1473
89
- _globals["_GETCONSOLIDATIONRUNREQUEST"]._serialized_start = 1475
90
- _globals["_GETCONSOLIDATIONRUNREQUEST"]._serialized_end = 1594
91
- _globals["_LISTCONSOLIDATIONHISTORYREQUEST"]._serialized_start = 1597
92
- _globals["_LISTCONSOLIDATIONHISTORYREQUEST"]._serialized_end = 1731
93
- _globals["_LISTCONSOLIDATIONHISTORYRESPONSE"]._serialized_start = 1734
94
- _globals["_LISTCONSOLIDATIONHISTORYRESPONSE"]._serialized_end = 1877
95
- _globals["_GETCONCEPTHIERARCHYREQUEST"]._serialized_start = 1880
96
- _globals["_GETCONCEPTHIERARCHYREQUEST"]._serialized_end = 2120
97
- _globals["_GETCONCEPTCLUSTERREQUEST"]._serialized_start = 2123
98
- _globals["_GETCONCEPTCLUSTERREQUEST"]._serialized_end = 2339
99
- _globals["_TRIGGERCONSOLIDATIONRESPONSE"]._serialized_start = 2341
100
- _globals["_TRIGGERCONSOLIDATIONRESPONSE"]._serialized_end = 2465
101
- _globals["_GETCONSOLIDATIONRUNRESPONSE"]._serialized_start = 2467
102
- _globals["_GETCONSOLIDATIONRUNRESPONSE"]._serialized_end = 2590
103
- _globals["_GETCONCEPTHIERARCHYRESPONSE"]._serialized_start = 2592
104
- _globals["_GETCONCEPTHIERARCHYRESPONSE"]._serialized_end = 2700
105
- _globals["_GETCONCEPTCLUSTERRESPONSE"]._serialized_start = 2702
106
- _globals["_GETCONCEPTCLUSTERRESPONSE"]._serialized_end = 2817
75
+ _globals["_CONSOLIDATIONRUNSTATUS"]._serialized_start = 2775
76
+ _globals["_CONSOLIDATIONRUNSTATUS"]._serialized_end = 3079
77
+ _globals["_SCOPEKIND"]._serialized_start = 3081
78
+ _globals["_SCOPEKIND"]._serialized_end = 3194
79
+ _globals["_SCOPE"]._serialized_start = 109
80
+ _globals["_SCOPE"]._serialized_end = 192
81
+ _globals["_CONSOLIDATIONRUN"]._serialized_start = 195
82
+ _globals["_CONSOLIDATIONRUN"]._serialized_end = 602
83
+ _globals["_CONCEPTCLUSTER"]._serialized_start = 605
84
+ _globals["_CONCEPTCLUSTER"]._serialized_end = 1156
85
+ _globals["_CONCEPTHIERARCHY"]._serialized_start = 1158
86
+ _globals["_CONCEPTHIERARCHY"]._serialized_end = 1251
87
+ _globals["_TRIGGERCONSOLIDATIONREQUEST"]._serialized_start = 1254
88
+ _globals["_TRIGGERCONSOLIDATIONREQUEST"]._serialized_end = 1446
89
+ _globals["_GETCONSOLIDATIONRUNREQUEST"]._serialized_start = 1448
90
+ _globals["_GETCONSOLIDATIONRUNREQUEST"]._serialized_end = 1567
91
+ _globals["_LISTCONSOLIDATIONHISTORYREQUEST"]._serialized_start = 1570
92
+ _globals["_LISTCONSOLIDATIONHISTORYREQUEST"]._serialized_end = 1704
93
+ _globals["_LISTCONSOLIDATIONHISTORYRESPONSE"]._serialized_start = 1707
94
+ _globals["_LISTCONSOLIDATIONHISTORYRESPONSE"]._serialized_end = 1850
95
+ _globals["_GETCONCEPTHIERARCHYREQUEST"]._serialized_start = 1853
96
+ _globals["_GETCONCEPTHIERARCHYREQUEST"]._serialized_end = 2084
97
+ _globals["_GETCONCEPTCLUSTERREQUEST"]._serialized_start = 2087
98
+ _globals["_GETCONCEPTCLUSTERREQUEST"]._serialized_end = 2294
99
+ _globals["_TRIGGERCONSOLIDATIONRESPONSE"]._serialized_start = 2296
100
+ _globals["_TRIGGERCONSOLIDATIONRESPONSE"]._serialized_end = 2420
101
+ _globals["_GETCONSOLIDATIONRUNRESPONSE"]._serialized_start = 2422
102
+ _globals["_GETCONSOLIDATIONRUNRESPONSE"]._serialized_end = 2545
103
+ _globals["_GETCONCEPTHIERARCHYRESPONSE"]._serialized_start = 2547
104
+ _globals["_GETCONCEPTHIERARCHYRESPONSE"]._serialized_end = 2655
105
+ _globals["_GETCONCEPTCLUSTERRESPONSE"]._serialized_start = 2657
106
+ _globals["_GETCONCEPTCLUSTERRESPONSE"]._serialized_end = 2772
107
107
  # @@protoc_insertion_point(module_scope)
@@ -50,43 +50,39 @@ CONSOLIDATION_RUN_STATUS_COMPLETE: ConsolidationRunStatus.ValueType # 5
50
50
  CONSOLIDATION_RUN_STATUS_FAILED: ConsolidationRunStatus.ValueType # 6
51
51
  Global___ConsolidationRunStatus: _TypeAlias = ConsolidationRunStatus # noqa: Y015
52
52
 
53
- class _KnowledgeRealmKind:
53
+ class _ScopeKind:
54
54
  ValueType = _typing.NewType("ValueType", _builtins.int)
55
55
  V: _TypeAlias = ValueType # noqa: Y015
56
56
 
57
- class _KnowledgeRealmKindEnumTypeWrapper(
58
- _enum_type_wrapper._EnumTypeWrapper[_KnowledgeRealmKind.ValueType], _builtins.type
57
+ class _ScopeKindEnumTypeWrapper(
58
+ _enum_type_wrapper._EnumTypeWrapper[_ScopeKind.ValueType], _builtins.type
59
59
  ):
60
60
  DESCRIPTOR: _descriptor.EnumDescriptor
61
- KNOWLEDGE_REALM_KIND_UNSPECIFIED: _KnowledgeRealmKind.ValueType # 0
62
- KNOWLEDGE_REALM_KIND_ORG: _KnowledgeRealmKind.ValueType # 1
63
- KNOWLEDGE_REALM_KIND_TAG: _KnowledgeRealmKind.ValueType # 2
64
- KNOWLEDGE_REALM_KIND_USER: _KnowledgeRealmKind.ValueType # 3
65
- KNOWLEDGE_REALM_KIND_RESTRICTED_GROUP: _KnowledgeRealmKind.ValueType # 4
66
-
67
- class KnowledgeRealmKind(
68
- _KnowledgeRealmKind, metaclass=_KnowledgeRealmKindEnumTypeWrapper
69
- ): ...
61
+ SCOPE_KIND_UNSPECIFIED: _ScopeKind.ValueType # 0
62
+ SCOPE_KIND_ORG: _ScopeKind.ValueType # 1
63
+ SCOPE_KIND_USER: _ScopeKind.ValueType # 2
64
+ SCOPE_KIND_RESTRICTED_GROUP: _ScopeKind.ValueType # 3
65
+
66
+ class ScopeKind(_ScopeKind, metaclass=_ScopeKindEnumTypeWrapper): ...
70
67
 
71
- KNOWLEDGE_REALM_KIND_UNSPECIFIED: KnowledgeRealmKind.ValueType # 0
72
- KNOWLEDGE_REALM_KIND_ORG: KnowledgeRealmKind.ValueType # 1
73
- KNOWLEDGE_REALM_KIND_TAG: KnowledgeRealmKind.ValueType # 2
74
- KNOWLEDGE_REALM_KIND_USER: KnowledgeRealmKind.ValueType # 3
75
- KNOWLEDGE_REALM_KIND_RESTRICTED_GROUP: KnowledgeRealmKind.ValueType # 4
76
- Global___KnowledgeRealmKind: _TypeAlias = KnowledgeRealmKind # noqa: Y015
68
+ SCOPE_KIND_UNSPECIFIED: ScopeKind.ValueType # 0
69
+ SCOPE_KIND_ORG: ScopeKind.ValueType # 1
70
+ SCOPE_KIND_USER: ScopeKind.ValueType # 2
71
+ SCOPE_KIND_RESTRICTED_GROUP: ScopeKind.ValueType # 3
72
+ Global___ScopeKind: _TypeAlias = ScopeKind # noqa: Y015
77
73
 
78
74
  @_typing.final
79
- class KnowledgeRealm(_message.Message):
75
+ class Scope(_message.Message):
80
76
  DESCRIPTOR: _descriptor.Descriptor
81
77
 
82
78
  KIND_FIELD_NUMBER: _builtins.int
83
79
  KEY_FIELD_NUMBER: _builtins.int
84
- kind: Global___KnowledgeRealmKind.ValueType
80
+ kind: Global___ScopeKind.ValueType
85
81
  key: _builtins.str
86
82
  def __init__(
87
83
  self,
88
84
  *,
89
- kind: Global___KnowledgeRealmKind.ValueType | None = ...,
85
+ kind: Global___ScopeKind.ValueType | None = ...,
90
86
  key: _builtins.str | None = ...,
91
87
  ) -> None: ...
92
88
  _HasFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "kind", b"kind"] # noqa: Y015
@@ -95,7 +91,7 @@ class KnowledgeRealm(_message.Message):
95
91
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
96
92
  def WhichOneof(self, oneof_group: _Never) -> None: ...
97
93
 
98
- Global___KnowledgeRealm: _TypeAlias = KnowledgeRealm # noqa: Y015
94
+ Global___Scope: _TypeAlias = Scope # noqa: Y015
99
95
 
100
96
  @_typing.final
101
97
  class ConsolidationRun(_message.Message):
@@ -197,7 +193,7 @@ class ConceptCluster(_message.Message):
197
193
  UPDATED_AT_FIELD_NUMBER: _builtins.int
198
194
  CHILD_CLUSTER_IDS_FIELD_NUMBER: _builtins.int
199
195
  THREAD_IDS_FIELD_NUMBER: _builtins.int
200
- REALM_FIELD_NUMBER: _builtins.int
196
+ SCOPE_FIELD_NUMBER: _builtins.int
201
197
  id: _builtins.str
202
198
  organization_id: _builtins.str
203
199
  name: _builtins.str
@@ -218,7 +214,7 @@ class ConceptCluster(_message.Message):
218
214
  @_builtins.property
219
215
  def thread_ids(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
220
216
  @_builtins.property
221
- def realm(self) -> Global___KnowledgeRealm: ...
217
+ def scope(self) -> Global___Scope: ...
222
218
  def __init__(
223
219
  self,
224
220
  *,
@@ -235,7 +231,7 @@ class ConceptCluster(_message.Message):
235
231
  updated_at: _timestamp_pb2.Timestamp | None = ...,
236
232
  child_cluster_ids: _abc.Iterable[_builtins.str] | None = ...,
237
233
  thread_ids: _abc.Iterable[_builtins.str] | None = ...,
238
- realm: Global___KnowledgeRealm | None = ...,
234
+ scope: Global___Scope | None = ...,
239
235
  ) -> None: ...
240
236
  _HasFieldArgType: _TypeAlias = _typing.Literal[
241
237
  "child_cluster_ids",
@@ -258,8 +254,8 @@ class ConceptCluster(_message.Message):
258
254
  b"organization_id",
259
255
  "parent_id",
260
256
  b"parent_id",
261
- "realm",
262
- b"realm",
257
+ "scope",
258
+ b"scope",
263
259
  "thread_count",
264
260
  b"thread_count",
265
261
  "thread_ids",
@@ -289,8 +285,8 @@ class ConceptCluster(_message.Message):
289
285
  b"organization_id",
290
286
  "parent_id",
291
287
  b"parent_id",
292
- "realm",
293
- b"realm",
288
+ "scope",
289
+ b"scope",
294
290
  "thread_count",
295
291
  b"thread_count",
296
292
  "thread_ids",
@@ -479,13 +475,13 @@ class GetConceptHierarchyRequest(_message.Message):
479
475
  KNOWLEDGE_TYPE_FIELD_NUMBER: _builtins.int
480
476
  MAX_DEPTH_FIELD_NUMBER: _builtins.int
481
477
  ACTING_USER_ID_FIELD_NUMBER: _builtins.int
482
- REALM_FIELD_NUMBER: _builtins.int
478
+ SCOPE_FIELD_NUMBER: _builtins.int
483
479
  organization_id: _builtins.str
484
480
  knowledge_type: _builtins.str
485
481
  max_depth: _builtins.int
486
482
  acting_user_id: _builtins.str
487
483
  @_builtins.property
488
- def realm(self) -> Global___KnowledgeRealm: ...
484
+ def scope(self) -> Global___Scope: ...
489
485
  def __init__(
490
486
  self,
491
487
  *,
@@ -493,7 +489,7 @@ class GetConceptHierarchyRequest(_message.Message):
493
489
  knowledge_type: _builtins.str | None = ...,
494
490
  max_depth: _builtins.int | None = ...,
495
491
  acting_user_id: _builtins.str | None = ...,
496
- realm: Global___KnowledgeRealm | None = ...,
492
+ scope: Global___Scope | None = ...,
497
493
  ) -> None: ...
498
494
  _HasFieldArgType: _TypeAlias = _typing.Literal[
499
495
  "acting_user_id",
@@ -504,8 +500,8 @@ class GetConceptHierarchyRequest(_message.Message):
504
500
  b"max_depth",
505
501
  "organization_id",
506
502
  b"organization_id",
507
- "realm",
508
- b"realm",
503
+ "scope",
504
+ b"scope",
509
505
  ] # noqa: Y015
510
506
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
511
507
  _ClearFieldArgType: _TypeAlias = _typing.Literal[
@@ -517,8 +513,8 @@ class GetConceptHierarchyRequest(_message.Message):
517
513
  b"max_depth",
518
514
  "organization_id",
519
515
  b"organization_id",
520
- "realm",
521
- b"realm",
516
+ "scope",
517
+ b"scope",
522
518
  ] # noqa: Y015
523
519
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
524
520
  def WhichOneof(self, oneof_group: _Never) -> None: ...
@@ -532,19 +528,19 @@ class GetConceptClusterRequest(_message.Message):
532
528
  ORGANIZATION_ID_FIELD_NUMBER: _builtins.int
533
529
  CONCEPT_CLUSTER_ID_FIELD_NUMBER: _builtins.int
534
530
  ACTING_USER_ID_FIELD_NUMBER: _builtins.int
535
- REALM_FIELD_NUMBER: _builtins.int
531
+ SCOPE_FIELD_NUMBER: _builtins.int
536
532
  organization_id: _builtins.str
537
533
  concept_cluster_id: _builtins.str
538
534
  acting_user_id: _builtins.str
539
535
  @_builtins.property
540
- def realm(self) -> Global___KnowledgeRealm: ...
536
+ def scope(self) -> Global___Scope: ...
541
537
  def __init__(
542
538
  self,
543
539
  *,
544
540
  organization_id: _builtins.str | None = ...,
545
541
  concept_cluster_id: _builtins.str | None = ...,
546
542
  acting_user_id: _builtins.str | None = ...,
547
- realm: Global___KnowledgeRealm | None = ...,
543
+ scope: Global___Scope | None = ...,
548
544
  ) -> None: ...
549
545
  _HasFieldArgType: _TypeAlias = _typing.Literal[
550
546
  "acting_user_id",
@@ -553,8 +549,8 @@ class GetConceptClusterRequest(_message.Message):
553
549
  b"concept_cluster_id",
554
550
  "organization_id",
555
551
  b"organization_id",
556
- "realm",
557
- b"realm",
552
+ "scope",
553
+ b"scope",
558
554
  ] # noqa: Y015
559
555
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
560
556
  _ClearFieldArgType: _TypeAlias = _typing.Literal[
@@ -564,8 +560,8 @@ class GetConceptClusterRequest(_message.Message):
564
560
  b"concept_cluster_id",
565
561
  "organization_id",
566
562
  b"organization_id",
567
- "realm",
568
- b"realm",
563
+ "scope",
564
+ b"scope",
569
565
  ] # noqa: Y015
570
566
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
571
567
  def WhichOneof(self, oneof_group: _Never) -> None: ...
@@ -8,7 +8,7 @@ from weaveapi.consolidation.v1 import (
8
8
  )
9
9
 
10
10
 
11
- class ConsolidationServiceStub(object):
11
+ class ConsolidationServiceStub:
12
12
  """Missing associated documentation comment in .proto file."""
13
13
 
14
14
  def __init__(self, channel):
@@ -49,7 +49,7 @@ class ConsolidationServiceStub(object):
49
49
  )
50
50
 
51
51
 
52
- class ConsolidationServiceServicer(object):
52
+ class ConsolidationServiceServicer:
53
53
  """Missing associated documentation comment in .proto file."""
54
54
 
55
55
  def TriggerConsolidation(self, request, context):
@@ -121,7 +121,7 @@ def add_ConsolidationServiceServicer_to_server(servicer, server):
121
121
 
122
122
 
123
123
  # This class is part of an EXPERIMENTAL API.
124
- class ConsolidationService(object):
124
+ class ConsolidationService:
125
125
  """Missing associated documentation comment in .proto file."""
126
126
 
127
127
  @staticmethod
@@ -8,7 +8,7 @@ from weaveapi.gateway.v1 import (
8
8
  )
9
9
 
10
10
 
11
- class GatewayServiceStub(object):
11
+ class GatewayServiceStub:
12
12
  """GatewayService is the Weave API surface for model calls."""
13
13
 
14
14
  def __init__(self, channel):
@@ -55,7 +55,7 @@ class GatewayServiceStub(object):
55
55
  )
56
56
 
57
57
 
58
- class GatewayServiceServicer(object):
58
+ class GatewayServiceServicer:
59
59
  """GatewayService is the Weave API surface for model calls."""
60
60
 
61
61
  def CreateChatCompletion(self, request, context):
@@ -138,7 +138,7 @@ def add_GatewayServiceServicer_to_server(servicer, server):
138
138
 
139
139
 
140
140
  # This class is part of an EXPERIMENTAL API.
141
- class GatewayService(object):
141
+ class GatewayService:
142
142
  """GatewayService is the Weave API surface for model calls."""
143
143
 
144
144
  @staticmethod
@@ -322,7 +322,7 @@ class GatewayService(object):
322
322
  )
323
323
 
324
324
 
325
- class OpenAICompatibilityServiceStub(object):
325
+ class OpenAICompatibilityServiceStub:
326
326
  """OpenAICompatibilityService exposes OpenAI-compatible proxy entrypoints."""
327
327
 
328
328
  def __init__(self, channel):
@@ -357,7 +357,7 @@ class OpenAICompatibilityServiceStub(object):
357
357
  )
358
358
 
359
359
 
360
- class OpenAICompatibilityServiceServicer(object):
360
+ class OpenAICompatibilityServiceServicer:
361
361
  """OpenAICompatibilityService exposes OpenAI-compatible proxy entrypoints."""
362
362
 
363
363
  def CreateChatCompletion(self, request, context):
@@ -418,7 +418,7 @@ def add_OpenAICompatibilityServiceServicer_to_server(servicer, server):
418
418
 
419
419
 
420
420
  # This class is part of an EXPERIMENTAL API.
421
- class OpenAICompatibilityService(object):
421
+ class OpenAICompatibilityService:
422
422
  """OpenAICompatibilityService exposes OpenAI-compatible proxy entrypoints."""
423
423
 
424
424
  @staticmethod
@@ -542,7 +542,7 @@ class OpenAICompatibilityService(object):
542
542
  )
543
543
 
544
544
 
545
- class AnthropicCompatibilityServiceStub(object):
545
+ class AnthropicCompatibilityServiceStub:
546
546
  """AnthropicCompatibilityService exposes Anthropic-compatible proxy entrypoints."""
547
547
 
548
548
  def __init__(self, channel):
@@ -565,7 +565,7 @@ class AnthropicCompatibilityServiceStub(object):
565
565
  )
566
566
 
567
567
 
568
- class AnthropicCompatibilityServiceServicer(object):
568
+ class AnthropicCompatibilityServiceServicer:
569
569
  """AnthropicCompatibilityService exposes Anthropic-compatible proxy entrypoints."""
570
570
 
571
571
  def CreateMessage(self, request, context):
@@ -604,7 +604,7 @@ def add_AnthropicCompatibilityServiceServicer_to_server(servicer, server):
604
604
 
605
605
 
606
606
  # This class is part of an EXPERIMENTAL API.
607
- class AnthropicCompatibilityService(object):
607
+ class AnthropicCompatibilityService:
608
608
  """AnthropicCompatibilityService exposes Anthropic-compatible proxy entrypoints."""
609
609
 
610
610
  @staticmethod