@@ -75,37 +75,37 @@ def type_info(spec)
7575 #
7676 # Based on `target`, transform `value` into `target`, to the extent possible:
7777 #
78- # 1. if the given `value` conforms to `target` already, return the given `value`
79- # 2. if it's possible and safe to convert the given `value` to `target`, then the
80- # converted value
81- # 3. otherwise, the given `value` unaltered
78+ # 1. if the given `value` conforms to `target` already, return the given `value`
79+ # 2. if it's possible and safe to convert the given `value` to `target`, then the
80+ # converted value
81+ # 3. otherwise, the given `value` unaltered
8282 #
83- # The coercion process is subject to improvement between minor release versions.
84- # See https://docs.pydantic.dev/latest/concepts/unions/#smart-mode
83+ # The coercion process is subject to improvement between minor release versions.
84+ # See https://docs.pydantic.dev/latest/concepts/unions/#smart-mode
8585 #
8686 # @param target [Orb::Internal::Type::Converter, Class]
8787 #
8888 # @param value [Object]
8989 #
9090 # @param state [Hash{Symbol=>Object}] The `strictness` is one of `true`, `false`, or `:strong`. This informs the
91- # coercion strategy when we have to decide between multiple possible conversion
92- # targets:
91+ # coercion strategy when we have to decide between multiple possible conversion
92+ # targets:
9393 #
94- # - `true`: the conversion must be exact, with minimum coercion.
95- # - `false`: the conversion can be approximate, with some coercion.
96- # - `:strong`: the conversion must be exact, with no coercion, and raise an error
97- # if not possible.
94+ # - `true`: the conversion must be exact, with minimum coercion.
95+ # - `false`: the conversion can be approximate, with some coercion.
96+ # - `:strong`: the conversion must be exact, with no coercion, and raise an error
97+ # if not possible.
9898 #
99- # The `exactness` is `Hash` with keys being one of `yes`, `no`, or `maybe`. For
100- # any given conversion attempt, the exactness will be updated based on how closely
101- # the value recursively matches the target type:
99+ # The `exactness` is `Hash` with keys being one of `yes`, `no`, or `maybe`. For
100+ # any given conversion attempt, the exactness will be updated based on how closely
101+ # the value recursively matches the target type:
102102 #
103- # - `yes`: the value can be converted to the target type with minimum coercion.
104- # - `maybe`: the value can be converted to the target type with some reasonable
105- # coercion.
106- # - `no`: the value cannot be converted to the target type.
103+ # - `yes`: the value can be converted to the target type with minimum coercion.
104+ # - `maybe`: the value can be converted to the target type with some reasonable
105+ # coercion.
106+ # - `no`: the value cannot be converted to the target type.
107107 #
108- # See implementation below for more details.
108+ # See implementation below for more details.
109109 #
110110 # @option state [Boolean, :strong] :strictness
111111 #
0 commit comments