kszucs opened a new pull request, #6801:
URL: https://github.com/apache/opendal/pull/6801

   # Rationale for this change
   
   Huggingface Private Hub may use [custom 
endpoint](https://huggingface.co/docs/huggingface_hub/v0.13.2/en/package_reference/environment_variables#hfendpoint),
 it is also useful for enabling open source projects to use 
https://hub-ci.huggingface.co for testing.
   
   # What changes are included in this PR?
   
   Add support for configuring huggingface endpoint. If not provided, it tries 
to read from `HF_ENDPOINT` environment variable.
   
   It also fixes a bug when passing revision which must be encoded, like 
`refs/convert/parquet` should be encoded as `refs%2Fconvert%2Fparquet`.
   
   # Are there any user-facing changes?
   
   There is a new builder method called `.endpoint()`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to