Skip to content

Commit

Permalink
remove default values from proto DTO
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvoleg committed Feb 6, 2025
1 parent 0f20070 commit 818acdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/_grpc/grpcwrapper/ydb_topic.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def from_proto(
class InitRequest(IToProto):
topics_read_settings: List["StreamReadMessage.InitRequest.TopicReadSettings"]
consumer: str
auto_partitioning_support: bool = False
auto_partitioning_support: bool

def to_proto(self) -> ydb_topic_pb2.StreamReadMessage.InitRequest:
res = ydb_topic_pb2.StreamReadMessage.InitRequest()
Expand Down
1 change: 1 addition & 0 deletions ydb/_topic_reader/topic_reader_asyncio_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ async def test_init_reader(self, stream, default_reader_settings):
read_from=None,
)
],
auto_partitioning_support=False,
)
start_task = asyncio.create_task(reader._start(stream, init_message))

Expand Down

0 comments on commit 818acdd

Please sign in to comment.