Closed huypxgear closed 4 days ago
How is offer
define?
There are several PyCharm bugs reported about similar warnings:
How is offer define?
it is just a normal dict like that
offer = {'test': {}}
The strange thing is that the warning only appears when importing pydash.get
. If I remove the import line, the warning disappears. The warning appears for every line of code when I use the .get
function. I guess it might be a PyCharm issue, confusingdict.get
with pydash.get
I guess it might be a PyCharm issue, confusing dict.get with pydash.get
That seems to track with what other are reporting in the JetBrains tickets.
I got a strange warning when importing
pydash.get
in PyCharm.Code:
schedules = offer.get('schedules', None)
Warning:
Fixture 'offer.get' is not requested by test functions or @pytest.mark.usefixtures marker