Skip to content

Unable to navigate to two page, one after another in a function #4096

Closed Answered by falkoschindler
07rohanraj asked this question in Q&A

You must be logged in to vote

You can copy the new clients() method into your code and use it:

from nicegui import Client

def clients(path: str) -> Iterator[Client]:
    for client in Client.instances.values():
        if client.page.path == path:
            yield client

Replies: 4 comments 9 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
7 replies
@07rohanraj

@falkoschindler

@07rohanraj

@falkoschindler

Answer selected by 07rohanraj
@07rohanraj

@falkoschindler

@07rohanraj

You must be logged in to vote
2 replies
@07rohanraj

@rodja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants