You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Errors in IDE or Linter Autocompletion and Type Checking #645
Some IDEs or linters may not fully support deferred annotations, which can result in incorrect autocompletion or type-checking errors during development. This may hinder productivity, as IDEs might not recognize certain types in complex projects where multiple modules interlink, leading to a lack of suggestions or false positive warnings.
path to file - src/crawlee/memory_storage_client/_creation_management.py
Hello and thank you for your interest in Crawlee! I'm afraid this issue is not exactly actionable in this state. Could you provide an example of such error and which IDE it appears in?
In this setup, if your IDE (say, VS Code or PyCharm) or linter does not fully support deferred annotations, it may not recognize ClassB in method_a or ClassA in method_b as valid references. This can lead to false positive warnings like "Cannot find reference" or missing autocomplete options when trying to use ClassB or ClassA.
In this setup, if your IDE (say, VS Code or PyCharm) or linter does not fully support deferred annotations, it may not recognize...
But they both do support it, right? Deferred annotations are a part of the language, and have been so for a couple of years, so if a tool does not support them, that's an issue with the tool.
Is there any non-hypotethical problem we could help with?
Activity
janbuchar commentedon Nov 2, 2024
Hello and thank you for your interest in Crawlee! I'm afraid this issue is not exactly actionable in this state. Could you provide an example of such error and which IDE it appears in?
mgunawardhana commentedon Nov 3, 2024
In this setup, if your IDE (say, VS Code or PyCharm) or linter does not fully support deferred annotations, it may not recognize ClassB in method_a or ClassA in method_b as valid references. This can lead to false positive warnings like "Cannot find reference" or missing autocomplete options when trying to use ClassB or ClassA.
janbuchar commentedon Nov 4, 2024
But they both do support it, right? Deferred annotations are a part of the language, and have been so for a couple of years, so if a tool does not support them, that's an issue with the tool.
Is there any non-hypotethical problem we could help with?