-
Notifications
You must be signed in to change notification settings - Fork 103
[REFACTOR] Make API exports explicit #876
Copy link
Copy link
Open
Labels
Effort > Serious 🐘Large, complex tasks requiring a few weeks to months of work.Large, complex tasks requiring a few weeks to months of work.Great First Contribution! 🌱Beginner friendly tickets with narrow scope and huge impact. Perfect to join our community!Beginner friendly tickets with narrow scope and huge impact. Perfect to join our community!Impact > Moderate 🔶User-visible but non-breaking change. Treated like a minor version bump (e.g., 0.6.5 → 0.7.0).User-visible but non-breaking change. Treated like a minor version bump (e.g., 0.6.5 → 0.7.0).Refactor 🔧Code level improvements that restructure existing logic without changing behavior.Code level improvements that restructure existing logic without changing behavior.
Milestone
Metadata
Metadata
Assignees
Labels
Effort > Serious 🐘Large, complex tasks requiring a few weeks to months of work.Large, complex tasks requiring a few weeks to months of work.Great First Contribution! 🌱Beginner friendly tickets with narrow scope and huge impact. Perfect to join our community!Beginner friendly tickets with narrow scope and huge impact. Perfect to join our community!Impact > Moderate 🔶User-visible but non-breaking change. Treated like a minor version bump (e.g., 0.6.5 → 0.7.0).User-visible but non-breaking change. Treated like a minor version bump (e.g., 0.6.5 → 0.7.0).Refactor 🔧Code level improvements that restructure existing logic without changing behavior.Code level improvements that restructure existing logic without changing behavior.
Type
Fields
Give feedbackNo fields configured for Feature.
Projects
Status
Backlog
The API imports are currently implicit, wildcard imports:
chainladder-python/chainladder/__init__.py
Lines 128 to 134 in 449b5c1
Citing PEP 20:
We should convert these to being explicit. In the process, we may find that some things might not need to be imported, or shouldn't. I would recommend using Pandas's
__init__.pyas a model:https://github.com/pandas-dev/pandas/blob/main/pandas/__init__.py