Skip to content

Commit 818acdd

Browse files
committed
remove default values from proto DTO
1 parent 0f20070 commit 818acdd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ydb/_grpc/grpcwrapper/ydb_topic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def from_proto(
419419
class InitRequest(IToProto):
420420
topics_read_settings: List["StreamReadMessage.InitRequest.TopicReadSettings"]
421421
consumer: str
422-
auto_partitioning_support: bool = False
422+
auto_partitioning_support: bool
423423

424424
def to_proto(self) -> ydb_topic_pb2.StreamReadMessage.InitRequest:
425425
res = ydb_topic_pb2.StreamReadMessage.InitRequest()

ydb/_topic_reader/topic_reader_asyncio_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ async def test_init_reader(self, stream, default_reader_settings):
610610
read_from=None,
611611
)
612612
],
613+
auto_partitioning_support=False,
613614
)
614615
start_task = asyncio.create_task(reader._start(stream, init_message))
615616

0 commit comments

Comments
 (0)