Skip to content

Commit

Permalink
Update kernelbase.py
Browse files Browse the repository at this point in the history
Add default value to silent parameter. Aligns with Jupyter_core.
  • Loading branch information
Haadem authored Jan 27, 2024
1 parent 93a63fb commit 2b09bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ async def execute_request(self, stream, ident, parent):
try:
content = parent["content"]
code = content["code"]
silent = content["silent"]
silent = content.get("silent", False)
store_history = content.get("store_history", not silent)
user_expressions = content.get("user_expressions", {})
allow_stdin = content.get("allow_stdin", False)
Expand Down

0 comments on commit 2b09bb1

Please sign in to comment.