Skip to content

Conversation

@hojland
Copy link

@hojland hojland commented Nov 29, 2021

No description provided.

is_valid = any(_validate_types(expected_type=t, value=value, strict=strict) is None
for t in expected_type.__args__)
if str(expected_type).startswith("typing.Union"):
is_valid = any(_validate_types(expected_type=t, value=value, strict=strict) is None for t in expected_type.__args__)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Flake8] line too long (124 > 120 characters) (view)

Details
Rule
E501

You can close this issue if no need to fix it. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants