1
2
3
4
5
6
7
8
9
10
11
from typing import TYPE_CHECKING
 
if TYPE_CHECKING:
    # import modules that have public classes/functions:
    from pandas.tseries import (
        frequencies,
        offsets,
    )
 
    # and mark only those modules as public
    __all__ = ["frequencies", "offsets"]