Skip to content

Commit fb9ca99

Browse files
authored
docs: fix typos in proto/message.py (#463)
1 parent 9cfcbbf commit fb9ca99

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/proto-plus/proto/message.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def to_json(
481481
`always_print_fields_with_no_presence` instead. An option that
482482
determines whether the default field values should be included in the results.
483483
This value must match `always_print_fields_with_no_presence`,
484-
if both arguments are explictly set.
484+
if both arguments are explicitly set.
485485
preserving_proto_field_name (Optional(bool)): An option that
486486
determines whether field name representations preserve
487487
proto case (snake_case) or use lowerCamelCase. Default is False.
@@ -497,7 +497,7 @@ def to_json(
497497
always be serialized. Any field that supports presence is not affected by
498498
this option (including singular message fields and oneof fields).
499499
This value must match `including_default_value_fields`,
500-
if both arguments are explictly set.
500+
if both arguments are explicitly set.
501501
Returns:
502502
str: The json string representation of the protocol buffer.
503503
"""
@@ -574,14 +574,14 @@ def to_dict(
574574
`always_print_fields_with_no_presence` instead. An option that
575575
determines whether the default field values should be included in the results.
576576
This value must match `always_print_fields_with_no_presence`,
577-
if both arguments are explictly set.
577+
if both arguments are explicitly set.
578578
float_precision (Optional(int)): If set, use this to specify float field valid digits.
579579
Default is None.
580580
always_print_fields_with_no_presence (Optional(bool)): If True, fields without
581581
presence (implicit presence scalars, repeated fields, and map fields) will
582582
always be serialized. Any field that supports presence is not affected by
583583
this option (including singular message fields and oneof fields). This value
584-
must match `including_default_value_fields`, if both arguments are explictly set.
584+
must match `including_default_value_fields`, if both arguments are explicitly set.
585585
586586
Returns:
587587
dict: A representation of the protocol buffer using pythonic data structures.

0 commit comments

Comments
 (0)