Scrapy, a fast high-level web crawling & scraping framework for Python.
Add mssing __future__ imports.
Andrey Rakhmatullin480a11b68bee
diff --git a/scrapy/commands/parse.py b/scrapy/commands/parse.pyindex ce6f4dc51..3320a1ee4 100644--- a/scrapy/commands/parse.py+++ b/scrapy/commands/parse.py@@ -1,3 +1,5 @@+from __future__ import annotations+import argparseimport functoolsimport inspectdiff --git a/scrapy/core/spidermw.py b/scrapy/core/spidermw.pyindex cb1a93a68..58873f0d9 100644--- a/scrapy/core/spidermw.py+++ b/scrapy/core/spidermw.py@@ -4,6 +4,8 @@ Spider Middleware managerSee documentation in docs/topics/spider-middleware.rst"""+from __future__ import annotations+import loggingfrom inspect import isasyncgenfunction, iscoroutinefrom itertools import islice