This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
fromabcimportABC,abstractmethod
fromtypingimportAny
classPager(ABC):
"""Base class for a pager."""
@abstractmethod
defshow(self,content:str)->None:
"""Show content in pager.
Args:
content (str): Content to be displayed.
"""
classSystemPager(Pager):
"""Uses the pager installed on the system."""
def_pager(self,content:str)->Any:# pragma: no cover