From c81a99c65987b7eff189b4bd80d7c7860bea76db Mon Sep 17 00:00:00 2001 From: Francis Charette-Migneault Date: Tue, 22 Mar 2022 14:54:11 -0400 Subject: [PATCH] fix lint --- weaver/cli.py | 10 +++++----- weaver/wps_restapi/swagger_definitions.py | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/weaver/cli.py b/weaver/cli.py index 535d9659f..192fc756a 100644 --- a/weaver/cli.py +++ b/weaver/cli.py @@ -1236,16 +1236,16 @@ def make_parser(): Indicates which outputs by ID to be returned as HTTP Link header reference instead of body content value. This defines the output transmission mode when submitting the execution request. - With reference transmission mode, + With reference transmission mode, outputs that contain literal data will be linked by ``text/plain`` file containing the data. Outputs that refer to a file reference will simply contain that URL reference as link. - With value transmission mode (default behavior when outputs are not specified in this list), outputs are + With value transmission mode (default behavior when outputs are not specified in this list), outputs are returned as direct values (literal or href) within the response content body. - - When requesting any output to be returned by reference, option ``-H/--headers`` should be considered as + + When requesting any output to be returned by reference, option ``-H/--headers`` should be considered as well to return the provided ``Link`` headers for these outputs on the command line. - + Example: ``-R output-one -R output-two`` """) ) diff --git a/weaver/wps_restapi/swagger_definitions.py b/weaver/wps_restapi/swagger_definitions.py index 829ac90f7..3c9e98792 100644 --- a/weaver/wps_restapi/swagger_definitions.py +++ b/weaver/wps_restapi/swagger_definitions.py @@ -2363,8 +2363,10 @@ class JobOutputQuery(ExtendedMappingSchema): summary="Selects the schema employed for representation of job outputs.", description=( "Selects the schema employed for representation of job outputs for providing file Content-Type details. " - f"When '{JobInputsOutputsSchema.OLD}' is employed, 'format.mimeType' is used and 'type' is reported as well. " - f"When '{JobInputsOutputsSchema.OGC}' is employed, 'format.mediaType' is used and 'type' is reported as well. " + f"When '{JobInputsOutputsSchema.OLD}' is employed, " + "'format.mimeType' is used and 'type' is reported as well. " + f"When '{JobInputsOutputsSchema.OGC}' is employed, " + "'format.mediaType' is used and 'type' is reported as well. " "When the '+strict' value is added, only the 'format' or 'type' will be represented according to the " f"reference standard ({JobInputsOutputsSchema.OGC}, {JobInputsOutputsSchema.OLD}) representation." )