Skip to content

Commit

Permalink
docs: fix typos in proto/message.py
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Jun 27, 2024
1 parent a235f5b commit 8a8f0c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proto/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def to_json(
`always_print_fields_with_no_presence` instead. An option that
determines whether the default field values should be included in the results.
This value must match `always_print_fields_with_no_presence`,
if both arguments are explictly set.
if both arguments are explicitly set.
preserving_proto_field_name (Optional(bool)): An option that
determines whether field name representations preserve
proto case (snake_case) or use lowerCamelCase. Default is False.
Expand All @@ -497,7 +497,7 @@ def to_json(
always be serialized. Any field that supports presence is not affected by
this option (including singular message fields and oneof fields).
This value must match `including_default_value_fields`,
if both arguments are explictly set.
if both arguments are explicitly set.
Returns:
str: The json string representation of the protocol buffer.
"""
Expand Down Expand Up @@ -574,14 +574,14 @@ def to_dict(
`always_print_fields_with_no_presence` instead. An option that
determines whether the default field values should be included in the results.
This value must match `always_print_fields_with_no_presence`,
if both arguments are explictly set.
if both arguments are explicitly set.
float_precision (Optional(int)): If set, use this to specify float field valid digits.
Default is None.
always_print_fields_with_no_presence (Optional(bool)): If True, fields without
presence (implicit presence scalars, repeated fields, and map fields) will
always be serialized. Any field that supports presence is not affected by
this option (including singular message fields and oneof fields). This value
must match `including_default_value_fields`, if both arguments are explictly set.
must match `including_default_value_fields`, if both arguments are explicitly set.
Returns:
dict: A representation of the protocol buffer using pythonic data structures.
Expand Down

0 comments on commit 8a8f0c5

Please sign in to comment.