def __init__(self, parent=None, **kwargs):
    """Initializes a path specification.

    Note that the RAW path specification must have a parent.

    Args:
      parent (Optional[PathSpec]): parent path specification.

    Raises:
      ValueError: when parent is not set.
    """
    if not parent:
      raise ValueError('Missing parent value.')

    super(RawPathSpec, self).__init__(parent=parent, **kwargs)
def __init__ ( self , parent = None , ** kwargs ) : if not parent : raise ValueError ( 'Missing parent value.' ) super ( RawPathSpec , self ) . __init__ ( parent = parent , ** kwargs )
Initializes a path specification.

    Note that the RAW path specification must have a parent.

    Args:
      parent (Optional[PathSpec]): parent path specification.

    Raises:
      ValueError: when parent is not set.