qhana_plugin_runner.api.files_api module

Module containing the endpoints for the local filesystem file store.

class qhana_plugin_runner.api.files_api.FileSecurityTagSchema(*, only: Sequence[str] | AbstractSet[str] | None = None, exclude: Sequence[str] | AbstractSet[str] = (), many: bool = False, context: dict | None = None, load_only: Sequence[str] | AbstractSet[str] = (), dump_only: Sequence[str] | AbstractSet[str] = (), partial: bool | Sequence[str] | AbstractSet[str] | None = None, unknown: str | None = None)

Bases: MaBaseSchema

opts: SchemaOpts = <marshmallow.schema.SchemaOpts object>
class qhana_plugin_runner.api.files_api.FileView

Bases: MethodView

Download task result file stored in the local file-system store.

get(query_data, file_id: int)

Get the task file information by file id.

methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.