Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def func():
res_iter = (ResourceWrapper(self.get_res(current_dp, rw.res.name), rw.it)
for rw in res_iter_)
res_iter = self.process_resources(res_iter)
res_iter = (it if isinstance(it, ResourceWrapper) else ResourceWrapper(res, it)
for res, it
in itertools.zip_longest(self.datapackage.resources, res_iter))
return res_iter
return func
def func():
res_iter = (ResourceWrapper(self.get_res(current_dp, rw.res.name), rw.it)
for rw in res_iter_)
res_iter = self.process_resources(res_iter)
res_iter = (it if isinstance(it, ResourceWrapper) else ResourceWrapper(res, it)
for res, it
in itertools.zip_longest(self.datapackage.resources, res_iter))
return res_iter
return func