Skip to content

Commit

Permalink
Bugfix: wrong default argument for `Environment.overlay(enable_async)…
Browse files Browse the repository at this point in the history
…` parameter
  • Loading branch information
SamyCookie authored Dec 19, 2024
1 parent d680a95 commit 438d341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jinja2/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def overlay(
cache_size: int = missing,
auto_reload: bool = missing,
bytecode_cache: t.Optional["BytecodeCache"] = missing,
enable_async: bool = False,
enable_async: bool = missing,
) -> "Environment":
"""Create a new overlay environment that shares all the data with the
current environment except for cache and the overridden attributes.
Expand Down

0 comments on commit 438d341

Please sign in to comment.