(versions: Union[List[str], str])
return [VersionSpecifier.from_version_string(v) for v in versions]
Parse multiple versions as read from disk. The versions value may be any
    one of:
        - a single version string ('>0.12.1')
        - a single string specifying multiple comma-separated versions
            ('>0.11.1,<=0.12.2')
        - an array of single-version strings (['>0.11.1', '<=0.12.2'])

    Regardless, this will return a list of VersionSpecifiers
Parse multiple versions as read from disk. The versions value may be any
    one of:
        - a single version string ('>0.12.1')
        - a single string specifying multiple comma-separated versions
            ('>0.11.1,<=0.12.2')
        - an array of single-version strings (['>0.11.1', '<=0.12.2'])
Parse multiple versions as read from disk . The versions value may be any one of : - a single version string ( > 0 . 12 . 1 ) - a single string specifying multiple comma - separated versions ( > 0 . 11 . 1 < = 0 . 12 . 2 ) - an array of single - version strings ( [ > 0 . 11 . 1 < = 0 . 12 . 2 ] )
def _parse_versions(versions: Union[List[str], str]) -> List[VersionSpecifier]:
    """Parse multiple versions as read from disk. The versions value may be any
    one of:
        - a single version string ('>0.12.1')
        - a single string specifying multiple comma-separated versions
            ('>0.11.1,<=0.12.2')
        - an array of single-version strings (['>0.11.1', '<=0.12.2'])

    Regardless, this will return a list of VersionSpecifiers
    """
    if isinstance(versions, str):
        versions = versions.split(',')
    return [VersionSpecifier.from_version_string(v) for v in versions]
def _parse_versions ( versions : Union [ List [ str ] , str ] ) -> List [ VersionSpecifier ] : if isinstance ( versions , str ) : versions = versions . split ( ',' ) return [ VersionSpecifier . from_version_string ( v ) for v in versions ]