client
run(input_file, parameters)
Run a client that tries to connect the url given in parameters. The client will do a Post operation with the parameters given in parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_file
|
Path
|
Path to the demographics file. |
required |
parameters
|
dict
|
Dictionary containing the server url and the parameters for model calculation. |
required |
Source code in emod_api/migration/client/client.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|