aws-samples / aws-samples/emr-serverless-samples

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

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
172
Forks
84
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Research direction

Locate the EmrServerlessCreateApplicationOperator and inspect how its template fields are declared. Compare it with the issue's working override, then verify that config supports Jinja templating without requiring a custom subclass.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.