-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Support proxy and user-agent in fsspec calls #6046
Comments
hii @lhoestq can you assign this issue to me? |
You can reply "#self-assign" to this issue to automatically get assigned to it :) |
Actually i am quite new to figure it out how everything goes and done
when i wrote #self-assign it automatically got converted to some number is it correct or i have done it some wrong way, I am quite new to open source thus wanna try to learn and explore it |
#2289 #self-assign |
Ah yea github tries to replace the #self-assign with an issue link. I guess you can try to copy-paste instead to see if it works Anyway let me assign you manually |
thanks a lot @lhoestq ! though i have a very lil idea of the issue, i am new. as i said before, but gonna try my best shot to do it. |
The HfFileSystem from the
|
Since we switched to the new HfFileSystem we no longer apply user's proxy and user-agent.
Using the HTTP_PROXY and HTTPS_PROXY environment variables works though since we use aiohttp to call the HF Hub.
This can be implemented in
_prepare_single_hop_path_and_storage_options
.Though ideally the
HfFileSystem
could support passing at least the proxiesThe text was updated successfully, but these errors were encountered: