TypeError: ArrowMixin.table() got an unexpected keyword argument 'on_select'

I’m getting the exact same error as Dataframe on_select is unexpected keyword but I’m using streamlit>=1.46.0

i.e.

event = st.dataframe(
df,
on_select=“rerun”,
selection_mode=“single-row”,
)

errors with TypeError: ArrowMixin.table() got an unexpected keyword argument 'on_select'

df is a pl.DataFrame., but converting to a pandas dataframe results in the exact same error?