Skip to content

Commit dfed8b8

Browse files
committed
do not remove the crawlee config patching
1 parent 37a1adf commit dfed8b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/apify/_configuration.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,3 +364,7 @@ def get_global_configuration(cls) -> Configuration:
364364
instead.
365365
"""
366366
return cls()
367+
368+
369+
# Monkey-patch the base class so that it works with the extended configuration
370+
CrawleeConfiguration.get_global_configuration = Configuration.get_global_configuration # type: ignore[method-assign]

0 commit comments

Comments
 (0)