Skip to content

Commit c079582

Browse files
authored
auto codegen for UFile
1 parent ae86cc1 commit c079582

7 files changed

Lines changed: 911 additions & 0 deletions

File tree

docs/services.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ UFS
122122
:members:
123123

124124

125+
UFile
126+
-----
127+
128+
.. autoclass:: ucloud.services.ufile.client.UFileClient
129+
:members:
130+
131+
125132
UHub
126133
----
127134

ucloud/client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ def ufs(self):
132132
self.logger,
133133
)
134134

135+
def ufile(self):
136+
from ucloud.services.ufile.client import UFileClient
137+
138+
return UFileClient(
139+
self._auto_config("ufile"),
140+
self.transport,
141+
self.middleware,
142+
self.logger,
143+
)
144+
135145
def uhost(self):
136146
from ucloud.services.uhost.client import UHostClient
137147

ucloud/services/ufile/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)