Skip to content

Commit

Permalink
Silence mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed Jun 13, 2024
1 parent 97e0a0d commit be9dcda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion baybe/campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class Campaign(SerialMixin):
wrapped into a :class:`baybe.objectives.single.SingleTargetObjective`."""

recommender: RecommenderProtocol = field(
factory=TwoPhaseMetaRecommender, validator=instance_of(RecommenderProtocol)
factory=TwoPhaseMetaRecommender,
validator=instance_of(RecommenderProtocol), # type: ignore[type-abstract]
)
"""The employed recommender"""

Expand Down

0 comments on commit be9dcda

Please sign in to comment.