jaysaville / sync-streamlit

Re-defined variable from outer scope PYL-W0621
Anti-pattern
Major
a year agoa year old
Redefining name 'f' from outer scope (line 18)
198
199            with st.expander('**View freeze frames:**'):
200                frame = st.number_input("View frames starting from choice", value=0, min_value=0, max_value=int(df.shape[0]), label_visibility='hidden')
201                def frame_url(f):202                    return f"https://storage.googleapis.com/sync_testinput/screencaps/{response['my_uuid']}/frame{f}.jpg"
203                a, b = st.columns(2)
204                with a: