maiconkkl commented on PR #36538:
URL: https://github.com/apache/airflow/pull/36538#issuecomment-1874428986

   I have a doubt!
   Isn't it worth leaving this part of code to keep a compatibility warning?
   ```
   if issubclass(sm_from_config, AirflowSecurityManagerV2):
        warnings.warn(
                "Please make your custom security manager inherit from "
                "FabAirflowSecurityManagerOverride instead of 
AirflowSecurityManagerV2.",
                AirflowProviderDeprecationWarning,
        )
   ```
   
   This way, whoever uses the class "AirflowSecurityManagerV2" will understand 
that it is being depreciated and which one they should use.
   
   It can even be used as a test case too.


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