Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created March 28, 2023 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/d4d0b28a19e0bae89f0b84cebd4d9988 to your computer and use it in GitHub Desktop.
Save exarkun/d4d0b28a19e0bae89f0b84cebd4d9988 to your computer and use it in GitHub Desktop.
from ..listeners import Listener
def _get_listeners() -> dict[str, Listener]:
return {
"tor": tor_provider,
"i2p": i2p_provider,
"foo": 123,
}
_LISTENERS: str = _get_listeners()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment