construct_service

qcfractal.services.construct_service(storage_socket, logger, data)[source]

Initializes a service from a JSON blob.

Parameters
  • storage_socket (StorageSocket) – A StorageSocket to the currently active database

  • logger – A logger for use by the service

  • data (dict) – The associated JSON blob with the service

Returns

Returns an instantiated service

Return type

Service