Dan Jones @[email protected]

Husband, Father, Software Engineer (PHP, go, etc.). Lover of Star Trek and anime.

Looking for other things to do, such as writing, acting, voice acting, but not really finding the time for it. Maybe when my kids are a little older, I'll get back on stage.

Feeling pretty bleak about the future of the United States. #NeverTrump

Feel free to follow. I may follow back if we seem to have similar interests.

#BlackLivesMatter #TransRightsAreHumanRights #StayWoke

Other interests: #Parenting #StarTrek #Writing #Theater #anime #PHP #golang #Programming #WebDevelopment #genealogy #ScienceFiction #DadJokes

My Links

links.danielrayjones.com

Pronouns

he/him/his

XMPP

[email protected]

Mastodon account

fosstodon.org/@danjones000

LinkedIn

linkedin.com/in/danjones000

Résumé

danielrayjones.com

  • Notes
  • Articles
  • Followers 226
  • Following 306
  • Remote follow
Dan Jones's avatar
Dan Jones
@[email protected]

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.

  • permalink
  • interact from your instance
  • 2 years ago
Powered by microblog.pub 2.0.0+9c8693ea and the ActivityPub protocol. Admin.