The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user dstandish (triggered by dstandish).

Head commit for run:
192dfbd23c50c79936dc57393011aecff18c3805 / Daniel Standish 
<[email protected]>
No extra__conn_type__ prefix required for UI behaviors

After making it so we can omit the prefix in `get_connection_form_widgets`, we 
left `get_ui_field_behaviour` alone because, even though maybe it's unlikely 
and probably not a great idea, it's *possible* that a user would want to add an 
extra field that shares a name with an existing conn attr _and_ want to provide 
a placeholder for that field.

But, after turning my attention back to this area, I think I arrived a at a 
reasonable way to solve this, which should make things easier for users when 
trying to implement extra fields for hooks.

What we do is, check the placeholders when processing the hook in the providers 
manager, and if there are any fields which are not conn attrs and are not 
prefixed already, we add the prefix.  We don't need to worry about "hidden 
fields" or "relabeling" because these are only used with the built-in conn 
attrs.

Report URL: https://github.com/apache/airflow/actions/runs/3229332401

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to