weave-python 0.28.2__py3-none-any.whl → 0.30.4__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 (104) hide show
  1. weave/weaveapi/auth/v1/service_pb2.py +184 -88
  2. weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
  3. weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
  4. weave/weaveapi/auth/v1/session_pb2.py +12 -4
  5. weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
  6. weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
  7. weave/weaveapi/auth/v1/usage_pb2.py +16 -12
  8. weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
  9. weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
  10. weave/weaveapi/auth/v1/user_pb2.py +58 -16
  11. weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
  12. weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
  13. weave/weaveapi/generate/v1/configuration_pb2.py +29 -17
  14. weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
  15. weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
  16. weave/weaveapi/generate/v1/generate_pb2.py +30 -4
  17. weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
  18. weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
  19. weave/weaveapi/generate/v1/service_pb2.py +50 -20
  20. weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
  21. weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
  22. weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
  23. weave/weaveapi/llmx/v1/architecture_pb2.py +3 -3
  24. weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
  25. weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
  26. weave/weaveapi/llmx/v1/capabilities_pb2.py +86 -54
  27. weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
  28. weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
  29. weave/weaveapi/llmx/v1/model_pb2.py +54 -18
  30. weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
  31. weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
  32. weave/weaveapi/llmx/v1/pricing_pb2.py +22 -18
  33. weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
  34. weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
  35. weave/weaveapi/llmx/v1/provider_pb2.py +3 -3
  36. weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
  37. weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
  38. weave/weaveapi/llmx/v1/service_pb2.py +224 -86
  39. weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
  40. weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
  41. weave/weaveapi/mcpregistry/v1/server_pb2.py +14 -8
  42. weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
  43. weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
  44. weave/weaveapi/mcpregistry/v1/service_pb2.py +47 -27
  45. weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
  46. weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
  47. weave/weaveapi/payment/v1/invoice_pb2.py +36 -10
  48. weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
  49. weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
  50. weave/weaveapi/payment/v1/service_pb2.py +256 -90
  51. weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
  52. weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
  53. weave/weaveapi/payment/v1/subscription_pb2.py +97 -21
  54. weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
  55. weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
  56. weave/weaveapi/storage/v1/auth_pb2.py +3 -3
  57. weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
  58. weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
  59. weave/weaveapi/storage/v1/nosql_database_pb2.py +45 -21
  60. weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
  61. weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
  62. weave/weaveapi/storage/v1/object_store_pb2.py +25 -11
  63. weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
  64. weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
  65. weave/weaveapi/storage/v1/service_pb2.py +94 -34
  66. weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
  67. weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
  68. weave/weaveapi/storage/v1/sql_database_pb2.py +37 -21
  69. weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
  70. weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
  71. weave/weaveapi/storage/v1/storage_pb2.py +18 -4
  72. weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
  73. weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
  74. weave/weaveapi/synthesize/v1/dataset_pb2.py +10 -8
  75. weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
  76. weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
  77. weave/weaveapi/synthesize/v1/inline_data_pb2.py +4 -4
  78. weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
  79. weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
  80. weave/weaveapi/synthesize/v1/relationship_pb2.py +17 -9
  81. weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
  82. weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
  83. weave/weaveapi/synthesize/v1/service_pb2.py +40 -22
  84. weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
  85. weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
  86. weave/weaveapi/synthesize/v1/training_pb2.py +17 -11
  87. weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
  88. weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
  89. weave/weavesql/llmxdb/capabilities.py +487 -0
  90. weave/weavesql/llmxdb/changes.py +297 -0
  91. weave/weavesql/llmxdb/models.py +594 -0
  92. weave/weavesql/llmxdb/providers.py +348 -0
  93. weave/weavesql/llmxdb/scraper_runs.py +287 -0
  94. weave/weavesql/llmxdb/search.py +721 -0
  95. weave/weavesql/weavedb/dataset.py +75 -0
  96. weave/weavesql/weavedb/models.py +135 -0
  97. weave/weavesql/weavedb/relationships.py +72 -0
  98. weave/weavesql/weavedb/storage.py +113 -0
  99. weave/weavesql/weavedb/synthesizer.py +107 -0
  100. {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/METADATA +3 -3
  101. weave_python-0.30.4.dist-info/RECORD +131 -0
  102. {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/WHEEL +1 -1
  103. weave_python-0.28.2.dist-info/RECORD +0 -120
  104. {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/licenses/LICENSE +0 -0
@@ -3,18 +3,19 @@
3
3
  isort:skip_file
4
4
  """
5
5
 
6
- import abc
7
- import collections.abc
8
- import grpc
9
- import grpc.aio
10
- import typing
6
+ from collections import abc as _abc
7
+ from grpc import aio as _aio
8
+ import abc as _abc_1
9
+ import grpc as _grpc
10
+ import typing as _typing
11
11
 
12
- _T = typing.TypeVar("_T")
12
+ _T = _typing.TypeVar("_T")
13
13
 
14
14
  class _MaybeAsyncIterator(
15
- collections.abc.AsyncIterator[_T],
16
- collections.abc.Iterator[_T],
17
- metaclass=abc.ABCMeta,
15
+ _abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
18
16
  ): ...
19
- class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
20
18
  ...
19
+
20
+ GRPC_GENERATED_VERSION: str
21
+ GRPC_VERSION: str
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: weaveapi/llmx/v1/pricing.proto
5
- # Protobuf Python Version: 6.32.0
5
+ # Protobuf Python Version: 6.33.5
6
6
  """Generated protocol buffer code."""
7
7
 
8
8
  from google.protobuf import descriptor as _descriptor
@@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database
12
12
  from google.protobuf.internal import builder as _builder
13
13
 
14
14
  _runtime_version.ValidateProtobufRuntimeVersion(
15
- _runtime_version.Domain.PUBLIC, 6, 32, 0, "", "weaveapi/llmx/v1/pricing.proto"
15
+ _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "weaveapi/llmx/v1/pricing.proto"
16
16
  )
17
17
  # @@protoc_insertion_point(imports)
18
18
 
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
20
20
 
21
21
 
22
22
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
23
- b'\n\x1eweaveapi/llmx/v1/pricing.proto\x12\x10weaveapi.llmx.v1"\xdc\x01\n\x07Pricing\x12\x1a\n\x08\x63urrency\x18\x01 \x01(\tR\x08\x63urrency\x12\x33\n\x05items\x18\x02 \x03(\x0b\x32\x1d.weaveapi.llmx.v1.PricingItemR\x05items\x12\x43\n\x08metadata\x18\x03 \x03(\x0b\x32\'.weaveapi.llmx.v1.Pricing.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"c\n\tTokenBand\x12*\n\x11min_prompt_tokens\x18\x01 \x01(\x03R\x0fminPromptTokens\x12*\n\x11max_prompt_tokens\x18\x02 \x01(\x03R\x0fmaxPromptTokens"\x83\x04\n\x0bPricingItem\x12=\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32!.weaveapi.llmx.v1.PricingCategoryR\x08\x63\x61tegory\x12\x31\n\x04tier\x18\x02 \x01(\x0e\x32\x1d.weaveapi.llmx.v1.PricingTierR\x04tier\x12\x39\n\toperation\x18\x03 \x01(\x0e\x32\x1b.weaveapi.llmx.v1.OperationR\toperation\x12\x14\n\x05price\x18\x04 \x01(\x01R\x05price\x12/\n\x04unit\x18\x05 \x01(\x0e\x32\x1b.weaveapi.llmx.v1.PriceUnitR\x04unit\x12\x18\n\x07quality\x18\x06 \x01(\tR\x07quality\x12\x1e\n\nresolution\x18\x07 \x01(\tR\nresolution\x12:\n\ntoken_band\x18\x08 \x01(\x0b\x32\x1b.weaveapi.llmx.v1.TokenBandR\ttokenBand\x12\x38\n\x18includes_thinking_tokens\x18\t \x01(\x08R\x16includesThinkingTokens\x12\x1b\n\ttool_name\x18\n \x01(\tR\x08toolName\x12\x1d\n\ntoken_type\x18\x0b \x01(\tR\ttokenType\x12\x14\n\x05notes\x18\x0c \x01(\tR\x05notes*\xc0\x02\n\x0fPricingCategory\x12 \n\x1cPRICING_CATEGORY_UNSPECIFIED\x10\x00\x12\x19\n\x15PRICING_CATEGORY_TEXT\x10\x01\x12\x1a\n\x16PRICING_CATEGORY_IMAGE\x10\x02\x12\x1a\n\x16PRICING_CATEGORY_AUDIO\x10\x03\x12\x1e\n\x1aPRICING_CATEGORY_EMBEDDING\x10\x04\x12 \n\x1cPRICING_CATEGORY_FINE_TUNING\x10\x05\x12\x19\n\x15PRICING_CATEGORY_TOOL\x10\x06\x12\x1d\n\x19PRICING_CATEGORY_REALTIME\x10\x07\x12\x1f\n\x1bPRICING_CATEGORY_MODERATION\x10\x08\x12\x1b\n\x17PRICING_CATEGORY_LEGACY\x10\t*\xc4\x01\n\x0bPricingTier\x12\x1c\n\x18PRICING_TIER_UNSPECIFIED\x10\x00\x12\x15\n\x11PRICING_TIER_FREE\x10\x01\x12\x16\n\x12PRICING_TIER_BATCH\x10\x02\x12\x15\n\x11PRICING_TIER_FLEX\x10\x03\x12\x19\n\x15PRICING_TIER_STANDARD\x10\x04\x12\x19\n\x15PRICING_TIER_PRIORITY\x10\x05\x12\x1b\n\x17PRICING_TIER_ENTERPRISE\x10\x06*\xab\x02\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\x13\n\x0fOPERATION_INPUT\x10\x01\x12\x14\n\x10OPERATION_OUTPUT\x10\x02\x12\x1a\n\x16OPERATION_CACHED_INPUT\x10\x03\x12\x18\n\x14OPERATION_CACHE_READ\x10\x04\x12\x19\n\x15OPERATION_CACHE_WRITE\x10\x05\x12\x16\n\x12OPERATION_TRAINING\x10\x06\x12\x15\n\x11OPERATION_STORAGE\x10\x07\x12#\n\x1fOPERATION_CONTEXT_CACHE_STORAGE\x10\x08\x12\x16\n\x12OPERATION_PER_CALL\x10\t\x12\x1b\n\x17OPERATION_PER_CONTAINER\x10\n*\x86\x02\n\tPriceUnit\x12\x1a\n\x16PRICE_UNIT_UNSPECIFIED\x10\x00\x12\x1c\n\x18PRICE_UNIT_PER_1M_TOKENS\x10\x01\x12\x18\n\x14PRICE_UNIT_PER_IMAGE\x10\x02\x12\x19\n\x15PRICE_UNIT_PER_MINUTE\x10\x03\x12 \n\x1cPRICE_UNIT_PER_1M_CHARACTERS\x10\x04\x12\x17\n\x13PRICE_UNIT_PER_CALL\x10\x05\x12\x19\n\x15PRICE_UNIT_PER_GB_DAY\x10\x06\x12\x17\n\x13PRICE_UNIT_PER_HOUR\x10\x07\x12\x1b\n\x17PRICE_UNIT_PER_1K_CALLS\x10\x08\x42\xbc\x01\n\x14\x63om.weaveapi.llmx.v1B\x0cPricingProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\xa2\x02\x03WLX\xaa\x02\x10Weaveapi.Llmx.V1\xca\x02\x10Weaveapi\\Llmx\\V1\xe2\x02\x1cWeaveapi\\Llmx\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Llmx::V1b\x06proto3'
23
+ b'\n\x1eweaveapi/llmx/v1/pricing.proto\x12\x10weaveapi.llmx.v1"\xe0\x01\n\x07Pricing\x12\x1a\n\x08\x63urrency\x18\x01 \x01(\tR\x08\x63urrency\x12\x37\n\x05items\x18\x02 \x03(\x0b\x32\x1d.weaveapi.llmx.v1.PricingItemB\x02(\x01R\x05items\x12\x43\n\x08metadata\x18\x03 \x03(\x0b\x32\'.weaveapi.llmx.v1.Pricing.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"c\n\tTokenBand\x12*\n\x11min_prompt_tokens\x18\x01 \x01(\x03R\x0fminPromptTokens\x12*\n\x11max_prompt_tokens\x18\x02 \x01(\x03R\x0fmaxPromptTokens"\x87\x04\n\x0bPricingItem\x12=\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32!.weaveapi.llmx.v1.PricingCategoryR\x08\x63\x61tegory\x12\x31\n\x04tier\x18\x02 \x01(\x0e\x32\x1d.weaveapi.llmx.v1.PricingTierR\x04tier\x12\x39\n\toperation\x18\x03 \x01(\x0e\x32\x1b.weaveapi.llmx.v1.OperationR\toperation\x12\x14\n\x05price\x18\x04 \x01(\x01R\x05price\x12/\n\x04unit\x18\x05 \x01(\x0e\x32\x1b.weaveapi.llmx.v1.PriceUnitR\x04unit\x12\x18\n\x07quality\x18\x06 \x01(\tR\x07quality\x12\x1e\n\nresolution\x18\x07 \x01(\tR\nresolution\x12>\n\ntoken_band\x18\x08 \x01(\x0b\x32\x1b.weaveapi.llmx.v1.TokenBandB\x02(\x01R\ttokenBand\x12\x38\n\x18includes_thinking_tokens\x18\t \x01(\x08R\x16includesThinkingTokens\x12\x1b\n\ttool_name\x18\n \x01(\tR\x08toolName\x12\x1d\n\ntoken_type\x18\x0b \x01(\tR\ttokenType\x12\x14\n\x05notes\x18\x0c \x01(\tR\x05notes*\xc0\x02\n\x0fPricingCategory\x12 \n\x1cPRICING_CATEGORY_UNSPECIFIED\x10\x00\x12\x19\n\x15PRICING_CATEGORY_TEXT\x10\x01\x12\x1a\n\x16PRICING_CATEGORY_IMAGE\x10\x02\x12\x1a\n\x16PRICING_CATEGORY_AUDIO\x10\x03\x12\x1e\n\x1aPRICING_CATEGORY_EMBEDDING\x10\x04\x12 \n\x1cPRICING_CATEGORY_FINE_TUNING\x10\x05\x12\x19\n\x15PRICING_CATEGORY_TOOL\x10\x06\x12\x1d\n\x19PRICING_CATEGORY_REALTIME\x10\x07\x12\x1f\n\x1bPRICING_CATEGORY_MODERATION\x10\x08\x12\x1b\n\x17PRICING_CATEGORY_LEGACY\x10\t*\xc4\x01\n\x0bPricingTier\x12\x1c\n\x18PRICING_TIER_UNSPECIFIED\x10\x00\x12\x15\n\x11PRICING_TIER_FREE\x10\x01\x12\x16\n\x12PRICING_TIER_BATCH\x10\x02\x12\x15\n\x11PRICING_TIER_FLEX\x10\x03\x12\x19\n\x15PRICING_TIER_STANDARD\x10\x04\x12\x19\n\x15PRICING_TIER_PRIORITY\x10\x05\x12\x1b\n\x17PRICING_TIER_ENTERPRISE\x10\x06*\xab\x02\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\x13\n\x0fOPERATION_INPUT\x10\x01\x12\x14\n\x10OPERATION_OUTPUT\x10\x02\x12\x1a\n\x16OPERATION_CACHED_INPUT\x10\x03\x12\x18\n\x14OPERATION_CACHE_READ\x10\x04\x12\x19\n\x15OPERATION_CACHE_WRITE\x10\x05\x12\x16\n\x12OPERATION_TRAINING\x10\x06\x12\x15\n\x11OPERATION_STORAGE\x10\x07\x12#\n\x1fOPERATION_CONTEXT_CACHE_STORAGE\x10\x08\x12\x16\n\x12OPERATION_PER_CALL\x10\t\x12\x1b\n\x17OPERATION_PER_CONTAINER\x10\n*\x86\x02\n\tPriceUnit\x12\x1a\n\x16PRICE_UNIT_UNSPECIFIED\x10\x00\x12\x1c\n\x18PRICE_UNIT_PER_1M_TOKENS\x10\x01\x12\x18\n\x14PRICE_UNIT_PER_IMAGE\x10\x02\x12\x19\n\x15PRICE_UNIT_PER_MINUTE\x10\x03\x12 \n\x1cPRICE_UNIT_PER_1M_CHARACTERS\x10\x04\x12\x17\n\x13PRICE_UNIT_PER_CALL\x10\x05\x12\x19\n\x15PRICE_UNIT_PER_GB_DAY\x10\x06\x12\x17\n\x13PRICE_UNIT_PER_HOUR\x10\x07\x12\x1b\n\x17PRICE_UNIT_PER_1K_CALLS\x10\x08\x42\xbc\x01\n\x14\x63om.weaveapi.llmx.v1B\x0cPricingProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\xa2\x02\x03WLX\xaa\x02\x10Weaveapi.Llmx.V1\xca\x02\x10Weaveapi\\Llmx\\V1\xe2\x02\x1cWeaveapi\\Llmx\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Llmx::V1b\x08\x65\x64itionsp\xe8\x07'
24
24
  )
25
25
 
26
26
  _globals = globals()
@@ -35,20 +35,24 @@ if not _descriptor._USE_C_DESCRIPTORS:
35
35
  ]._serialized_options = b"\n\024com.weaveapi.llmx.v1B\014PricingProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\242\002\003WLX\252\002\020Weaveapi.Llmx.V1\312\002\020Weaveapi\\Llmx\\V1\342\002\034Weaveapi\\Llmx\\V1\\GPBMetadata\352\002\022Weaveapi::Llmx::V1"
36
36
  _globals["_PRICING_METADATAENTRY"]._loaded_options = None
37
37
  _globals["_PRICING_METADATAENTRY"]._serialized_options = b"8\001"
38
- _globals["_PRICINGCATEGORY"]._serialized_start = 895
39
- _globals["_PRICINGCATEGORY"]._serialized_end = 1215
40
- _globals["_PRICINGTIER"]._serialized_start = 1218
41
- _globals["_PRICINGTIER"]._serialized_end = 1414
42
- _globals["_OPERATION"]._serialized_start = 1417
43
- _globals["_OPERATION"]._serialized_end = 1716
44
- _globals["_PRICEUNIT"]._serialized_start = 1719
45
- _globals["_PRICEUNIT"]._serialized_end = 1981
38
+ _globals["_PRICING"].fields_by_name["items"]._loaded_options = None
39
+ _globals["_PRICING"].fields_by_name["items"]._serialized_options = b"(\001"
40
+ _globals["_PRICINGITEM"].fields_by_name["token_band"]._loaded_options = None
41
+ _globals["_PRICINGITEM"].fields_by_name["token_band"]._serialized_options = b"(\001"
42
+ _globals["_PRICINGCATEGORY"]._serialized_start = 903
43
+ _globals["_PRICINGCATEGORY"]._serialized_end = 1223
44
+ _globals["_PRICINGTIER"]._serialized_start = 1226
45
+ _globals["_PRICINGTIER"]._serialized_end = 1422
46
+ _globals["_OPERATION"]._serialized_start = 1425
47
+ _globals["_OPERATION"]._serialized_end = 1724
48
+ _globals["_PRICEUNIT"]._serialized_start = 1727
49
+ _globals["_PRICEUNIT"]._serialized_end = 1989
46
50
  _globals["_PRICING"]._serialized_start = 53
47
- _globals["_PRICING"]._serialized_end = 273
48
- _globals["_PRICING_METADATAENTRY"]._serialized_start = 214
49
- _globals["_PRICING_METADATAENTRY"]._serialized_end = 273
50
- _globals["_TOKENBAND"]._serialized_start = 275
51
- _globals["_TOKENBAND"]._serialized_end = 374
52
- _globals["_PRICINGITEM"]._serialized_start = 377
53
- _globals["_PRICINGITEM"]._serialized_end = 892
51
+ _globals["_PRICING"]._serialized_end = 277
52
+ _globals["_PRICING_METADATAENTRY"]._serialized_start = 218
53
+ _globals["_PRICING_METADATAENTRY"]._serialized_end = 277
54
+ _globals["_TOKENBAND"]._serialized_start = 279
55
+ _globals["_TOKENBAND"]._serialized_end = 378
56
+ _globals["_PRICINGITEM"]._serialized_start = 381
57
+ _globals["_PRICINGITEM"]._serialized_end = 900
54
58
  # @@protoc_insertion_point(module_scope)
@@ -3,33 +3,30 @@
3
3
  isort:skip_file
4
4
  """
5
5
 
6
- import builtins
7
- import collections.abc
8
- import google.protobuf.descriptor
9
- import google.protobuf.internal.containers
10
- import google.protobuf.internal.enum_type_wrapper
11
- import google.protobuf.message
6
+ from collections import abc as _abc
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from google.protobuf.internal import containers as _containers
10
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
11
+ import builtins as _builtins
12
12
  import sys
13
- import typing
13
+ import typing as _typing
14
14
 
15
15
  if sys.version_info >= (3, 10):
16
- import typing as typing_extensions
16
+ from typing import TypeAlias as _TypeAlias
17
17
  else:
18
- import typing_extensions
18
+ from typing_extensions import TypeAlias as _TypeAlias
19
19
 
20
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
20
+ DESCRIPTOR: _descriptor.FileDescriptor
21
21
 
22
22
  class _PricingCategory:
23
- ValueType = typing.NewType("ValueType", builtins.int)
24
- V: typing_extensions.TypeAlias = ValueType
23
+ ValueType = _typing.NewType("ValueType", _builtins.int)
24
+ V: _TypeAlias = ValueType # noqa: Y015
25
25
 
26
26
  class _PricingCategoryEnumTypeWrapper(
27
- google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[
28
- _PricingCategory.ValueType
29
- ],
30
- builtins.type,
27
+ _enum_type_wrapper._EnumTypeWrapper[_PricingCategory.ValueType], _builtins.type
31
28
  ):
32
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
29
+ DESCRIPTOR: _descriptor.EnumDescriptor
33
30
  PRICING_CATEGORY_UNSPECIFIED: _PricingCategory.ValueType # 0
34
31
  """Default/unknown category"""
35
32
  PRICING_CATEGORY_TEXT: _PricingCategory.ValueType # 1
@@ -110,17 +107,16 @@ PRICING_CATEGORY_LEGACY: PricingCategory.ValueType # 9
110
107
  """Deprecated/legacy models with special pricing
111
108
  Example: GPT-3.5-turbo-0301 (older version)
112
109
  """
113
- global___PricingCategory = PricingCategory
110
+ Global___PricingCategory: _TypeAlias = PricingCategory # noqa: Y015
114
111
 
115
112
  class _PricingTier:
116
- ValueType = typing.NewType("ValueType", builtins.int)
117
- V: typing_extensions.TypeAlias = ValueType
113
+ ValueType = _typing.NewType("ValueType", _builtins.int)
114
+ V: _TypeAlias = ValueType # noqa: Y015
118
115
 
119
116
  class _PricingTierEnumTypeWrapper(
120
- google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PricingTier.ValueType],
121
- builtins.type,
117
+ _enum_type_wrapper._EnumTypeWrapper[_PricingTier.ValueType], _builtins.type
122
118
  ):
123
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
119
+ DESCRIPTOR: _descriptor.EnumDescriptor
124
120
  PRICING_TIER_UNSPECIFIED: _PricingTier.ValueType # 0
125
121
  """Default/unknown tier"""
126
122
  PRICING_TIER_FREE: _PricingTier.ValueType # 1
@@ -177,17 +173,16 @@ PRICING_TIER_ENTERPRISE: PricingTier.ValueType # 6
177
173
  """Enterprise/custom pricing with negotiated rates
178
174
  Example: Volume discounts for large organizations
179
175
  """
180
- global___PricingTier = PricingTier
176
+ Global___PricingTier: _TypeAlias = PricingTier # noqa: Y015
181
177
 
182
178
  class _Operation:
183
- ValueType = typing.NewType("ValueType", builtins.int)
184
- V: typing_extensions.TypeAlias = ValueType
179
+ ValueType = _typing.NewType("ValueType", _builtins.int)
180
+ V: _TypeAlias = ValueType # noqa: Y015
185
181
 
186
182
  class _OperationEnumTypeWrapper(
187
- google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Operation.ValueType],
188
- builtins.type,
183
+ _enum_type_wrapper._EnumTypeWrapper[_Operation.ValueType], _builtins.type
189
184
  ):
190
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
185
+ DESCRIPTOR: _descriptor.EnumDescriptor
191
186
  OPERATION_UNSPECIFIED: _Operation.ValueType # 0
192
187
  """Default/unknown operation"""
193
188
  OPERATION_INPUT: _Operation.ValueType # 1
@@ -276,17 +271,16 @@ OPERATION_PER_CONTAINER: Operation.ValueType # 10
276
271
  """Per container/session pricing for isolated environments
277
272
  Example: $0.03/container for Code Interpreter execution
278
273
  """
279
- global___Operation = Operation
274
+ Global___Operation: _TypeAlias = Operation # noqa: Y015
280
275
 
281
276
  class _PriceUnit:
282
- ValueType = typing.NewType("ValueType", builtins.int)
283
- V: typing_extensions.TypeAlias = ValueType
277
+ ValueType = _typing.NewType("ValueType", _builtins.int)
278
+ V: _TypeAlias = ValueType # noqa: Y015
284
279
 
285
280
  class _PriceUnitEnumTypeWrapper(
286
- google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PriceUnit.ValueType],
287
- builtins.type,
281
+ _enum_type_wrapper._EnumTypeWrapper[_PriceUnit.ValueType], _builtins.type
288
282
  ):
289
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
283
+ DESCRIPTOR: _descriptor.EnumDescriptor
290
284
  PRICE_UNIT_UNSPECIFIED: _PriceUnit.ValueType # 0
291
285
  """Default/unknown unit"""
292
286
  PRICE_UNIT_PER_1M_TOKENS: _PriceUnit.ValueType # 1
@@ -359,58 +353,57 @@ PRICE_UNIT_PER_1K_CALLS: PriceUnit.ValueType # 8
359
353
  """Price per thousand API calls
360
354
  Example: Web search at $2.00 per 1k searches
361
355
  """
362
- global___PriceUnit = PriceUnit
356
+ Global___PriceUnit: _TypeAlias = PriceUnit # noqa: Y015
363
357
 
364
- @typing.final
365
- class Pricing(google.protobuf.message.Message):
358
+ @_typing.final
359
+ class Pricing(_message.Message):
366
360
  """Pricing represents the complete pricing structure for a model or service.
367
361
  A single model may have multiple pricing items for different operations,
368
362
  tiers, and use cases.
369
363
  """
370
364
 
371
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
365
+ DESCRIPTOR: _descriptor.Descriptor
372
366
 
373
- @typing.final
374
- class MetadataEntry(google.protobuf.message.Message):
375
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
367
+ @_typing.final
368
+ class MetadataEntry(_message.Message):
369
+ DESCRIPTOR: _descriptor.Descriptor
376
370
 
377
- KEY_FIELD_NUMBER: builtins.int
378
- VALUE_FIELD_NUMBER: builtins.int
379
- key: builtins.str
380
- value: builtins.str
371
+ KEY_FIELD_NUMBER: _builtins.int
372
+ VALUE_FIELD_NUMBER: _builtins.int
373
+ key: _builtins.str
374
+ value: _builtins.str
381
375
  def __init__(
382
376
  self,
383
377
  *,
384
- key: builtins.str = ...,
385
- value: builtins.str = ...,
378
+ key: _builtins.str | None = ...,
379
+ value: _builtins.str | None = ...,
386
380
  ) -> None: ...
387
- def ClearField(
388
- self, field_name: typing.Literal["key", b"key", "value", b"value"]
389
- ) -> None: ...
390
-
391
- CURRENCY_FIELD_NUMBER: builtins.int
392
- ITEMS_FIELD_NUMBER: builtins.int
393
- METADATA_FIELD_NUMBER: builtins.int
394
- currency: builtins.str
381
+ _HasFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
382
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
383
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
384
+ "key", b"key", "value", b"value"
385
+ ] # noqa: Y015
386
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
387
+
388
+ CURRENCY_FIELD_NUMBER: _builtins.int
389
+ ITEMS_FIELD_NUMBER: _builtins.int
390
+ METADATA_FIELD_NUMBER: _builtins.int
391
+ currency: _builtins.str
395
392
  """Currency code for all prices in this message.
396
393
  Examples: "USD", "EUR", "GBP"
397
394
  """
398
- @property
395
+ @_builtins.property
399
396
  def items(
400
397
  self,
401
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
402
- global___PricingItem
403
- ]:
398
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___PricingItem]:
404
399
  """List of all pricing entries for this model.
405
400
  Each item represents a specific price point for a particular
406
401
  operation/tier combination.
407
402
  Example: One item for standard input tokens, another for batch input tokens
408
403
  """
409
404
 
410
- @property
411
- def metadata(
412
- self,
413
- ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
405
+ @_builtins.property
406
+ def metadata(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]:
414
407
  """Additional metadata as key-value pairs.
415
408
  Common keys:
416
409
  - "footnote": Additional pricing notes (e.g., "[1] Limited availability")
@@ -422,35 +415,37 @@ class Pricing(google.protobuf.message.Message):
422
415
  def __init__(
423
416
  self,
424
417
  *,
425
- currency: builtins.str = ...,
426
- items: collections.abc.Iterable[global___PricingItem] | None = ...,
427
- metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
418
+ currency: _builtins.str | None = ...,
419
+ items: _abc.Iterable[Global___PricingItem] | None = ...,
420
+ metadata: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
428
421
  ) -> None: ...
429
- def ClearField(
430
- self,
431
- field_name: typing.Literal[
432
- "currency", b"currency", "items", b"items", "metadata", b"metadata"
433
- ],
434
- ) -> None: ...
435
-
436
- global___Pricing = Pricing
437
-
438
- @typing.final
439
- class TokenBand(google.protobuf.message.Message):
422
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
423
+ "currency", b"currency", "items", b"items", "metadata", b"metadata"
424
+ ] # noqa: Y015
425
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
426
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
427
+ "currency", b"currency", "items", b"items", "metadata", b"metadata"
428
+ ] # noqa: Y015
429
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
430
+
431
+ Global___Pricing: _TypeAlias = Pricing # noqa: Y015
432
+
433
+ @_typing.final
434
+ class TokenBand(_message.Message):
440
435
  """TokenBand represents tiered pricing based on token count thresholds.
441
436
  Some models have different rates based on cumulative token usage.
442
437
  """
443
438
 
444
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
439
+ DESCRIPTOR: _descriptor.Descriptor
445
440
 
446
- MIN_PROMPT_TOKENS_FIELD_NUMBER: builtins.int
447
- MAX_PROMPT_TOKENS_FIELD_NUMBER: builtins.int
448
- min_prompt_tokens: builtins.int
441
+ MIN_PROMPT_TOKENS_FIELD_NUMBER: _builtins.int
442
+ MAX_PROMPT_TOKENS_FIELD_NUMBER: _builtins.int
443
+ min_prompt_tokens: _builtins.int
449
444
  """Minimum number of prompt tokens for this pricing tier (inclusive).
450
445
  Example: 0 for the first tier, 200001 for the "over 200k" tier
451
446
  Set to 0 if not applicable or for the lowest tier
452
447
  """
453
- max_prompt_tokens: builtins.int
448
+ max_prompt_tokens: _builtins.int
454
449
  """Maximum number of prompt tokens for this pricing tier (inclusive).
455
450
  Example: 200000 for "up to 200k tokens" tier
456
451
  Set to 0 if unlimited or not applicable
@@ -458,89 +453,94 @@ class TokenBand(google.protobuf.message.Message):
458
453
  def __init__(
459
454
  self,
460
455
  *,
461
- min_prompt_tokens: builtins.int = ...,
462
- max_prompt_tokens: builtins.int = ...,
456
+ min_prompt_tokens: _builtins.int | None = ...,
457
+ max_prompt_tokens: _builtins.int | None = ...,
463
458
  ) -> None: ...
464
- def ClearField(
465
- self,
466
- field_name: typing.Literal[
467
- "max_prompt_tokens",
468
- b"max_prompt_tokens",
469
- "min_prompt_tokens",
470
- b"min_prompt_tokens",
471
- ],
472
- ) -> None: ...
473
-
474
- global___TokenBand = TokenBand
475
-
476
- @typing.final
477
- class PricingItem(google.protobuf.message.Message):
459
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
460
+ "max_prompt_tokens",
461
+ b"max_prompt_tokens",
462
+ "min_prompt_tokens",
463
+ b"min_prompt_tokens",
464
+ ] # noqa: Y015
465
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
466
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
467
+ "max_prompt_tokens",
468
+ b"max_prompt_tokens",
469
+ "min_prompt_tokens",
470
+ b"min_prompt_tokens",
471
+ ] # noqa: Y015
472
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
473
+
474
+ Global___TokenBand: _TypeAlias = TokenBand # noqa: Y015
475
+
476
+ @_typing.final
477
+ class PricingItem(_message.Message):
478
478
  """PricingItem represents a specific price point for a model/service.
479
479
  Each item captures one pricing scenario with all relevant qualifiers.
480
480
  """
481
481
 
482
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
483
-
484
- CATEGORY_FIELD_NUMBER: builtins.int
485
- TIER_FIELD_NUMBER: builtins.int
486
- OPERATION_FIELD_NUMBER: builtins.int
487
- PRICE_FIELD_NUMBER: builtins.int
488
- UNIT_FIELD_NUMBER: builtins.int
489
- QUALITY_FIELD_NUMBER: builtins.int
490
- RESOLUTION_FIELD_NUMBER: builtins.int
491
- TOKEN_BAND_FIELD_NUMBER: builtins.int
492
- INCLUDES_THINKING_TOKENS_FIELD_NUMBER: builtins.int
493
- TOOL_NAME_FIELD_NUMBER: builtins.int
494
- TOKEN_TYPE_FIELD_NUMBER: builtins.int
495
- NOTES_FIELD_NUMBER: builtins.int
496
- category: global___PricingCategory.ValueType
482
+ DESCRIPTOR: _descriptor.Descriptor
483
+
484
+ CATEGORY_FIELD_NUMBER: _builtins.int
485
+ TIER_FIELD_NUMBER: _builtins.int
486
+ OPERATION_FIELD_NUMBER: _builtins.int
487
+ PRICE_FIELD_NUMBER: _builtins.int
488
+ UNIT_FIELD_NUMBER: _builtins.int
489
+ QUALITY_FIELD_NUMBER: _builtins.int
490
+ RESOLUTION_FIELD_NUMBER: _builtins.int
491
+ TOKEN_BAND_FIELD_NUMBER: _builtins.int
492
+ INCLUDES_THINKING_TOKENS_FIELD_NUMBER: _builtins.int
493
+ TOOL_NAME_FIELD_NUMBER: _builtins.int
494
+ TOKEN_TYPE_FIELD_NUMBER: _builtins.int
495
+ NOTES_FIELD_NUMBER: _builtins.int
496
+ category: Global___PricingCategory.ValueType
497
497
  """The type of AI capability this price applies to.
498
498
  Example: PRICING_CATEGORY_TEXT for GPT-4o chat completion
499
499
  """
500
- tier: global___PricingTier.ValueType
500
+ tier: Global___PricingTier.ValueType
501
501
  """Service tier affecting price and SLA.
502
502
  Example: PRICING_TIER_BATCH for 50% discounted async processing
503
503
  """
504
- operation: global___Operation.ValueType
504
+ operation: Global___Operation.ValueType
505
505
  """The specific operation being charged for.
506
506
  Example: OPERATION_INPUT for prompt tokens, OPERATION_OUTPUT for completions
507
507
  """
508
- price: builtins.float
508
+ price: _builtins.float
509
509
  """The numeric cost amount.
510
510
  Example: 2.50 for "$2.50 per 1M tokens"
511
511
  """
512
- unit: global___PriceUnit.ValueType
512
+ unit: Global___PriceUnit.ValueType
513
513
  """The unit that the price applies to.
514
514
  Example: PRICE_UNIT_PER_1M_TOKENS for token-based pricing
515
515
  """
516
- quality: builtins.str
516
+ quality: _builtins.str
517
517
  """Optional qualifiers to disambiguate pricing variants:
518
518
 
519
519
  Quality level for image generation.
520
520
  Examples: "standard", "hd" for DALL-E, "low", "medium", "high" for others
521
521
  """
522
- resolution: builtins.str
522
+ resolution: _builtins.str
523
523
  """Image resolution for image generation pricing.
524
524
  Examples: "1024x1024", "1792x1024", "1024x1792"
525
525
  """
526
- includes_thinking_tokens: builtins.bool
526
+ includes_thinking_tokens: _builtins.bool
527
527
  """Whether output pricing includes hidden reasoning tokens.
528
528
  Example: true for o1-preview which charges for internal thinking
529
529
  """
530
- tool_name: builtins.str
530
+ tool_name: _builtins.str
531
531
  """Name of the tool for PRICING_CATEGORY_TOOL items.
532
532
  Examples: "Web Search", "File Search", "Code Interpreter"
533
533
  """
534
- token_type: builtins.str
534
+ token_type: _builtins.str
535
535
  """Token type for multi-modal pricing.
536
536
  Examples: "text" vs "audio" for Whisper transcription models
537
537
  """
538
- notes: builtins.str
538
+ notes: _builtins.str
539
539
  """Additional human-readable notes about this pricing.
540
540
  Example: "Discounted pricing with data sharing enabled"
541
541
  """
542
- @property
543
- def token_band(self) -> global___TokenBand:
542
+ @_builtins.property
543
+ def token_band(self) -> Global___TokenBand:
544
544
  """Token count thresholds for tiered pricing.
545
545
  Example: Different rates for prompts over 200k tokens
546
546
  """
@@ -548,50 +548,72 @@ class PricingItem(google.protobuf.message.Message):
548
548
  def __init__(
549
549
  self,
550
550
  *,
551
- category: global___PricingCategory.ValueType = ...,
552
- tier: global___PricingTier.ValueType = ...,
553
- operation: global___Operation.ValueType = ...,
554
- price: builtins.float = ...,
555
- unit: global___PriceUnit.ValueType = ...,
556
- quality: builtins.str = ...,
557
- resolution: builtins.str = ...,
558
- token_band: global___TokenBand | None = ...,
559
- includes_thinking_tokens: builtins.bool = ...,
560
- tool_name: builtins.str = ...,
561
- token_type: builtins.str = ...,
562
- notes: builtins.str = ...,
551
+ category: Global___PricingCategory.ValueType | None = ...,
552
+ tier: Global___PricingTier.ValueType | None = ...,
553
+ operation: Global___Operation.ValueType | None = ...,
554
+ price: _builtins.float | None = ...,
555
+ unit: Global___PriceUnit.ValueType | None = ...,
556
+ quality: _builtins.str | None = ...,
557
+ resolution: _builtins.str | None = ...,
558
+ token_band: Global___TokenBand | None = ...,
559
+ includes_thinking_tokens: _builtins.bool | None = ...,
560
+ tool_name: _builtins.str | None = ...,
561
+ token_type: _builtins.str | None = ...,
562
+ notes: _builtins.str | None = ...,
563
563
  ) -> None: ...
564
- def HasField(
565
- self, field_name: typing.Literal["token_band", b"token_band"]
566
- ) -> builtins.bool: ...
567
- def ClearField(
568
- self,
569
- field_name: typing.Literal[
570
- "category",
571
- b"category",
572
- "includes_thinking_tokens",
573
- b"includes_thinking_tokens",
574
- "notes",
575
- b"notes",
576
- "operation",
577
- b"operation",
578
- "price",
579
- b"price",
580
- "quality",
581
- b"quality",
582
- "resolution",
583
- b"resolution",
584
- "tier",
585
- b"tier",
586
- "token_band",
587
- b"token_band",
588
- "token_type",
589
- b"token_type",
590
- "tool_name",
591
- b"tool_name",
592
- "unit",
593
- b"unit",
594
- ],
595
- ) -> None: ...
596
-
597
- global___PricingItem = PricingItem
564
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
565
+ "category",
566
+ b"category",
567
+ "includes_thinking_tokens",
568
+ b"includes_thinking_tokens",
569
+ "notes",
570
+ b"notes",
571
+ "operation",
572
+ b"operation",
573
+ "price",
574
+ b"price",
575
+ "quality",
576
+ b"quality",
577
+ "resolution",
578
+ b"resolution",
579
+ "tier",
580
+ b"tier",
581
+ "token_band",
582
+ b"token_band",
583
+ "token_type",
584
+ b"token_type",
585
+ "tool_name",
586
+ b"tool_name",
587
+ "unit",
588
+ b"unit",
589
+ ] # noqa: Y015
590
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
591
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
592
+ "category",
593
+ b"category",
594
+ "includes_thinking_tokens",
595
+ b"includes_thinking_tokens",
596
+ "notes",
597
+ b"notes",
598
+ "operation",
599
+ b"operation",
600
+ "price",
601
+ b"price",
602
+ "quality",
603
+ b"quality",
604
+ "resolution",
605
+ b"resolution",
606
+ "tier",
607
+ b"tier",
608
+ "token_band",
609
+ b"token_band",
610
+ "token_type",
611
+ b"token_type",
612
+ "tool_name",
613
+ b"tool_name",
614
+ "unit",
615
+ b"unit",
616
+ ] # noqa: Y015
617
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
618
+
619
+ Global___PricingItem: _TypeAlias = PricingItem # noqa: Y015