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

Restructure penna-api #95

Merged
merged 8 commits into from
Mar 22, 2024
Merged

Restructure penna-api #95

merged 8 commits into from
Mar 22, 2024

Conversation

hkupty
Copy link
Owner

@hkupty hkupty commented Mar 22, 2024

This should make the code more well organized and structured.

Contains a few minor tweaks on the interfaces and also adds more tests.

This commit structures the API in the following way:
- the `penna.api.config` namespace should only contain interfaces;
- the `penna.api.models` will contain records/classes that are shared;
- any concrete implementation will be hidden in
  `penna.api.config.internal`.
This is a fair trade-off: The API remains agnostic and simple,
penna.core provides runtime with the capability of tweaking the logger
levels.
@hkupty hkupty merged commit 4fe7ceb into dev/0.8 Mar 22, 2024
2 checks passed
@hkupty hkupty deleted the improve-tests branch March 22, 2024 11:23
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

Successfully merging this pull request may close these issues.

1 participant