MCPcopy Create free account
hub / github.com/miguelgrinberg/python-socketio / get_namespaces

Method get_namespaces

src/socketio/base_manager.py:30–32  ·  view source on GitHub ↗

Return an iterable with the active namespace names.

(self)

Source from the content-addressed store, hash-verified

28 pass
29
30 def get_namespaces(self):
31 """Return an iterable with the active namespace names."""
32 return self.rooms.keys()
33
34 def get_participants(self, namespace, room):
35 """Return an iterable with the active participants in a room.

Callers 8

configMethod · 0.80
_eio_send_pingMethod · 0.80
configMethod · 0.80
_eio_send_pingMethod · 0.80
test_get_namespacesMethod · 0.80
test_get_namespacesMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_get_namespacesMethod · 0.64
test_get_namespacesMethod · 0.64