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

Why not export Objectives from the top-level autometrics module? #87

Open
brettimus opened this issue Sep 11, 2023 · 0 comments
Open

Why not export Objectives from the top-level autometrics module? #87

brettimus opened this issue Sep 11, 2023 · 0 comments

Comments

@brettimus
Copy link
Collaborator

Right now, to import and use Objectives, I need to write

from autometrics import autometrics, init
from autometrics.objectives import Objective, ObjectiveLatency, ObjectivePercentile

Could we just change this so you can import everything from the top-level module?

E.g.,

from autometrics import autometrics, init, Objective, ObjectiveLatency, ObjectivePercentile
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

No branches or pull requests

1 participant