finesse.analysis.actions.temporary.TemporaryParameters

Overview

class finesse.analysis.actions.temporary.TemporaryParameters(action, *, include=None, exclude=None)[source]

Bases: Action

An action that will revert any changed parameters back to their values before this action was called. Options exist to include or exclude certain Parameters from this reversion. This action does not generate any Solution.

Parameters
actionAction

Action to perform followed by reverting requested Parameters in the model

include[iterable|str], optional

Parameters that should be included.

If a single string is given it can be a Unix file style wildcard (See fnmatch). A value of None means everything is included.

If an iterable is provided it must be a list of names or Parameter objects.

exclude[iterable|str], optional

Parameters that should not be included.

If a single string is given it can be a Unix file style wildcard (See fnmatch). A value of None means nothing is excluded.

If an iterable is provided it must be a list of names or Parameter objects.