canonical / canonical/craft-application

Improve API naming and scoping

Open
#573 0 comments 0 reactions 1 assignee Claimed by @lengau View on GitHub
Dominant language
Python
Stars
14
Forks
29
Avg merge
2d 3h
Merged PRs (30d)
12

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.