You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# uses a randomly selected engines from the one matching the readonly tag (ie. replica1 or replica2)
82
+
```
83
+
84
+
The context behaves the same as a context from an Engine, ie. starting a transaction. To start a session instead, use `dispatcher.session(tag_name)`.
85
+
86
+
By default, if no engines match the given tag, it will fallback on the default. This can be changed using the `fallback` argument of the `EngineDispatcher` constructor.
87
+
Pass `False` to disable fallback or a tag name to fallback to a specific tag.
88
+
89
+
Use `dispatcher.disconnect_all()` to close all connections across all engines.
0 commit comments