示例#1
0
def feature_import(oauth_request, storage, extension):

    Feature_ = Feature()
    Feature_.current_user = oauth_request.user
    import_features = Feature_.feature_import(request, storage)

    return status_.status_200(), 200
示例#2
0
def feature_batch(storage, extension):

    Feature_ = Feature()
    # Feature_.current_user = oauth_request.user
    import_features = Feature_.feature_batch(request, storage)

    if type(import_features) is tuple:
        return import_features

    return status_.status_200(), 200
示例#3
0
def attachment_delete_preflight(storage, feature_id, attachment_storage, attachment_id, extension):
    return status_.status_200(), 200
示例#4
0
def features_intersects_preflight(storage, extension):
    return status_.status_200(), 200
示例#5
0
def features_attachment_preflight(storage, feature_id, relationship, extension):
    return status_.status_200(), 200
示例#6
0
def users_preflight(extension):
    return status_.status_200(), 200
示例#7
0
def statistic_single_preflight(template_id, statistic_id, extension):
    return status_.status_200(), 200
示例#8
0
def application_preflight(extension):
  return status_.status_200(), 200
示例#9
0
def application_single_preflight(application_id, extension):
  return status_.status_200(), 200
示例#10
0
def templates_activity_preflight(template_id, extension):
    return status_.status_200(), 200
示例#11
0
def application_templates_preflight(application_id, extension):
    return status_.status_200(), 200
示例#12
0
def templates_users_single_preflight(template_id, user_id, extension):
    return status_.status_200(), 200
示例#13
0
def templates_preflight(extension):
    return status_.status_200(), 200
示例#14
0
def user_get_preflight(user_id, extension):
    return status_.status_200(), 200
示例#15
0
def features_import_preflight(storage, extension):
    return status_.status_200(), 200
示例#16
0
def application_user_preflight(application_id, user_id, extension):
  return status_.status_200(), 200
示例#17
0
def features_users_single_preflight(storage, feature_id, user_id, extension):
    return status_.status_200(), 200
示例#18
0
def fields_single_preflight(template_id, field_id, extension):
    return status_.status_200(), 200