View source on GitHub
|
A budget constraint on a channel.
schema.processors.budget_optimization_processor.ChannelConstraintAbs(
channel_name: str, abs_lowerbound: float, abs_upperbound: float
)
Constraint attributes in this dataclass are absolute values. Useful to represent resolved absolute constraint values in an output spec metadata.
Attributes | |
|---|---|
channel_name
|
The name of the channel. |
abs_lowerbound
|
A simple absolute lower bound value for a channel's spend. |
abs_upperbound
|
A simple absolute upper bound value for a channel's spend. |
Methods
to_proto
to_proto() -> budget_pb.ChannelConstraint
__eq__
__eq__(
other
)
Return self==value.
View source on GitHub