Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Mar 22, 2022
1 parent 51050bc commit c81a99c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions weaver/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``
""")
)
Expand Down
6 changes: 4 additions & 2 deletions weaver/wps_restapi/swagger_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down

0 comments on commit c81a99c

Please sign in to comment.