Skip to content

Commit 4236a89

Browse files
JelleZijlstravdonato
authored andcommitted
Remove non-existent kwargs in ast.Call() call (streamlit#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 0fbbf4d commit 4236a89

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)