@@ -98,8 +98,8 @@ pub enum PyScheme {
9898 HdfsNative ,
9999 #[ cfg( feature = "services-http" ) ]
100100 Http ,
101- #[ cfg( feature = "services-huggingface " ) ]
102- Huggingface ,
101+ #[ cfg( feature = "services-hf " ) ]
102+ Hf ,
103103 #[ cfg( feature = "services-ipfs" ) ]
104104 Ipfs ,
105105 #[ cfg( feature = "services-ipmfs" ) ]
@@ -1019,7 +1019,7 @@ submit! {
10191019 class Operator:
10201020 @overload
10211021 def __new__(cls,
1022- scheme: typing.Union[opendal.services.Scheme.Huggingface , typing.Literal["huggingface "]],
1022+ scheme: typing.Union[opendal.services.Scheme.Hf , typing.Literal["hf "]],
10231023 /,
10241024 *,
10251025 endpoint: builtins.str = ...,
@@ -1030,7 +1030,7 @@ submit! {
10301030 token: builtins.str = ...,
10311031 ) -> typing_extensions.Self:
10321032 r"""
1033- Create a new `Operator` for `huggingface` service.
1033+ Create a new `Operator` for `hf` (Hugging Face) service.
10341034
10351035 Parameters
10361036 ----------
@@ -1058,7 +1058,7 @@ submit! {
10581058 Returns
10591059 -------
10601060 Operator
1061- The new `Operator` for `huggingface` service
1061+ The new `Operator` for `hf` (Hugging Face) service
10621062 """
10631063 "#
10641064 }
@@ -3353,7 +3353,7 @@ submit! {
33533353 class AsyncOperator:
33543354 @overload
33553355 def __new__(cls,
3356- scheme: typing.Union[opendal.services.Scheme.Huggingface , typing.Literal["huggingface "]],
3356+ scheme: typing.Union[opendal.services.Scheme.Hf , typing.Literal["hf "]],
33573357 /,
33583358 *,
33593359 endpoint: builtins.str = ...,
@@ -3364,7 +3364,7 @@ submit! {
33643364 token: builtins.str = ...,
33653365 ) -> typing_extensions.Self:
33663366 r"""
3367- Create a new `AsyncOperator` for `huggingface` service.
3367+ Create a new `AsyncOperator` for `hf` (Hugging Face) service.
33683368
33693369 Parameters
33703370 ----------
@@ -3392,7 +3392,7 @@ submit! {
33923392 Returns
33933393 -------
33943394 AsyncOperator
3395- The new `AsyncOperator` for `huggingface` service
3395+ The new `AsyncOperator` for `hf` (Hugging Face) service
33963396 """
33973397 "#
33983398 }
@@ -4884,8 +4884,8 @@ impl_enum_to_str!(
48844884 HdfsNative => "hdfs-native" ,
48854885 #[ cfg( feature = "services-http" ) ]
48864886 Http => "http" ,
4887- #[ cfg( feature = "services-huggingface " ) ]
4888- Huggingface => "huggingface " ,
4887+ #[ cfg( feature = "services-hf " ) ]
4888+ Hf => "hf " ,
48894889 #[ cfg( feature = "services-ipfs" ) ]
48904890 Ipfs => "ipfs" ,
48914891 #[ cfg( feature = "services-ipmfs" ) ]
0 commit comments