files

Submodules

deepdataspace.server.resources.files.dataset_flags module

deepdataspace.server.resources.files.dataset_flags

This file add API to generate and return the flag file of a dataset.

dataset_flags(request, dataset_id)[source]

Generate and return the flag file of the dataset.

deepdataspace.server.resources.files.local_file module

deepdataspace.server.resources.files.local_file

This file add APIs to read local files or file byte ranges.

read_file(request, read_mode, content_encode, position, mime_type, local_path)[source]

Read and decode a local file and return the data in http response.

Module contents

deepdataspace.server.resources.files

Fake static file urls. Actually the file is dynamically generated according to the request.