MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / unstar_output

Function unstar_output

scripts/python_ui/streamlit.py:717–722  ·  view source on GitHub ↗

Remove an output from starred/favorites.

(log_index: int)

Source from the content-addressed store, hash-verified

715
716
717def unstar_output(log_index: int):
718 """Remove an output from starred/favorites."""
719 if 0 <= log_index < len(st.session_state.starred_outputs):
720 st.session_state.starred_outputs.pop(log_index)
721 # Save outputs after unstarring
722 save_outputs()
723
724
725def validate_input_content(input_text: str) -> Tuple[bool, str]:

Callers 1

mainFunction · 0.85

Calls 1

save_outputsFunction · 0.85

Tested by

no test coverage detected