MCPcopy
hub / github.com/reflex-dev/reflex / token_manager

Method token_manager

reflex/testing.py:678–689  ·  view source on GitHub ↗

Get the token manager for the app instance. Returns: The current token_manager attached to the app's EventNamespace.

(self)

Source from the content-addressed store, hash-verified

676 return driver
677
678 def token_manager(self) -> TokenManager:
679 """Get the token manager for the app instance.
680
681 Returns:
682 The current token_manager attached to the app's EventNamespace.
683 """
684 assert self.app_instance is not None
685 app_event_namespace = self.app_instance.event_namespace
686 assert app_event_namespace is not None
687 app_token_manager = app_event_namespace._token_manager
688 assert app_token_manager is not None
689 return app_token_manager
690
691 def poll_for_content(
692 self,

Callers 1

test_connection_bannerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected