Skip to content

test(typing): Resolve warnings in test_api.py#3592

Merged
dangotbanned merged 5 commits intomainfrom
fix-test_api-typing
Sep 15, 2024
Merged

test(typing): Resolve warnings in test_api.py#3592
dangotbanned merged 5 commits intomainfrom
fix-test_api-typing

Conversation

@dangotbanned
Copy link
Copy Markdown
Member

Fixes 17 warnings

image

All of these were triggering an `[arg-type]` warning
```
Cannot access attribute "select" for class "UndefinedType"   Attribute "select" is unknownPylancereportAttributeAccessIssue
```
The issue is that a single variable is used for both `str|bytes` but type checking doesn't like that
@dangotbanned dangotbanned enabled auto-merge (squash) September 15, 2024 21:05
@dangotbanned dangotbanned merged commit 32990a5 into main Sep 15, 2024
@dangotbanned dangotbanned deleted the fix-test_api-typing branch September 16, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant