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

Configurations extraction #23

Open
ssirag opened this issue Nov 16, 2023 · 4 comments
Open

Configurations extraction #23

ssirag opened this issue Nov 16, 2023 · 4 comments
Labels
question Further information is requested

Comments

@ssirag
Copy link

ssirag commented Nov 16, 2023

I'm trying to use the library to export the full list of active configs, but I'm only getting a subset. How can I get a complete dump of all configurations for a specified company?

@ssirag
Copy link
Author

ssirag commented Nov 16, 2023

I've reviewed the pageSize limits referenced, but even with pageSize 1000 I only get 25 items at a time.

@EMoonArchiTech
Copy link
Contributor

EMoonArchiTech commented Nov 20, 2023

Hi ssirag, I've managed to do this for my own environment with no issue. Can you share the section of the code you're using to pull the CI's?

See my own below.

manage_api_client = ConnectWiseManageAPIClient(...)

config_search = manage_api_client.company.configurations.paginated(1, 1000)

# and then later iterate through items in those pages like so:

config_list = []
for config in config_search.all():
    config_list.append(config)

@Yoshify
Copy link
Contributor

Yoshify commented Nov 22, 2023

Unfortunately I am also unable to replicate this issue - @ssirag, could you perhaps share your code or some information about your environment?

@Yoshify Yoshify added the question Further information is requested label Nov 22, 2023
@EMoonArchiTech
Copy link
Contributor

Maybe we should close this one off for inactivity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants