Action: Debugger Action Class

Description Methods

Description

Base class for action, which is to be invoked when a rule fires. Offers 'serialize' function to convert action parameters to a string dictionary.

Methods

Public methods


Method new()

This class is not meant to be initialized directly. Accepts dictionary of action parameters and drops keys whose values are 'None'.

Usage
Action$new(...)
Arguments
...

: Dictionary of action parameters.


Method serialize()

Serialize the action parameters as a string dictionary.

Usage
Action$serialize()
Returns

Action parameters serialized as a string dictionary.


Method format()

format class

Usage
Action$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
Action$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-debugger documentation built on Jan. 20, 2022, 5:49 p.m.