-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update neptune_retrieval_api using the generate_proto script
- Loading branch information
Michał Sośnicki
committed
Nov 29, 2024
1 parent
660f7df
commit 3e7d589
Showing
7 changed files
with
279 additions
and
538 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
40 changes: 16 additions & 24 deletions
40
src/neptune_retrieval_api/proto/neptune_pb/api/model/attributes_pb2.py
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,32 +1,24 @@ | ||
"""Generated protocol buffer code.""" | ||
|
||
from google.protobuf import descriptor as _descriptor | ||
from neptune_retrieval_api.proto import descriptor_pool as _descriptor_pool | ||
from google.protobuf import symbol_database as _symbol_database | ||
from google.protobuf.internal import builder as _builder | ||
|
||
from neptune_retrieval_api.proto import descriptor_pool as _descriptor_pool | ||
|
||
_sym_db = _symbol_database.Default() | ||
from ....neptune_pb.api.model import ( | ||
leaderboard_entries_pb2 as neptune__pb_dot_api_dot_model_dot_leaderboard__entries__pb2, | ||
) | ||
|
||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( | ||
b'\n%neptune_pb/api/model/attributes.proto\x12\x11neptune.api.model\x1a.neptune_pb/api/model/leaderboard_entries.proto"a\n\x1eProtoAttributesSearchResultDTO\x12?\n\x07entries\x18\x01 \x03(\x0b2..neptune.api.model.ProtoAttributeDefinitionDTO"9\n\x1bProtoAttributeDefinitionDTO\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t"\xa3\x01\n\x1dProtoQueryAttributesResultDTO\x12K\n\x07entries\x18\x01 \x03(\x0b2:.neptune.api.model.ProtoQueryAttributesExperimentResultDTO\x125\n\x08nextPage\x18\x02 \x01(\x0b2#.neptune.api.model.ProtoNextPageDTO"^\n\x10ProtoNextPageDTO\x12\x1a\n\rnextPageToken\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x01\x88\x01\x01B\x10\n\x0e_nextPageTokenB\x08\n\x06_limit"\x94\x01\n\'ProtoQueryAttributesExperimentResultDTO\x12\x14\n\x0cexperimentId\x18\x01 \x01(\t\x12\x19\n\x11experimentShortId\x18\x02 \x01(\t\x128\n\nattributes\x18\x03 \x03(\x0b2$.neptune.api.model.ProtoAttributeDTOB4\n0ml.neptune.leaderboard.api.model.proto.generatedP\x01b\x06proto3' | ||
) | ||
from ....neptune_pb.api.model import leaderboard_entries_pb2 as neptune__pb_dot_api_dot_model_dot_leaderboard__entries__pb2 | ||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%neptune_pb/api/model/attributes.proto\x12\x11neptune.api.model\x1a.neptune_pb/api/model/leaderboard_entries.proto"a\n\x1eProtoAttributesSearchResultDTO\x12?\n\x07entries\x18\x01 \x03(\x0b2..neptune.api.model.ProtoAttributeDefinitionDTO"9\n\x1bProtoAttributeDefinitionDTO\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t"\xa3\x01\n\x1dProtoQueryAttributesResultDTO\x12K\n\x07entries\x18\x01 \x03(\x0b2:.neptune.api.model.ProtoQueryAttributesExperimentResultDTO\x125\n\x08nextPage\x18\x02 \x01(\x0b2#.neptune.api.model.ProtoNextPageDTO"^\n\x10ProtoNextPageDTO\x12\x1a\n\rnextPageToken\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x01\x88\x01\x01B\x10\n\x0e_nextPageTokenB\x08\n\x06_limit"\x94\x01\n\'ProtoQueryAttributesExperimentResultDTO\x12\x14\n\x0cexperimentId\x18\x01 \x01(\t\x12\x19\n\x11experimentShortId\x18\x02 \x01(\t\x128\n\nattributes\x18\x03 \x03(\x0b2$.neptune.api.model.ProtoAttributeDTOB4\n0ml.neptune.leaderboard.api.model.proto.generatedP\x01b\x06proto3') | ||
_globals = globals() | ||
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) | ||
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "neptune_pb.api.model.attributes_pb2", _globals) | ||
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'neptune_pb.api.model.attributes_pb2', _globals) | ||
if _descriptor._USE_C_DESCRIPTORS == False: | ||
_globals["DESCRIPTOR"]._options = None | ||
_globals["DESCRIPTOR"]._serialized_options = b"\n0ml.neptune.leaderboard.api.model.proto.generatedP\x01" | ||
_globals["_PROTOATTRIBUTESSEARCHRESULTDTO"]._serialized_start = 108 | ||
_globals["_PROTOATTRIBUTESSEARCHRESULTDTO"]._serialized_end = 205 | ||
_globals["_PROTOATTRIBUTEDEFINITIONDTO"]._serialized_start = 207 | ||
_globals["_PROTOATTRIBUTEDEFINITIONDTO"]._serialized_end = 264 | ||
_globals["_PROTOQUERYATTRIBUTESRESULTDTO"]._serialized_start = 267 | ||
_globals["_PROTOQUERYATTRIBUTESRESULTDTO"]._serialized_end = 430 | ||
_globals["_PROTONEXTPAGEDTO"]._serialized_start = 432 | ||
_globals["_PROTONEXTPAGEDTO"]._serialized_end = 526 | ||
_globals["_PROTOQUERYATTRIBUTESEXPERIMENTRESULTDTO"]._serialized_start = 529 | ||
_globals["_PROTOQUERYATTRIBUTESEXPERIMENTRESULTDTO"]._serialized_end = 677 | ||
_globals['DESCRIPTOR']._options = None | ||
_globals['DESCRIPTOR']._serialized_options = b'\n0ml.neptune.leaderboard.api.model.proto.generatedP\x01' | ||
_globals['_PROTOATTRIBUTESSEARCHRESULTDTO']._serialized_start = 108 | ||
_globals['_PROTOATTRIBUTESSEARCHRESULTDTO']._serialized_end = 205 | ||
_globals['_PROTOATTRIBUTEDEFINITIONDTO']._serialized_start = 207 | ||
_globals['_PROTOATTRIBUTEDEFINITIONDTO']._serialized_end = 264 | ||
_globals['_PROTOQUERYATTRIBUTESRESULTDTO']._serialized_start = 267 | ||
_globals['_PROTOQUERYATTRIBUTESRESULTDTO']._serialized_end = 430 | ||
_globals['_PROTONEXTPAGEDTO']._serialized_start = 432 | ||
_globals['_PROTONEXTPAGEDTO']._serialized_end = 526 | ||
_globals['_PROTOQUERYATTRIBUTESEXPERIMENTRESULTDTO']._serialized_start = 529 | ||
_globals['_PROTOQUERYATTRIBUTESEXPERIMENTRESULTDTO']._serialized_end = 677 |
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
Oops, something went wrong.