Skip to content

Commit 218bbb9

Browse files
auto codegen for UEC
Co-authored-by: Yufei Li <yufeiminds@gmail.com>
1 parent 85095ad commit 218bbb9

File tree

7 files changed

+2968
-1
lines changed

7 files changed

+2968
-1
lines changed

docs/services.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,19 @@ IPSecVPN
101101
:members:
102102

103103

104+
UEC
105+
---
106+
107+
.. autoclass:: ucloud.services.uec.client.UECClient
108+
:members:
109+
110+
104111
UBill
105112
-----
106113

107114
.. autoclass:: ucloud.services.ubill.client.UBillClient
108115
:members:
109-
116+
110117

111118
UFS
112119
---

ucloud/client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,16 @@ def udisk(self):
112112
self.logger,
113113
)
114114

115+
def uec(self):
116+
from ucloud.services.uec.client import UECClient
117+
118+
return UECClient(
119+
self._auto_config("uec"),
120+
self.transport,
121+
self.middleware,
122+
self.logger,
123+
)
124+
115125
def ufs(self):
116126
from ucloud.services.ufs.client import UFSClient
117127

ucloud/services/uec/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)