Skip to content

Commit

Permalink
Use .debug instead of ._debug on FastAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Feb 10, 2023
1 parent 148bcf5 commit 5f8375c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(
),
**extra: Any,
) -> None:
self._debug: bool = debug
self.debug: bool = debug
self.title = title
self.description = description
self.version = version
Expand Down

0 comments on commit 5f8375c

Please sign in to comment.