Skip to content

Commit

Permalink
fix: weight return type (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz authored Oct 28, 2024
1 parent 04d1fff commit a9fb3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ceramic_cache/test/test_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_get_weights(
active=True,
description="Test",
)
scorer_weights = {"provider-1": "0.5", "provider-2": "0.5"}
scorer_weights = {"provider-1": 0.5, "provider-2": 0.5}
for provider, weight in scorer_weights.items():
WeightConfigurationItem.objects.create(
weight_configuration=config,
Expand Down

0 comments on commit a9fb3f7

Please sign in to comment.