U cfz@sddlmZGdddeZedkrddlmZeZeeeeeeeeGdddZ e Z eee eeeded S) )ABCc@s$eZdZdZeeedddZdS)RichRenderablea#An abstract base class for Rich renderables. Note that there is no need to extend this class, the intended use is to check if an object supports the Rich renderable protocol. For example:: if isinstance(my_object, RichRenderable): console.print(my_object) )otherreturncCst|dpt|dS)z6Check if this class supports the rich render protocol.__rich_console____rich__)hasattr)clsrr B/opt/hc_python/lib/python3.8/site-packages/pip/_vendor/rich/abc.py__subclasshook__szRichRenderable.__subclasshook__N)__name__ __module__ __qualname____doc__ classmethodtypeboolr r r r r rs r__main__)Textc@s eZdZdS)FooN)r rrr r r r rsrN) abcrrr pip._vendor.rich.textrtprint isinstancerfr r r r s