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

Update API to allow summaries #3

Open
dosumis opened this issue Feb 25, 2021 · 1 comment
Open

Update API to allow summaries #3

dosumis opened this issue Feb 25, 2021 · 1 comment
Assignees

Comments

@dosumis
Copy link
Member

dosumis commented Feb 25, 2021

I've given up on the idea of bespoke filters & chose to provide the option of summary output instead.

Spec:
For get_instances & get_subclasses, remove the Filter option and add a optional boolean arg 'summary'.

This will require updating to the latest release. Please also note - one breaking change. get_instances on the API should be bound to vc.get_instances not vc.get_images

@dosumis
Copy link
Member Author

dosumis commented Feb 25, 2021

BTW - performance with summaries set to True is v.slow. I'm planning to refactor to fix this. Probably over the weekend, but it would be good to have it live now anyway

hkir-dev added a commit that referenced this issue Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants