initialize_service

qcfractal.services.initialize_service(storage_socket, logger, service_input, tag=None, priority=None)[source]

Initializes a service from a API call.

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

  • logger – A logger for use by the service

  • service_input – The service to be initialized. tag : Optional Optional tag to user with the service. Defaults to None

  • priority – The priority of the service.

Returns

Returns an instantiated service

Return type

Service