Skip to content

Remove redundant | str from StrEnum parameters in create_client #237

Description

@Kamilbenkirane

create_client accepts modality: Modality | str | None and operation: Operation | str | None. The | str is unnecessary — both are StrEnum, so string values are accepted at runtime and coerced inside the function body.

Same applies to protocol: Protocol | str | None introduced in #230.

Fix: remove | str from all StrEnum parameters in create_client and domain namespace methods.

Will be fixed in #236.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions