Consider using lazy_object_proxy
for service_locator
to simplify resetting the test environment
#884
Labels
t-tooling
Issues with this label are in the ownership of the tooling team.
If
service_locator
was alazy_object_proxy
, we could just re-setcrawlee._service_locator.service_locator
to a new instance ofServiceLocator
and we wouldn't need to do this here and in crawlee tests (code duplication across different packages is kinda painful)Originally posted by @janbuchar in apify/apify-sdk-python#355 (comment)
The text was updated successfully, but these errors were encountered: