:py:mod:`abacusai.refresh_pipeline_run`
=======================================

.. py:module:: abacusai.refresh_pipeline_run


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   abacusai.refresh_pipeline_run.RefreshPipelineRun




.. py:class:: RefreshPipelineRun(client, refreshPipelineRunId=None, refreshPolicyId=None, createdAt=None, startedAt=None, completedAt=None, status=None, refreshType=None, datasetVersions=None, modelVersions=None, predictionMetricVersions=None, deploymentVersions=None, batchPredictions=None, refreshPolicy={})

   Bases: :py:obj:`abacusai.return_class.AbstractApiClass`

   A refresh policy run or a project refresh run.

   :param client: An authenticated API Client instance
   :type client: ApiClient
   :param refreshPipelineRunId: The unique identifier for the refresh pipeline run
   :type refreshPipelineRunId: str
   :param refreshPolicyId: Populated when the run was triggered by a refresh policy
   :type refreshPolicyId: str
   :param createdAt: The time when this refresh pipeline run was created
   :type createdAt: str
   :param startedAt: The time when the refresh pipeline run was started
   :type startedAt: str
   :param completedAt: The time when the refresh pipeline run was completed
   :type completedAt: is-8601 string
   :param status: The status of the refresh pipeline run
   :type status: str
   :param refreshType: The type of refresh policy to be run
   :type refreshType: str
   :param datasetVersions: Comma separated list of Dataset version IDs that this refresh pipeline run is monitoring
   :type datasetVersions: list of string identifiers
   :param modelVersions: Comma separated list of Model version IDs that this refresh pipeline run is monitoring
   :type modelVersions: list of string identifiers
   :param predictionMetricVersions:
   :type predictionMetricVersions: list
   :param deploymentVersions: Comma separated list of Deployment version IDs that this refresh pipeline run is monitoring
   :type deploymentVersions: list of string identifiers
   :param batchPredictions: Comma separated list of batch predictionn IDs that this refresh pipeline run is monitoring
   :type batchPredictions: list of string identifiers
   :param refreshPolicy:
   :type refreshPolicy: RefreshPolicy

   .. py:method:: __repr__()

      Return repr(self).


   .. py:method:: to_dict()

      Get a dict representation of the parameters in this class

      :returns: The dict value representation of the class parameters
      :rtype: dict


   .. py:method:: refresh()

      Calls describe and refreshes the current object's fields

      :returns: The current object
      :rtype: RefreshPipelineRun


   .. py:method:: describe()

      Retrieve a single refresh pipeline run

      :param refresh_pipeline_run_id: The unique ID associated with this refresh pipeline_run
      :type refresh_pipeline_run_id: str

      :returns: A refresh pipeline run object
      :rtype: RefreshPipelineRun


   .. py:method:: wait_for_complete(timeout=None)

      A waiting call until refresh pipeline run has completed.

      :param timeout: The waiting time given to the call to finish, if it doesn't finish by the allocated time, the call is said to be timed out.
      :type timeout: int, optional


   .. py:method:: get_status()

      Gets the status of the refresh pipeline run.

      :returns: A string describing the status of a refresh pipeline run (pending, complete, etc.).
      :rtype: str



