Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: removing preview.understand references #775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions twilio/rest/preview/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from twilio.rest.preview.marketplace.available_add_on import AvailableAddOnList
from twilio.rest.preview.marketplace.installed_add_on import InstalledAddOnList
from twilio.rest.preview.sync.service import ServiceList
from twilio.rest.preview.understand.assistant import AssistantList
from twilio.rest.preview.wireless.command import CommandList
from twilio.rest.preview.wireless.rate_plan import RatePlanList
from twilio.rest.preview.wireless.sim import SimList
Expand Down Expand Up @@ -70,15 +69,6 @@ def services(self) -> ServiceList:
)
return self.sync.services

@property
def assistants(self) -> AssistantList:
warn(
"assistants is deprecated. Use understand.assistants instead.",
DeprecationWarning,
stacklevel=2,
)
return self.understand.assistants

@property
def commands(self) -> CommandList:
warn(
Expand Down