saealib.core.contracts.FeedbackContract#
- class saealib.core.contracts.FeedbackContract(*, accepted_channels, accepted_sources=frozenset({'true'}), completion='complete_batch', ordering='in_order', multiplicity='single', grouping='by_proposal')[source]#
Bases:
objectDeclare the feedback deliveries a component can consume.
- Parameters:
accepted_channels (frozenset[str])
accepted_sources (frozenset[str])
completion (str)
ordering (str)
multiplicity (str)
grouping (str)
Methods
Alias for |
|
Return whether a requirement is no wider than this contract. |
Method Details
- FeedbackContract.__init__(*, accepted_channels, accepted_sources=frozenset({'true'}), completion='complete_batch', ordering='in_order', multiplicity='single', grouping='by_proposal')#
- Parameters:
accepted_channels (frozenset[str])
accepted_sources (frozenset[str])
completion (str)
ordering (str)
multiplicity (str)
grouping (str)
- Return type:
None
- FeedbackContract.contains(requirement)[source]#
Alias for
contains_requirement().- Parameters:
requirement (FeedbackRequirement)
- Return type:
bool