Skip to content

check for ChromaDocumentStore dataclass in-place mutation warning #11084

@davidsbatista

Description

@davidsbatista

After adding the dataclass in-place mutation warning in PR #10650, running tests in core-integrations surfaces multiple in-repo usages where we still mutate dataclass instances in place.

We should replace these with dataclasses.replace (or other non-mutating patterns) to avoid warnings and unintended side effects.

Actions

  • running tests
  • catching warnings,
  • fixing the mutating behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contributions wanted!Looking for external contributionsP3Low priority, leave it in the backlog

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions