mik-laj commented on pull request #17625:
URL: https://github.com/apache/airflow/pull/17625#issuecomment-899408078


   You previously added provider info schema to separate information needed 
only for building documentation from that required for Airflow operation. 
https://github.com/apache/airflow/pull/13488
   Has anything changed in this regard? Do we want to eliminate this division? 
What if someone does not define a class in provider_info and wants to use it? 
Should we then block it?
   
   > Additional (more important) feature is that during our tests we are 
importing the classes exposed in provider.yaml and checking if they are 
properly configured (which also happens in runtime). This makes it easy to 
reason about any kind of typos you might have and you will see them early (as I 
did and fixed it while adding it).
   
   We have pre-commit checks for testing provider.yaml files, so we can achieve 
similar featture without any changes to Airflow. Additionally, these tests 
check that all integration have been added to the provider.yaml files.
   
https://github.com/apache/airflow/blob/main/scripts/ci/pre_commit/pre_commit_check_provider_yaml_files.py


-- 
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]


Reply via email to