CHAP.foxden.writer
¶
FOXDE command line writer.
Module Contents¶
Classes¶
FOXDEN writer writes data to specific FOXDEN service |
API¶
- class CHAP.foxden.writer.FoxdenWriter¶
FOXDEN writer writes data to specific FOXDEN service
- write(data, url, method='POST', headers={}, timeout=10, dryRun=False)¶
Write the input data as text to a file.
- Parameters:
data (list[PipelineData]) – input data
url (str) – url of service
method (str) – HTTP method to use, POST for creation and PUT for update
headers (dictionary) – HTTP headers to use
timeout (str) – timeout of HTTP request
dryRun (boolean) – dryRun option to verify HTTP workflow
- Returns:
contents of the input data
- Return type:
object