def METHOD_NAME(
    self, item_name: str
) -> tuple[Optional[ocio.Transform], Optional[ocio.Transform]]:
    # Get view name from subscription item name
    item_name = self.extract_subscription_item_name(item_name)
    config = ocio.GetCurrentConfig()
    named_transform = config.getNamedTransform(item_name)
    if named_transform is not None:
        fwd_tf = named_transform.getTransform(ocio.TRANSFORM_DIR_FORWARD)
        if not fwd_tf:
            inv_tf_ = named_transform.getTransform(ocio.TRANSFORM_DIR_INVERSE)
            if inv_tf_:
                fwd_tf = ocio.GroupTransform([inv_tf_], ocio.TRANSFORM_DIR_INVERSE)
        inv_tf = named_transform.getTransform(ocio.TRANSFORM_DIR_INVERSE)
        if not inv_tf:
            fwd_tf_ = named_transform.getTransform(ocio.TRANSFORM_DIR_FORWARD)
            if fwd_tf_:
                inv_tf = ocio.GroupTransform([fwd_tf_], ocio.TRANSFORM_DIR_INVERSE)
        return fwd_tf, inv_tf
    else:
        return None, None