abacusai.function_logs
======================

.. py:module:: abacusai.function_logs


Classes
-------

.. autoapisummary::

   abacusai.function_logs.FunctionLogs


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

.. py:class:: FunctionLogs(client, function=None, stats=None, stdout=None, stderr=None, algorithm=None, exception={})

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


   Logs from an invocation of a function.

   :param client: An authenticated API Client instance
   :type client: ApiClient
   :param function: The function this is logging
   :type function: str
   :param stats: Statistics for the start and end time execution for this function
   :type stats: dict
   :param stdout: Standard out logs
   :type stdout: str
   :param stderr: Standard error logs
   :type stderr: str
   :param algorithm: Algorithm name for this function
   :type algorithm: str
   :param exception: The exception stacktrace
   :type exception: UserException


   .. py:attribute:: function


   .. py:attribute:: stats


   .. py:attribute:: stdout


   .. py:attribute:: stderr


   .. py:attribute:: algorithm


   .. py:attribute:: exception


   .. py:attribute:: deprecated_keys


   .. 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



