I am running into several initialization challenges with a custom step decorator that can run remote tasks in Azure Batch. I tried to use the batch_decoratory.py from metaflow.plugins.aws.batch module as a template (see attached code). However, when I use this in flowspec, I get errors such as:
MyAzureBatchDecorator is not callable
ImportError: cannot import name 'my_azure_batch' from '
custom_metaflow.plugins.decorators.my_azure_decorator'
AttributeError: 'MyAzureDecorator' object has no attribute '__func__'. Did you mean: '__doc__'?