sltxpkg/dep.py
def split_grab_pattern(pattern: str, default_target: str) -> Tuple[str, str]:
    """Performes splits on grab patterns ("source=>target")
       will fill in the given default target, if split does not present one

    Args:
        pattern (str): The pattern to split
        default_target (str): The target to be auto-filled if none given

    Returns:
        (str,str): pattern and pair
    """
    parts = pattern.split('=>', 1)
    target = default_target if len(parts) == 1 else parts[1]
    return parts[0], target
Performes splits on grab patterns ("source=>target")
       will fill in the given default target, if split does not present one

    Args:
        pattern (str): The pattern to split
        default_target (str): The target to be auto-filled if none given

    Returns:
        (str,str): pattern and pair
    
Performes splits on grab patterns ("source=>target")
will fill in the given default target, if split does not present one
Performes splits on grab patterns ( " source = > target " ) will fill in the given default target if split does not present one
def split_grab_pattern(pattern: str, default_target: str) -> Tuple[str, str]:
    parts = pattern.split('=>', 1)
    target = default_target if len(parts) == 1 else parts[1]
    return parts[0], target
def split_grab_pattern ( pattern : str , default_target : str ) -> Tuple [ str , str ] : parts = pattern . split ( '=>' , 1 ) target = default_target if len ( parts ) == 1 else parts [ 1 ] return parts [ 0 ] , target
Performes splits on grab patterns ("source=>target")
will fill in the given default target, if split does not present one
Performes splits on grab patterns ( " source = > target " ) will fill in the given default target if split does not present one
"""Performes splits on grab patterns ("source=>target")
       will fill in the given default target, if split does not present one

    Args:
        pattern (str): The pattern to split
        default_target (str): The target to be auto-filled if none given

    Returns:
        (str,str): pattern and pair
    """
pattern and pair
pattern and pair
(str,str)
pattern
str
The pattern to split
The pattern to split
default_target
str
The target to be auto-filled if none given
The target to be auto - filled if none given