-
Notifications
You must be signed in to change notification settings - Fork 21
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
Review public APIs (make sure they are "Pythonic") #101
Comments
The biggest issue is see here is that the module structure is too deeply nested. I have no hard data on this, but in my experience one should be able to import 80-90% of the code that is needed for most use cases from Some examples:
If needed, additional internal structure can be handled via underscore-prefixed modules to signal that you should not import these directly. The other Java-ism I am seeing is the |
@federicobond the above sounds right to me. Because this is an issue of style, I'd love to hear some concensus from others. cc @hlipsig @matthewelwell @jamescarr @tcarrio @open-feature/sdk-python-approvers @open-feature/sdk-python-maintainers |
Agreed. |
Sounds like a nice change to me 👍. |
Yep, agree. |
@federicobond should we close this? |
Yes, I find no more directly actionable issues here. |
We know some of the internals of the SDK are a bit "Java-y"; these can be refactored later. However, before a 1.0 we need to make sure the public APIs are idiomatic to ensure we don't regret or design choices post-1.0.
Definition of done:
The text was updated successfully, but these errors were encountered: