@@ -708,38 +708,42 @@ async def execute_query(
708708 If None, defaults to prepare_operation_timeout.
709709 prepare_retryable_errors: a list of errors that will be retried if encountered during prepareQuery.
710710 Defaults to 4 (DeadlineExceeded) and 14 (ServiceUnavailable)
711- column_info:
712- (Optional) A dictionary mapping column names to Protobuf message classes or EnumTypeWrapper objects.
711+ column_info: (Optional) A dictionary mapping column names to Protobuf message classes or EnumTypeWrapper objects.
713712 This dictionary provides the necessary type information for deserializing PROTO and
714713 ENUM column values from the query results. When an entry is provided
715714 for a PROTO or ENUM column, the client library will attempt to deserialize the raw data.
716715
717- - For PROTO columns: The value in the dictionary should be the
718- Protobuf Message class (e.g., `my_pb2.MyMessage`).
719- - For ENUM columns: The value should be the Protobuf EnumTypeWrapper
720- object (e.g., `my_pb2.MyEnum`).
716+ - For PROTO columns: The value in the dictionary should be the
717+ Protobuf Message class (e.g., ``my_pb2.MyMessage``).
718+ - For ENUM columns: The value should be the Protobuf EnumTypeWrapper
719+ object (e.g., ``my_pb2.MyEnum``).
720+
721+ Example::
721722
722- Example:
723723 import my_pb2
724724
725725 column_info = {
726726 "my_proto_column": my_pb2.MyMessage,
727727 "my_enum_column": my_pb2.MyEnum
728728 }
729729
730- If `column_info` is not provided, or if a specific column name is not found
730+ If `` column_info` ` is not provided, or if a specific column name is not found
731731 in the dictionary, or if deserialization fails:
732+
732733 - PROTO columns will be returned as raw bytes.
733734 - ENUM columns will be returned as integers.
734735
735736 Note for Nested PROTO or ENUM Fields:
737+
736738 To specify types for PROTO or ENUM fields within STRUCTs or MAPs, use a dot-separated
737739 path from the top-level column name.
738- - For STRUCTs: `struct_column_name.field_name`
739- - For MAPs: `map_column_name.key` or `map_column_name.value` to specify types
740- for the map keys or values, respectively.
741740
742- Examples:
741+ - For STRUCTs: ``struct_column_name.field_name``
742+ - For MAPs: ``map_column_name.key`` or ``map_column_name.value`` to specify types
743+ for the map keys or values, respectively.
744+
745+ Example::
746+
743747 import my_pb2
744748
745749 column_info = {
0 commit comments