nox/sessions.py
def notify(
        self,
        target: "Union[str, SessionRunner]",
        posargs: Optional[Iterable[str]] = None,
    ) -> None:
        """Place the given session at the end of the queue.

        This method is idempotent; multiple notifications to the same session
        have no effect.

        A common use case is to notify a code coverage analysis session
        from a test session::

            @nox.session
            def test(session):
                session.run("pytest")
                session.notify("coverage")

            @nox.session
            def coverage(session):
                session.run("coverage")

        Now if you run `nox -s test`, the coverage session will run afterwards.

        Args:
            target (Union[str, Callable]): The session to be notified. This
                may be specified as the appropriate string (same as used for
                ``nox -s``) or using the function object.
            posargs (Optional[Iterable[str]]): If given, sets the positional
                arguments *only* for the queued session. Otherwise, the
                standard globally available positional arguments will be
                used instead.
        """
        if posargs is not None:
            posargs = list(posargs)
        self._runner.manifest.notify(target, posargs)
Place the given session at the end of the queue.

        This method is idempotent; multiple notifications to the same session
        have no effect.

        A common use case is to notify a code coverage analysis session
        from a test session::

            @nox.session
            def test(session):
                session.run("pytest")
                session.notify("coverage")

            @nox.session
            def coverage(session):
                session.run("coverage")

        Now if you run `nox -s test`, the coverage session will run afterwards.

        Args:
            target (Union[str, Callable]): The session to be notified. This
                may be specified as the appropriate string (same as used for
                ``nox -s``) or using the function object.
            posargs (Optional[Iterable[str]]): If given, sets the positional
                arguments *only* for the queued session. Otherwise, the
                standard globally available positional arguments will be
                used instead.
        
Place the given session at the end of the queue.
This method is idempotent; multiple notifications to the same session
have no effect.

A common use case is to notify a code coverage analysis session
from a test session:.





Now if you run `nox -s test`, the coverage session will run afterwards.
Place the given session at the end of the queue . This method is idempotent ; multiple notifications to the same session have no effect . A common use case is to notify a code coverage analysis session from a test session : . Now if you run ` nox - s test ` the coverage session will run afterwards .
def notify(
        self,
        target: "Union[str, SessionRunner]",
        posargs: Optional[Iterable[str]] = None,
    ) -> None:
        if posargs is not None:
            posargs = list(posargs)
        self._runner.manifest.notify(target, posargs)
def notify ( self , target : "Union[str, SessionRunner]" , posargs : Optional [ Iterable [ str ] ] = None , ) -> None : if posargs is not None : posargs = list ( posargs ) self . _runner . manifest . notify ( target , posargs )
Place the given session at the end of the queue.
Place the given session at the end of the queue .
"""Place the given session at the end of the queue.

        This method is idempotent; multiple notifications to the same session
        have no effect.

        A common use case is to notify a code coverage analysis session
        from a test session::

            @nox.session
            def test(session):
                session.run("pytest")
                session.notify("coverage")

            @nox.session
            def coverage(session):
                session.run("coverage")

        Now if you run `nox -s test`, the coverage session will run afterwards.

        Args:
            target (Union[str, Callable]): The session to be notified. This
                may be specified as the appropriate string (same as used for
                ``nox -s``) or using the function object.
            posargs (Optional[Iterable[str]]): If given, sets the positional
                arguments *only* for the queued session. Otherwise, the
                standard globally available positional arguments will be
                used instead.
        """
self
target
"Union[str, SessionRunner]"
The session to be notified. This
may be specified as the appropriate string (same as used for
``nox -s``) or using the function object.
The session to be notified . This may be specified as the appropriate string ( same as used for ` ` nox - s ` ` ) or using the function object .
posargs
Optional[Iterable[str]]
If given, sets the positional
arguments *only* for the queued session. Otherwise, the
standard globally available positional arguments will be
used instead.
If given sets the positional arguments * only * for the queued session . Otherwise the standard globally available positional arguments will be used instead .