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

Improve API naming and scoping #573

Open
sergiusens opened this issue Dec 2, 2024 · 0 comments
Open

Improve API naming and scoping #573

sergiusens opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
Enhancement New feature or request

Comments

@sergiusens
Copy link
Collaborator

What needs to get done

Do not be repetitive on names

craft_application.services.package.PackageService

Can be refactored to

craft_application.services.package.Package

or

craft_application.services._package.Package

and accessed as

craft_application.services.Package

or

from craft_application import services
services.Package

Why it needs to get done

  • Easier use of the API
  • Less repetition
  • Better Scoping
@sergiusens sergiusens added the Enhancement New feature or request label Dec 2, 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

2 participants