Skip to content

Instantly share code, notes, and snippets.

@devisperessutti
Created July 27, 2018 10:41
Show Gist options
  • Save devisperessutti/7190efca9e09e11d1744a78911c872e6 to your computer and use it in GitHub Desktop.
Save devisperessutti/7190efca9e09e11d1744a78911c872e6 to your computer and use it in GitHub Desktop.
EOTask creation
class FooTask(EOTask):
def __init__(self, foo_param):
self.foo_param = foo_param
def execute(self, eopatch, *, patch_specific_param):
# do what foo does on input eopatch and return it
return eopatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment