Skip to content

Commit 19aeee3

Browse files
committed
chore: update docs string
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent 2084b41 commit 19aeee3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/hiero_sdk_python/consensus/topic_message_submit_transaction.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def __init__(
3535
Args:
3636
topic_id (Optional[TopicId]): The ID of the topic.
3737
message (Optional[str]): The message to submit.
38+
chunk_size (Optional[int]): The maximum chunk size in bytes, Default: 1024.
39+
max_chunks (Optional[int]): The maximum number of chunks allowed, Default: 20.
3840
"""
3941
super().__init__()
4042
self.topic_id: Optional[TopicId] = topic_id

tests/integration/topic_message_submit_transaction_e2e_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_topic_message_submit_transaction_can_submit_a_large_message(env):
111111

112112
@pytest.mark.integration
113113
def test_topic_message_submit_transaction_fails_if_max_chunks_less_than_requied(env):
114-
"""Test topic message submit transaction can submit large message."""
114+
"""Test topic message submit transaction fails if max_chunks less than requied."""
115115
topic_id = create_topic(
116116
client=env.client,
117117
admin_key=env.operator_key

0 commit comments

Comments
 (0)