Skip to content

Support passing old union types to issubform #16

Open
@github-actions

Description

@github-actions

# TODO: fix the mypy error

from typing import Union

from basedtyping import issubform

assert issubform(
    Union[int, str],  # type: ignore[arg-type]
    Union[str, int],  # type: ignore[arg-type]
)

31dba085975f5e1e859c0c7c076f040fd35ce713

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions