Async client: Unresolved attribute reference 'execute' for class 'BaseFilterRequestBuilder' #1026
Open
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
Note
This report was created having in consideration the instruction made by @silentworks in the thread https://discord.com/channels/839993398554656828/1323676367765897297.
When using the async client and calling the
execute
method after aneq
filter, PyCharm generate anUnresolved attribute reference 'execute' for class 'BaseFilterRequestBuilder'
warning.Exploring the source of the
eq
method I figured out the classBaseFilterRequestBuilder
doesn't have a definition for theexecute
method and doesn't extend any class which define it. In fact, there is no definition in the whole "base_request_builder.py" file (PyCharm word search).On the other hand, the
select
method is currently defined inAsyncRequestBuilder
and returns an instance ofAsyncSelectRequestBuilder
(which extendsAsyncQueryRequestBuilder
). This dependency chain correctly provide theexecute
method definition.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
execute()
methodExpected behavior
Call the
execute
method aftereq
without a warning.Screenshots
System information
Additional context
Using PyCharm Community 2024.3.1.1 (243.22562.220)
The text was updated successfully, but these errors were encountered: