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

DHC: Workspace dependencies #104

Open
Tracked by #72
bmingles opened this issue Aug 14, 2024 · 0 comments
Open
Tracked by #72

DHC: Workspace dependencies #104

bmingles opened this issue Aug 14, 2024 · 0 comments
Assignees

Comments

@bmingles
Copy link
Collaborator

bmingles commented Aug 14, 2024

We want users to have a local DH workspace experience that feels familiar to other local python dev experiences. Part of this is being able to import modules from their workspace into other workspace modules.

  • Auto configuration of PYTHONPATH and / or any other defaults to allow workspace to behave as close to local python experience as possible. For DHE, this has some challenges for supporting python imports for other files in the workspace. Charles pointed me to #deephaven_enterprise.notebook.meta_import for how we do virtual python imports
  • Once a dependency module is imported, it won't get updated if changes are made to the dependency. Want to figure out a way to auto update these, or an explicit refresh preferably without a full server restart

Note that for servers not managed by the extension, we may not have direct access to the file paths from the extension. This will require users to manually configure PYTHONPATH, or we could possibly employ import hooks as a means to provide modules to the server from the vscode workspace

Links on python import management:

Links on import hooks:

@bmingles bmingles changed the title Once a dependency module is imported, it won't get updated if changes are made to the dependency. Want to figure out a way to auto update these, or an explicit refresh preferably without a full server restart. DHC: Workspace dependencies Aug 14, 2024
@bmingles bmingles self-assigned this Aug 14, 2024
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