File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7404,9 +7404,11 @@ def name(self) -> str:
74047404 def init_client_plugin (self , next : Plugin ) -> None :
74057405 """Initialize this plugin in the plugin chain.
74067406
7407- This method sets up the chain of responsibility pattern by storing a reference
7407+ This method sets up the chain of responsibility pattern by providing a reference
74087408 to the next plugin in the chain. It is called during client creation to build
74097409 the plugin chain. Note, this may be called twice in the case of :py:meth:`connect`.
7410+ Implementations should store this reference and call the corresponding method
7411+ of the next plugin on method calls.
74107412
74117413 Args:
74127414 next: The next plugin in the chain to delegate to.
Original file line number Diff line number Diff line change @@ -38,9 +38,10 @@ def name(self) -> str:
3838 def init_worker_plugin (self , next : Plugin ) -> None :
3939 """Initialize this plugin in the plugin chain.
4040
41- This method sets up the chain of responsibility pattern by storing a reference
41+ This method sets up the chain of responsibility pattern by providing a reference
4242 to the next plugin in the chain. It is called during worker creation to build
43- the plugin chain.
43+ the plugin chain. Implementations should store this reference and call the corresponding method
44+ of the next plugin on method calls.
4445
4546 Args:
4647 next: The next plugin in the chain to delegate to.
You can’t perform that action at this time.
0 commit comments