We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644f94b commit 66f3e28Copy full SHA for 66f3e28
twilio/rest/preview/__init__.py
@@ -1,6 +1,7 @@
1
from warnings import warn
2
3
from twilio.rest.preview.PreviewBase import PreviewBase
4
+from twilio.rest.preview.deployed_devices.fleet import FleetList
5
from twilio.rest.preview.hosted_numbers.authorization_document import (
6
AuthorizationDocumentList,
7
)
@@ -14,6 +15,14 @@
14
15
16
17
class Preview(PreviewBase):
18
+ @property
19
+ def fleets(self) -> FleetList:
20
+ warn(
21
+ "fleets is deprecated. Use deployed_devices.fleets instead.",
22
+ DeprecationWarning,
23
+ stacklevel=2,
24
+ )
25
+ return self.deployed_devices.fleets
26
27
28
@property
0 commit comments