(app, case_type)
return case_types
Get child case types used by search detail tab nodesets in any modules
    that match the given case type and are configured for case search.

    Returns a set of case types
Get child case types used by search detail tab nodesets in any modules
    that match the given case type and are configured for case search.
Get child case types used by search detail tab nodesets in any modules that match the given case type and are configured for case search .
def get_child_case_types(app, case_type):
    """
    Get child case types used by search detail tab nodesets in any modules
    that match the given case type and are configured for case search.

    Returns a set of case types
    """
    case_types = set()
    for module in app.get_modules():
        if module.case_type == case_type and module_offers_search(module):
            for tab in module.search_detail("long").tabs:
                if tab.has_nodeset and tab.nodeset_case_type:
                    case_types.add(tab.nodeset_case_type)

    return case_types
def get_child_case_types ( app , case_type ) : case_types = set ( ) for module in app . get_modules ( ) : if module . case_type == case_type and module_offers_search ( module ) : for tab in module . search_detail ( "long" ) . tabs : if tab . has_nodeset and tab . nodeset_case_type : case_types . add ( tab . nodeset_case_type ) return case_types