aws-samples / emr-serverless-samples

Example code for running Spark and Hive jobs on EMR Serverless.
https://aws.amazon.com/emr/serverless/
MIT No Attribution
150 stars 74 forks source link

Add support for "config" to be a templated field in the EmrServerlessCreateApplicationOperator #51

Open imonteroq opened 1 year ago

imonteroq commented 1 year ago

Hi, I'd like that config in the EmrServerlessCreateApplicationOperator be a templated field so that I can use jinja templates in it. Would it be possible to incorporate it into the next release? I have tried overriding the operator and it's worked just fine:

class CustomEmrServerlessCreateApplicationOperator(EmrServerlessCreateApplicationOperator):
    template_fields: Sequence[str] = ("config",)

Thanks!