build_queue_adapter

qcfractal.queue.build_queue_adapter(workflow_client, logger=None, **kwargs) → BaseAdapter[source]

Constructs a queue manager based off the incoming queue socket type.

Parameters
  • workflow_client (object) –

    A object wrapper for different distributed workflow types. The following input types are valid
    • Python Processes: “concurrent.futures.process.ProcessPoolExecutor”

    • Dask Distributed: “distributed.Client”

    • Fireworks: “fireworks.LaunchPad”

    • Parsl: “parsl.config.Config”

  • logger (logging.Logger, Optional. Default: None) – Logger to report to

  • **kwargs – Additional kwargs for the Adapter

Returns

ret – Returns a valid Adapter for the selected computational queue

Return type

Adapter