gws.base.exporter.action

Provides the printing API.

Source code: gws.base.exporter.action

Module Contents

class gws.base.exporter.action.CliParams(*args, **kwargs)

Bases: gws.CliParams

CLI params

output: str

output path

project: str | None

project uid

request: str

path to request.json

class gws.base.exporter.action.Config

Bases: gws.base.action.Config

Configuration for the exporter action. (added in 8.4)

class gws.base.exporter.action.Object

Bases: gws.base.action.Object

do_export(p: CliParams)

Export using the specified params

exporter_cancel(req: gws.WebRequester, p: gws.JobRequest) gws.JobStatusResponse
exporter_output(req: gws.WebRequester, p: gws.JobRequest) gws.ContentResponse
exporter_start(req: gws.WebRequester, p: gws.ExportRequest) gws.JobStatusResponse

Start a background export job

exporter_status(req: gws.WebRequester, p: gws.JobRequest) gws.JobStatusResponse
class gws.base.exporter.action.Props

Bases: gws.base.action.Props