-
Notifications
You must be signed in to change notification settings - Fork 42
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
can't access private repo from github #52
Comments
This is working for me on our private repos. However, I have noticed there is a 5-10 minute delay before the import command picks up changes to the repository on GitHub.com, even though I can see the change right away at https://raw.githubusercontent.com/... Would be nice if we could figure out what is causing this delay and mitigate it, since it slows down importing from one repo to another when you are making updates in the source repo. |
Hello all! Yet, this is my speculation, as I can't find anything in the code, that would create such delays. Can you please test the case of setting a different Usr-Agent header here: |
I have added the following to my profile headers: The import then picks up the changes within 1-2 minutes if I start a new python kernel. This is an improvement! However, due to module caching within an existing python kernel it will never updated. Is there any reload function for httpimport like the reload function included with importlib? This is particular useful when working in development tools like Spyder where you are re-running code in the same kernel, vs calling a new python process every time the code runs. |
Glad it worked 🙃
I have the feeling that using |
Hi, I ran the code:
but it gave ModuleNotFoundError.
could you please test with this function, and maybe make more instruction for us?
The text was updated successfully, but these errors were encountered: