# pydantic 2.14.2 (MIT), harvested by tools/harvest_corpus.py
=== input
A container for data from `@field_serializer` so that we can access it
    while building the pydantic-core schema.

    Attributes:
        decorator_repr: A class variable representing the decorator string, '@field_serializer'.
        fields: A tuple of field names the serializer should be called on.
        mode: The proposed serializer mode.
        return_type: The type of the serializer's return value.
        when_used: The serialization condition. Accepts a string with values `'always'`, `'unless-none'`, `'json'`,
            and `'json-unless-none'`.
        check_fields: Whether to check that the fields actually exist on the model.
    
=== parse google
short_description: |
  A container for data from `@field_serializer` so that we can access it
  while building the pydantic-core schema.
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: "A class variable representing the decorator string, '@field_serializer'."
  kind: attribute
  key: 'attribute'
  arg_name: 'decorator_repr'
  is_optional: False
- DocstringParam
  description: 'A tuple of field names the serializer should be called on.'
  kind: attribute
  key: 'attribute'
  arg_name: 'fields'
  is_optional: False
- DocstringParam
  description: 'The proposed serializer mode.'
  kind: attribute
  key: 'attribute'
  arg_name: 'mode'
  is_optional: False
- DocstringParam
  description: "The type of the serializer's return value."
  kind: attribute
  key: 'attribute'
  arg_name: 'return_type'
  is_optional: False
- DocstringParam
  description: |
    The serialization condition. Accepts a string with values `'always'`, `'unless-none'`, `'json'`,
    and `'json-unless-none'`.
  kind: attribute
  key: 'attribute'
  arg_name: 'when_used'
  is_optional: False
- DocstringParam
  description: 'Whether to check that the fields actually exist on the model.'
  kind: attribute
  key: 'attribute'
  arg_name: 'check_fields'
  is_optional: False
=== detect
google
=== compose google
A container for data from `@field_serializer` so that we can access it
while building the pydantic-core schema.

Attributes:
    decorator_repr: A class variable representing the decorator string, '@field_serializer'.
    fields: A tuple of field names the serializer should be called on.
    mode: The proposed serializer mode.
    return_type: The type of the serializer's return value.
    when_used: The serialization condition. Accepts a string with values `'always'`, `'unless-none'`, `'json'`,
        and `'json-unless-none'`.
    check_fields: Whether to check that the fields actually exist on the model.
