Skip to content

Commit 9e3b77a

Browse files
Remove non-existent kwargs in ast.Call() call (#8711)
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). Co-authored-by: Vincent Donato <vincent@streamlit.io>
1 parent d421861 commit 9e3b77a

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)