-
-
Notifications
You must be signed in to change notification settings - Fork 575
Make panel and panel.io lazy imports #7208
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
Draft
hoxbro
wants to merge
43
commits into
main
Choose a base branch
from
lazy_import
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 23 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
ccd6e00
Block imports and remove Pandas
hoxbro 31b2cdb
Merge branch 'main' into speed_import
hoxbro 0bacdd4
Lazy import modules
hoxbro 7c00952
Don't set curdoc during init of _config
hoxbro 9c81c68
Update chat imports
hoxbro ab7b6e3
Lazy import bokeh and numpy in key modules
hoxbro 5f8f9a4
Switch to BaseException as pytest.fails raise BaseException
hoxbro 67f9456
Wait importing widgets in param.py
hoxbro e74c57c
fix imports
hoxbro 1ef4784
Rename
hoxbro ffbf602
Make panel and panel.io lazy imports
hoxbro 5ca6521
Update depends logic
hoxbro 911c044
Add test
hoxbro fc32f61
Lazily work-around interact docs
hoxbro 723900f
Import template
hoxbro 7d66b7f
Add theme
hoxbro 886d5f8
Fix init serve
hoxbro 0f9044d
Wait to load panel.io.state
hoxbro 82b3972
Clean up imports
hoxbro dcc3b57
Lazy import layout
hoxbro 8699984
Lazy import widgets
hoxbro 0dfaab5
Lazy import panes
hoxbro 0b5bd22
Move imports which can't be imported outside
hoxbro 5db4b75
Update panel/__init__.py
hoxbro 5748b5e
Update imports
hoxbro 8286744
Make it possible to add custom mappings
hoxbro 2ed8b8d
Merge branch 'speed_import' into lazy_import
hoxbro 4fe1298
Add test for lazy
hoxbro 53f81a7
Add module walk for compile
hoxbro e79e6e6
Update to work with nested lazy
hoxbro 5850d34
Move io import down into methods in panel/links.py
hoxbro 09063d7
Don't import numpy and asyncio in panel/util
hoxbro bc02bc9
Wait with importing concurrent.futures
hoxbro 8400206
Tuple not list
hoxbro a943fda
Add no_lazy import
hoxbro a2e2541
Merge branch 'main' into lazy_import
hoxbro 0a6d5dd
Misc updates
hoxbro e03ac87
Switch to lazy_loader
hoxbro 97dbe54
Swith to environment variable to force import
hoxbro ce61860
Update import test
hoxbro cea40cb
Update loader files
hoxbro bd407ad
Run pre-commit
hoxbro 85670fe
Merge branch 'main' into lazy_import
hoxbro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.