(
    include: Union[List[str], str], exclude: Optional[Union[List[str], str]] = None
)
return Glob(include=include, exclude=exclude)
A glob selects from all options in the config group.
    inputs are in glob format. e.g: *, foo*, *foo.
    :param include: a string or a list of strings to use as include globs
    :param exclude: a string or a list of strings to use as exclude globs
A glob selects from all options in the config group.
    inputs are in glob format. e.g: *, foo*, *foo.
    :param include: a string or a list of strings to use as include globs
    :param exclude: a string or a list of strings to use as exclude globs
A glob selects from all options in the config group . inputs are in glob format . e . g : * foo * * foo . : param include : a string or a list of strings to use as include globs : param exclude : a string or a list of strings to use as exclude globs
def glob(
    include: Union[List[str], str], exclude: Optional[Union[List[str], str]] = None
) -> Glob:
    """
    A glob selects from all options in the config group.
    inputs are in glob format. e.g: *, foo*, *foo.
    :param include: a string or a list of strings to use as include globs
    :param exclude: a string or a list of strings to use as exclude globs
    """

    if isinstance(include, str):
        include = [include]
    if exclude is None:
        exclude = []
    elif isinstance(exclude, str):
        exclude = [exclude]

    return Glob(include=include, exclude=exclude)
def glob ( include : Union [ List [ str ] , str ] , exclude : Optional [ Union [ List [ str ] , str ] ] = None ) -> Glob : if isinstance ( include , str ) : include = [ include ] if exclude is None : exclude = [ ] elif isinstance ( exclude , str ) : exclude = [ exclude ] return Glob ( include = include , exclude = exclude )