Touch

Workspace.Touch(self, input: Any | None = None) → None

As Ignore() but for agenda output.

This method is handy for use in agendas in order to suppress warnings about not-produced output workspace variables.

What it does, in case the variable is initialized already, is: Nothing! In case the variable is not yet initialized, it is default initialized.

Author: Oliver Lemke

Parameters:

input (Any) – Variable to do nothing with. Defaults to create and/or use self.input. [OUT]