ucloud-sdk-python3 0.11.151__py3-none-any.whl → 0.11.152__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ucloud/client.py CHANGED
@@ -222,6 +222,16 @@ class Client(client.Client):
222
222
  self.logger,
223
223
  )
224
224
 
225
+ def udbpostgresql(self):
226
+ from ucloud.services.udbpostgresql.client import UDBPostgreSQLClient
227
+
228
+ return UDBPostgreSQLClient(
229
+ self._auto_config("udbpostgresql"),
230
+ self.transport,
231
+ self.middleware,
232
+ self.logger,
233
+ )
234
+
225
235
  def udbproxy(self):
226
236
  from ucloud.services.udbproxy.client import UDBProxyClient
227
237
 
@@ -492,16 +502,6 @@ class Client(client.Client):
492
502
  self.logger,
493
503
  )
494
504
 
495
- def upgsql(self):
496
- from ucloud.services.upgsql.client import UPgSQLClient
497
-
498
- return UPgSQLClient(
499
- self._auto_config("upgsql"),
500
- self.transport,
501
- self.middleware,
502
- self.logger,
503
- )
504
-
505
505
  def uphone(self):
506
506
  from ucloud.services.uphone.client import UPhoneClient
507
507
 
@@ -597,3 +597,13 @@ class Client(client.Client):
597
597
  package, self._config.get("user_agent") or ""
598
598
  )
599
599
  return dict(user_agent=user_agent.rstrip(), **self._config)
600
+
601
+ def upgsql(self):
602
+ from ucloud.services.upgsql.client import UPgSQLClient
603
+
604
+ return UPgSQLClient(
605
+ self._auto_config("upgsql"),
606
+ self.transport,
607
+ self.middleware,
608
+ self.logger,
609
+ )
File without changes