6c73bb47b8a5211e2d86464bbf8bd7ff2c602af9,core/eolearn/core/eotask.py,EOTask,_execute_handling,#EOTask#,66
Before Change
// Some special exceptions don"t accept error message as a parameter and a TypeError is raised in such case.
try:
errmsg = "During execution of task {}: {}".format(self.__class__.__name__, exception)
raise type(exception)(errmsg).with_traceback(traceback)
except TypeError:
raise exception
@abstractmethod
After Change
except TypeError:
extended_exception = exception
raise extended_exception.with_traceback(traceback)
@abstractmethod
def execute(self, *eopatches, **kwargs):
Implement execute function
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: sentinel-hub/eo-learn
Commit Name: 6c73bb47b8a5211e2d86464bbf8bd7ff2c602af9
Time: 2019-09-03
Author: jovan.visnjic@sinergise.com
File Name: core/eolearn/core/eotask.py
Class Name: EOTask
Method Name: _execute_handling
Project Name: sentinel-hub/eo-learn
Commit Name: cb125387556b931c593c3bb80aea7948dd61b2d7
Time: 2019-09-02
Author: jovan.visnjic@sinergise.com
File Name: core/eolearn/core/eotask.py
Class Name: EOTask
Method Name: _execute_handling
Project Name: uber/pyro
Commit Name: ce8dd261f8bb1a4c61618b535dae5aa2d5136ede
Time: 2020-05-20
Author: fritzo@uber.com
File Name: pyro/poutine/trace_messenger.py
Class Name: TraceHandler
Method Name: __call__