Skip to content

Commit

Permalink
Bump the python-requirements group in /requirements with 1 update (#2811
Browse files Browse the repository at this point in the history
)
  • Loading branch information
davidism authored Nov 10, 2023
2 parents 946acfd + af893ea commit 96af88f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jinja2==3.1.2
# via sphinx
markupsafe==2.1.3
# via jinja2
mypy==1.6.1
mypy==1.7.0
# via -r typing.in
mypy-extensions==1.0.0
# via mypy
Expand Down
2 changes: 1 addition & 1 deletion requirements/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile typing.in
#
mypy==1.6.1
mypy==1.7.0
# via -r typing.in
mypy-extensions==1.0.0
# via mypy
Expand Down
6 changes: 2 additions & 4 deletions src/werkzeug/datastructures/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def __init__(
token: str | None = None,
):
self._type = auth_type.lower()
self._parameters: dict[str, str | None] = CallbackDict( # type: ignore[misc]
self._parameters: dict[str, str | None] = CallbackDict(
values, lambda _: self._trigger_on_update()
)
self._token = token
Expand Down Expand Up @@ -201,9 +201,7 @@ def parameters(self) -> dict[str, str | None]:

@parameters.setter
def parameters(self, value: dict[str, str]) -> None:
self._parameters = CallbackDict( # type: ignore[misc]
value, lambda _: self._trigger_on_update()
)
self._parameters = CallbackDict(value, lambda _: self._trigger_on_update())
self._trigger_on_update()

@property
Expand Down

0 comments on commit 96af88f

Please sign in to comment.