Module Import alias ImportFrom alias alias FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Num attr AugAssignAdd NameStore ListComp SubscriptLoad SubscriptLoad NameLoad Index Str Index Num comprehension NameStore NameLoad Return Call NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad Call NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list
N/A N/A re models CommCareBuild CommCareBuildConfig get_all_versions N/A N/A versions N/A None N/A N/A 
    Returns a list of all versions found in the database,
    plus those in the optional list parameter.
     N/A versions N/A versions N/A N/A db N/A N/A CommCareBuild get_db N/A results N/A N/A N/A N/A db view builds/all group_level 1 all N/A versions N/A N/A N/A result N/A key N/A 0 N/A result results N/A N/A sorted N/A list N/A set versions N/A get_default_build_spec N/A N/A application_version N/A N/A N/A N/A N/A N/A N/A CommCareBuildConfig fetch get_default application_version N/A extract_build_info_from_filename N/A N/A content_disposition N/A N/A N/A 

    >>> extract_build_info_from_filename(
    ...     'attachment; filename=CommCare_CommCare_2.13_32703_artifacts.zip'
    ... )
    ('2.13', 32703)
    >>> try:
    ...     extract_build_info_from_filename('foo')
    ... except ValueError as e:
    ...     print e
    Could not find filename like 'CommCare_CommCare_([\\d\\.]+)_(\\d+)_artifacts.zip' in 'foo'

     N/A pattern CommCare_CommCare_([\d\.]+)_(\d+)_artifacts.zip N/A match N/A N/A re search pattern content_disposition N/A match N/A N/A N/A version number N/A N/A match groups N/A N/A version N/A int number N/A N/A N/A ValueError N/A N/A Could not find filename like {!r} in {!r} format pattern content_disposition N/A