Skip to content

Instantly share code, notes, and snippets.

View bdbaddog's full-sized avatar

William Deegan bdbaddog

View GitHub Profile
import os
env = Environment(ENV=os.environ)
def action_func(target = None, source = None, env = None):
print('my targets', target)
return 0
my_batched_action = env.Action(action_func, batch_key=True)