Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc2ff08

Browse files
Remove non-existent kwargs in ast.Call() call
See https://docs.python.org/3.10/library/ast.html#abstract-grammar for a reference on the attributes `ast.Call` takes. A future version of mypy will give a type error for this code (python/typeshed#11880).
1 parent 1b73b44 commit fc2ff08

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • lib/streamlit/runtime/scriptrunner

lib/streamlit/runtime/scriptrunner/magic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ def _build_st_write_call(nodes):
171171
),
172172
args=nodes,
173173
keywords=[],
174-
kwargs=None,
175-
starargs=None,
176174
)
177175

178176

0 commit comments

Comments
 (0)