stilt.Receptor.from_dict#

classmethod Receptor.from_dict(d)[source]#

Build a receptor from a dict made by to_dict().

Raises:

ValueError – If the dict has no "type" key or names an unknown type.

Return type:

Receptor

Parameters:

d (dict[str, object])