Skip to content

[CLN]: Improve maybe_cast_one_to_many function with types for Document, Uri, and ID to be more robust #2734

Open
@spikechroma

Description

@spikechroma

Describe the problem

#2686 (comment)

Describe the proposed solution

Be more explicit with types for Document, Uri and ID instead of using a generic isinstance(target, str)

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions