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

[Feature]: Add exclude list to model reset #776

Open
sed-i opened this issue Nov 29, 2022 · 0 comments
Open

[Feature]: Add exclude list to model reset #776

sed-i opened this issue Nov 29, 2022 · 0 comments
Labels
wishlisted requested feature

Comments

@sed-i
Copy link
Contributor

sed-i commented Nov 29, 2022

Description

Currently, reset would entirely empty out a model.

For some integration tests it could be handy if the we could provide an include-list for removing (or exclude-list for retaining) apps and their relations.

Urgency

Casually wishlisting

Code I'd Like to Run

For example, given charms A -- B -- C -- D, it could be handy if

model.reset(retain=["B", "C"])

would leave us off with B -- C.

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

No branches or pull requests

1 participant