ucloud-sdk-python3 0.11.152__py3-none-any.whl → 0.11.153__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
@@ -502,6 +502,16 @@ class Client(client.Client):
502
502
  self.logger,
503
503
  )
504
504
 
505
+ def upgsql(self):
506
+ from ucloud.services.upgsql.client import UPgSQLClient
507
+
508
+ return UPgSQLClient(
509
+ self._auto_config("upgsql"),
510
+ self.transport,
511
+ self.middleware,
512
+ self.logger,
513
+ )
514
+
505
515
  def uphone(self):
506
516
  from ucloud.services.uphone.client import UPhoneClient
507
517
 
@@ -597,13 +607,3 @@ class Client(client.Client):
597
607
  package, self._config.get("user_agent") or ""
598
608
  )
599
609
  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
- )