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

Add extension entry point #3738

Closed
jmosbacher opened this issue Aug 2, 2022 · 1 comment
Closed

Add extension entry point #3738

jmosbacher opened this issue Aug 2, 2022 · 1 comment
Labels
api Related to Panel's API

Comments

@jmosbacher
Copy link
Contributor

I am currently writing an extension package for Panel would like to make some of the functionality loaded when panel.extension() is called. Unfortunately there is no entry point for this, and I'm not too happy with the alternatives of having my own duplicitous extension() function or having users import my package just for the extra Pane to be registered and never accessing it, as their IDEs will constantly remind them of this import without usage.

Would the maintainers be open to adding such an entry point group?
I opened a draft PR #3737 with how I would imagine the implementation, but I can of course change it to some other implementation based on feedback.

@philippjfr philippjfr added the api Related to Panel's API label Aug 8, 2022
@philippjfr
Copy link
Member

Sorry for the slow response, I've been out traveling. Very much open to this idea and the approach you submitted in your PR. I'll review more closely and then go from there.

@philippjfr philippjfr added this to the Version 0.14.0 milestone Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to Panel's API
Projects
None yet
Development

No branches or pull requests

2 participants