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

Improve the way ehrql code is made available #84

Open
rebkwok opened this issue Dec 11, 2024 · 0 comments
Open

Improve the way ehrql code is made available #84

rebkwok opened this issue Dec 11, 2024 · 0 comments

Comments

@rebkwok
Copy link

rebkwok commented Dec 11, 2024

Currently the postCreate script fetches ehrQL code from main. This means the ehrQL code can quickly go out of date with the ehrql image.
An alternative is to extract ehrql code from the current ehrql image, and add to the vscode PYTHONPATH. See POC repo. We can do this on the postAttach command so that the ehrql code is updated whenever a codespace is restarted.

In future, we might consider making this part of the vscode extension, which would let us check that the ehrql code is up to date e.g. when the active text editor changes to an ehrql file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants