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

Put public utility items in the top-level namespace #395

Open
lengau opened this issue Jul 24, 2024 · 0 comments
Open

Put public utility items in the top-level namespace #395

lengau opened this issue Jul 24, 2024 · 0 comments
Labels
Enhancement New feature or request

Comments

@lengau
Copy link
Contributor

lengau commented Jul 24, 2024

What needs to get done

Instead of (for example):

from craft_application import util
util.get_host_architecture()

we should be able to do:

import craft_application
craft_application.get_host_architecture()

Why it needs to get done

canonical/charmcraft#1757 (comment)

@lengau lengau added the Enhancement New feature or request label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant