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

Passing the link of empack_env_meta.json file #120

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

AnastasiaSliusar
Copy link
Contributor

@AnastasiaSliusar AnastasiaSliusar commented Sep 25, 2024

This PR is the part of the solution of https://github.com/QuantStack/qs.ai/issues/28
It includes next changes:

  • a new plugin that takes empack_env_meta from search url params and this parameter contains a link where empack_env_meta.json file is hosted.
  • This link is passed xeus-python during initialization of each kernel.

It should be used with emscripten-forge/pyjs#74 together

Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for starting this!

src/index.ts Outdated Show resolved Hide resolved
}
return empackEnvMetaLink;
getLink: async (kernel?: string) => {
const kernel_root_url = URLExt.join(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants