holmuk commented on issue #64835: URL: https://github.com/apache/airflow/issues/64835#issuecomment-4245409869
Validation with deprecated hooks was removed in https://github.com/apache/airflow/commit/51415547d6 It appears that it's much easier not to try to "fix" the validation, but rewrite your validator with `provider.yaml` ```yaml connection-types: - hook-class-name: your_package.hooks.cms.CmsHook hook-name: "CMS" connection-type: cms conn-fields: cms_system: label: "Système" schema: type: - string - "null" cms_authentication: label: "Authentification" description: "Méthode d'authentication (secEnterprise, secLDAP, secWinAD, secSAPR3)" schema: type: - string - "null" default: secEnterprise enum: - secEnterprise - secLDAP - secWinAD - secSAPR3 ``` `flash` can't be expressed in `provider.yaml` I suppose the issue can be closed? It looks that we don't expect someone to revert the hook logic back. @potiuk -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
