def METHOD_NAME(self, name=None, **kwargs) -> Generator[BaseSegment, None, None]:
    """Return a subsegment context manger.
    Parameters
    ----------
    name: str
        Subsegment name
    kwargs: Optional[dict]
        Optional parameters to be propagated to segment
    """