feat: implement priority_weighted_plus_percent pricing algorithm
This commit is contained in:
@@ -40,7 +40,7 @@ class WebsiteGroupBinding(Base):
|
||||
target_group_name: Mapped[str] = mapped_column(String(255), default="")
|
||||
source_groups_json: Mapped[str] = mapped_column(Text, default="[]")
|
||||
percent: Mapped[str] = mapped_column(String(32), default="0")
|
||||
algorithm: Mapped[str] = mapped_column(String(64), default="max_plus_percent")
|
||||
algorithm: Mapped[str] = mapped_column(String(64), default="priority_weighted_plus_percent")
|
||||
enabled: Mapped[bool] = mapped_column(Boolean, default=True)
|
||||
created_at: Mapped[datetime] = mapped_column(DateTime, default=lambda: datetime.now(timezone.utc))
|
||||
updated_at: Mapped[datetime] = mapped_column(
|
||||
|
||||
Reference in New Issue
Block a user