|
|
@ -81,14 +81,13 @@ class ContextService(mitogen.service.DeduplicatingService):
|
|
|
|
Return a Context referring to an established connection with the given
|
|
|
|
Return a Context referring to an established connection with the given
|
|
|
|
configuration, establishing a new connection as necessary.
|
|
|
|
configuration, establishing a new connection as necessary.
|
|
|
|
|
|
|
|
|
|
|
|
:param dict dct:
|
|
|
|
:param str method_name:
|
|
|
|
Parameters passed to `mitogen.master.Router.[method]()`.
|
|
|
|
The :class:`mitogen.parent.Router` connection method to use.
|
|
|
|
|
|
|
|
:param discriminator:
|
|
|
|
* The `method` key is popped from the dictionary and used to look
|
|
|
|
Mixed into the key used to select an existing connection, to allow
|
|
|
|
up the Mitogen connection method.
|
|
|
|
intentional duplicate connections to be created.
|
|
|
|
* The `discriminator` key is mixed into the key used to select an
|
|
|
|
:param dict kwargs:
|
|
|
|
existing connection, but popped from the list of arguments passed
|
|
|
|
Keyword arguments passed to `mitogen.master.Router.[method_name]()`.
|
|
|
|
to the connection method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:returns tuple:
|
|
|
|
:returns tuple:
|
|
|
|
Tuple of `(context, home_dir)`, where:
|
|
|
|
Tuple of `(context, home_dir)`, where:
|
|
|
|