Hey, @[email protected]. I was trying to find a way to customize what showed up in the Stream for microblog, when I found this code:
try:
from data.stream import ( # type: ignore # noqa: F401, E501
custom_stream_visibility_callback,
)
stream_visibility_callback = custom_stream_visibility_callback
It looks like there is supposed to be a way to customize it by writing this custom_stream_visibility_callback
.
I think what I'm supposed to do is create a file at data/stream.py
, and basically put the function in there, modeling it after the default_stream_visibility_callback
in app/customization.py
.
Am I understanding that correctly? I couldn't find any mention of this in the docs.