abacusai.function_logs

Classes

FunctionLogs

Logs from an invocation of a function.

Module Contents

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

Bases: abacusai.return_class.AbstractApiClass

Logs from an invocation of a function.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • function (str) – The function this is logging

  • stats (dict) – Statistics for the start and end time execution for this function

  • stdout (str) – Standard out logs

  • stderr (str) – Standard error logs

  • algorithm (str) – Algorithm name for this function

  • exception (UserException) – The exception stacktrace

function
stats
stdout
stderr
algorithm
exception
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict