# DummyValve

class DummyValve(name: Union[str, NoneType] = None, mapping: dict = {})

A fake valve, used internally for testing.

WARNING

This component can be used in a real protocol, although it doesn't actually exist.

# Arguments

  • mapping: The mapping from components to their integer port numbers.
  • name: The name of the valve.

# Attributes

  • mapping: The mapping from components to their integer port numbers.
  • name: The name of the valve.
  • setting: The position of the valve as an int (mapped via mapping).