Skip to content

use pydantic pattern for non-hashable default values (i.e. lists) #2543

Closed
@mr-tz

Description

@mr-tz

update our remaining code to use this pattern.

          My understanding is that pydantic handles this correctly (i.e. deep copy) for non-hashable default values (i.e. lists). source: https://docs.pydantic.dev/latest/concepts/models/#fields-with-non-hashable-default-values

Originally posted by @mike-hunhoff in #2537 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions