Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include a pagination example #713

Open
jonathanbeber opened this issue Oct 21, 2022 · 0 comments
Open

Include a pagination example #713

jonathanbeber opened this issue Oct 21, 2022 · 0 comments

Comments

@jonathanbeber
Copy link

Is your feature request related to a problem? Please describe.

When a ContainerView is created, is there a way to use pagination? For example

>>> container = service_instance.content.viewManager.CreateContainerView(
   service_instance.content.rootFolder, [vim.HostSystem], True
)
>>> len(container)
199

In a busy server, always returns 199, even with more resources in there.

Describe the solution you'd like

If there's pagination, we should have an example for that. At least on how to list more than 199 items.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant