Skip to content

Commit fbf2465

Browse files
authored
Add new subpackage for Scrapy pipelines (#173)
1 parent f08d333 commit fbf2465

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/apify/scrapy/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
from .pipelines import ActorDatasetPushPipeline
21
from .scheduler import ApifyScheduler
32
from .utils import get_basic_auth_header, get_running_event_loop_id, open_queue_with_custom_client, to_apify_request, to_scrapy_request
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .actor_dataset_push import ActorDatasetPushPipeline

src/apify/scrapy/pipelines.py renamed to src/apify/scrapy/pipelines/actor_dataset_push.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'To use this module, you need to install the "scrapy" extra. Run "pip install apify[scrapy]".',
1010
) from exc
1111

12-
from ..actor import Actor
12+
from ...actor import Actor
1313

1414

1515
class ActorDatasetPushPipeline:

0 commit comments

Comments
 (0)