kestra-io / plugin-dbt

Apache License 2.0
8 stars 4 forks source link

Render runId flow param for CheckStatus dbt cloud task #68

Closed aballiet closed 1 year ago

aballiet commented 1 year ago

Feature description

Feature description

Current dbt CheckStatus config does not support templating for runId flow parameter. I used :

    @Schema(
            title = "The job run id to check the status for"
    )
    @PluginProperty(dynamic = true)
    Integer runId;

Thought was enough but need to use runContext.render(this.runId) though it’s not supported for Long , better use string type for runId parameter.

I am willing to provide a PR