resources Package

rest_resource

class tvb.interfaces.rest.server.resources.rest_resource.RestResource(*args, **kwargs)[source]

Bases: SecuredResource

static extract_file_from_request(request_file_key='model_file', file_extension='.h5')[source]
extract_page_number()[source]
static is_key_in_request_files(key)[source]
method_decorators = [<function rest_jsonify>]
class tvb.interfaces.rest.server.resources.rest_resource.SecuredResource(api=None, *args, **kwargs)[source]

Bases: Resource

method_decorators = [<function secured>]