def METHOD_NAME(domain, form_or_case=None):
    from .models import ExportInstance
    if form_or_case == 'form':
        key = [domain, 'FormExportInstance']
    elif form_or_case == 'case':
        key = [domain, 'CaseExportInstance']
    else:
        key = [domain]
    return _get_export_instance(ExportInstance, key, include_docs=False)