finam.tools.FromInput#

class finam.tools.FromInput(name, fields=None)[source]#

Bases: InfoSource

Info transfer rule from an input.

See Component.create_connector() for usage details.

Parameters:
  • name (str) – Name of the input to take info from

  • fields (list of str, optional) – Info fields to take from the input. Takes all fields if this is empty.