qcfractal/interface/client.py
def add_service(
        self,  # lgtm [py/similar-function]
        service: Union[List["GridOptimizationInput"], List["TorsionDriveInput"]],
        tag: Optional[str] = None,
        priority: Optional[str] = None,
        full_return: bool = False,
    ) -> "ComputeResponse":
        """Adds a new service to the service queue.

        Parameters
        ----------
        service : Union[GridOptimizationInput, TorsionDriveInput]
            An available service input
        tag : Optional[str], optional
            The compute tag to add the service under.
        priority : Optional[str], optional
            The priority of the job within the compute queue.
        full_return : bool, optional
            Returns the full server response if True that contains additional metadata.

        Returns
        -------
        ComputeResponse
            An object that contains the submitted ObjectIds of the new service. This object has the following fields:
              - ids: The ObjectId's of the task in the order of input molecules
              - submitted: A list of ObjectId's that were submitted to the compute queue
              - existing: A list of ObjectId's of tasks already in the database
        """
        payload = {"meta": {"tag": tag, "priority": priority}, "data": service}
        return self._automodel_request("service_queue", "post", payload, full_return=full_return)
Adds a new service to the service queue.

        Parameters
        ----------
        service : Union[GridOptimizationInput, TorsionDriveInput]
            An available service input
        tag : Optional[str], optional
            The compute tag to add the service under.
        priority : Optional[str], optional
            The priority of the job within the compute queue.
        full_return : bool, optional
            Returns the full server response if True that contains additional metadata.

        Returns
        -------
        ComputeResponse
            An object that contains the submitted ObjectIds of the new service. This object has the following fields:
              - ids: The ObjectId's of the task in the order of input molecules
              - submitted: A list of ObjectId's that were submitted to the compute queue
              - existing: A list of ObjectId's of tasks already in the database
        
Adds a new service to the service queue.
Parameters

service : Union[GridOptimizationInput, TorsionDriveInput]
An available service input
tag : Optional[str], optional
The compute tag to add the service under.
priority : Optional[str], optional
The priority of the job within the compute queue.
full_return : bool, optional
Returns the full server response if True that contains additional metadata.

Returns

ComputeResponse
An object that contains the submitted ObjectIds of the new service. This object has the following fields:
ids: The ObjectId's of the task in the order of input molecules
submitted: A list of ObjectId's that were submitted to the compute queue
existing: A list of ObjectId's of tasks already in the database
Adds a new service to the service queue . Parameters service : Union [ GridOptimizationInput TorsionDriveInput ] An available service input tag : Optional [ str ] optional The compute tag to add the service under . priority : Optional [ str ] optional The priority of the job within the compute queue . full_return : bool optional Returns the full server response if True that contains additional metadata . Returns ComputeResponse An object that contains the submitted ObjectIds of the new service . This object has the following fields : ids : The ObjectId ' s of the task in the order of input molecules submitted : A list of ObjectId ' s that were submitted to the compute queue existing : A list of ObjectId ' s of tasks already in the database
def add_service(
        self,  
        service: Union[List["GridOptimizationInput"], List["TorsionDriveInput"]],
        tag: Optional[str] = None,
        priority: Optional[str] = None,
        full_return: bool = False,
    ) -> "ComputeResponse":
        payload = {"meta": {"tag": tag, "priority": priority}, "data": service}
        return self._automodel_request("service_queue", "post", payload, full_return=full_return)
def add_service ( self , service : Union [ List [ "GridOptimizationInput" ] , List [ "TorsionDriveInput" ] ] , tag : Optional [ str ] = None , priority : Optional [ str ] = None , full_return : bool = False , ) -> "ComputeResponse" : payload = { "meta" : { "tag" : tag , "priority" : priority } , "data" : service } return self . _automodel_request ( "service_queue" , "post" , payload , full_return = full_return )
Adds a new service to the service queue.
Adds a new service to the service queue .
# lgtm [py/similar-function] """Adds a new service to the service queue.

        Parameters
        ----------
        service : Union[GridOptimizationInput, TorsionDriveInput]
            An available service input
        tag : Optional[str], optional
            The compute tag to add the service under.
        priority : Optional[str], optional
            The priority of the job within the compute queue.
        full_return : bool, optional
            Returns the full server response if True that contains additional metadata.

        Returns
        -------
        ComputeResponse
            An object that contains the submitted ObjectIds of the new service. This object has the following fields:
              - ids: The ObjectId's of the task in the order of input molecules
              - submitted: A list of ObjectId's that were submitted to the compute queue
              - existing: A list of ObjectId's of tasks already in the database
        """
self
service
Union[List["GridOptimizationInput"], List["TorsionDriveInput"]]
tag
Optional[str]
priority
Optional[str]
full_return
bool