The submit_local_job.py module#
Summary#
Send the job-configuration to the REST endpoint. |
|
Description#
Submit an HFSS job to the local job-manager service. Job Submission is done via REST API asynchronously. The service must be running locally (default: localhost:8080) prior to executing this script. To start the service, run this command in another terminal:
python -m pyedb.workflows.job_manager.backend.job_manager_handler
Usage examples#
# Get help python submit_job.py –help
# Submit with explicit values python submit_local_job.py –host 127.0.0.1 –port 8080 –project-path “D:Temptest_jobstest1.aedb” –num-cores 8
# Use defaults (localhost:8080, 8 cores) python submit_local_job.py –project-path “D:Temptest_jobstest1.aedb”
Module detail#
- async submit_local_job.submit_job(*, host: str, port: int, project_path: str, num_cores: int) None#
Send the job-configuration to the REST endpoint.
- submit_local_job.parse_cli() argparse.Namespace#
- submit_local_job.logger#