potiuk commented on pull request #20687:
URL: https://github.com/apache/airflow/pull/20687#issuecomment-1005842177


   ```
           for base in cls.__bases__:                                           
                                                                                
                                                                                
                                                                    
               if not (base in (object, Generic) or                             
                                                                                
                                                                                
                                                                    
                       base.__module__ == 'collections.abc' and                 
                                                                                
                                                                                
                                                                    
                       base.__name__ in _PROTO_WHITELIST or                     
                                                                                
                                                                                
                                                                    
                       isinstance(base, _ProtocolMeta) and base._is_protocol):  
                                                                                
                                                                                
                                                                    
                   raise TypeError('Protocols can only inherit from other'      
                                                                                
                                                                                
                                                                    
   >                               ' protocols, got %r' % base)                 
                                                                                
                                                                                
                                                                    
   E               TypeError: Protocols can only inherit from other protocols, 
got <class 'airf
   ```


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