import os
from bkmk_objects import copy_bkmk
-from Robots.bkmk_rrequests import robot_requests
+from Robots.base import robot_base
from Robots.multi_mixin import multi_mixin
from robots import import_robot, set_params, robot_params
cpu_count = os.cpu_count()
-class robot_multirequests(multi_mixin, robot_requests):
+class robot_multirequests(multi_mixin, robot_base):
concurrent_class = concurrent.futures.ProcessPoolExecutor # or ThreadPoolExecutor # noqa: E501 line too long
# We're I/O-bound, not CPU-bound
else self.concurrent_class
self.concurrent_class_name = concurrent_class.__name__
multi_mixin.__init__(self, *args, **kw)
- robot_requests.__init__(self, *args, **kw)
+ robot_base.__init__(self, *args, **kw)
self.executor = concurrent_class(max_workers=self.max_urls)
def version_str(self):