abacusai.prediction_operator_version
====================================

.. py:module:: abacusai.prediction_operator_version


Classes
-------

.. autoapisummary::

   abacusai.prediction_operator_version.PredictionOperatorVersion


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

.. py:class:: PredictionOperatorVersion(client, predictionOperatorId=None, predictionOperatorVersion=None, createdAt=None, updatedAt=None, sourceCode=None, memory=None, useGpu=None, featureGroupIds=None, featureGroupVersions=None, status=None, error=None, codeSource={})

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


   A prediction operator version.

   :param client: An authenticated API Client instance
   :type client: ApiClient
   :param predictionOperatorId: The unique identifier of the prediction operator.
   :type predictionOperatorId: str
   :param predictionOperatorVersion: The unique identifier of the prediction operator version.
   :type predictionOperatorVersion: str
   :param createdAt: Date and time at which the prediction operator was created.
   :type createdAt: str
   :param updatedAt: Date and time at which the prediction operator was updated.
   :type updatedAt: str
   :param sourceCode: Python code used to make the prediction operator.
   :type sourceCode: str
   :param memory: Memory in GB specified for the prediction operator version.
   :type memory: int
   :param useGpu: Whether this prediction operator version is using gpu.
   :type useGpu: bool
   :param featureGroupIds: A list of Feature Group IDs used for initializing.
   :type featureGroupIds: list
   :param featureGroupVersions: A list of Feature Group version IDs used for initializing.
   :type featureGroupVersions: list
   :param status: The current status of the prediction operator version.
   :type status: str
   :param error: The error message if the status failed.
   :type error: str
   :param codeSource: If a python model, information on the source code.
   :type codeSource: CodeSource


   .. py:attribute:: prediction_operator_id
      :value: None



   .. py:attribute:: prediction_operator_version
      :value: None



   .. py:attribute:: created_at
      :value: None



   .. py:attribute:: updated_at
      :value: None



   .. py:attribute:: source_code
      :value: None



   .. py:attribute:: memory
      :value: None



   .. py:attribute:: use_gpu
      :value: None



   .. py:attribute:: feature_group_ids
      :value: None



   .. py:attribute:: feature_group_versions
      :value: None



   .. py:attribute:: status
      :value: None



   .. py:attribute:: error
      :value: None



   .. py:attribute:: code_source


   .. py:attribute:: deprecated_keys


   .. py:method:: __repr__()


   .. 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:: delete()

      Delete a prediction operator version.

      :param prediction_operator_version: The unique ID of the prediction operator version.
      :type prediction_operator_version: str



