Skip to content

Commit c5042d5

Browse files
committed
yet another minor fix
1 parent c29ef31 commit c5042d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/service-library/tests/test_celery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ class MyFilter(OwnerMetadata):
9494
MyFilter(owner="UPPER_CASE", extra_field="value")
9595

9696
class MyNextFilter(OwnerMetadata):
97-
task_owner: Annotated[
97+
owner: Annotated[
9898
str, StringConstraints(strip_whitespace=True, pattern=r"^the_task_owner$")
9999
]
100100

101101
with pytest.raises(pydantic.ValidationError):
102-
MyNextFilter(task_owner="wrong_owner")
102+
MyNextFilter(owner="wrong_owner")

0 commit comments

Comments
 (0)