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')[ソース]#

ベースクラス: object

Declare the feedback deliveries a component can consume.

パラメータ:
  • accepted_channels (frozenset[str])

  • accepted_sources (frozenset[str])

  • completion (str)

  • ordering (str)

  • multiplicity (str)

  • grouping (str)

Methods

__init__

contains

Alias for contains_requirement().

contains_requirement

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')#
パラメータ:
  • accepted_channels (frozenset[str])

  • accepted_sources (frozenset[str])

  • completion (str)

  • ordering (str)

  • multiplicity (str)

  • grouping (str)

戻り値の型:

None

FeedbackContract.contains(requirement)[ソース]#

Alias for contains_requirement().

パラメータ:

requirement (FeedbackRequirement)

戻り値の型:

bool

FeedbackContract.contains_requirement(requirement)[ソース]#

Return whether a requirement is no wider than this contract.

パラメータ:

requirement (FeedbackRequirement)

戻り値の型:

bool