8000 Create dummy clients which will throw an exception when instantiated · Pull Request #386 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content

Create dummy clients which will throw an exception when instantiated #386

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 5 commits into from
Aug 18, 2017
Merged
Changes from 1 commit
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
Prev Previous commit
comment syntax
  • Loading branch information
Tom Connors committed Aug 18, 2017
commit b6744b025174c269c8907f1459f4b2a7adf1f24a
16 changes: 8 additions & 8 deletions twilio/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def __repr__(self):
@obsolete_client
class TwilioClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
Expand All @@ -511,7 +511,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioRestClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
Expand All @@ -520,7 +520,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioIpMessagingClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
Expand All @@ -529,7 +529,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioLookupsClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
Expand All @@ -538,7 +538,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioMonitorClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
8D6E Expand All @@ -547,7 +547,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioPricingClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
Expand All @@ -556,7 +556,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioTaskRouterClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
Expand All @@ -565,7 +565,7 @@ def __init__(self, *args):
@obsolete_client
class TwilioTrunkingClient(object):
""" Dummy client which provides no functionality. Please use
Twilio.Rest.Client instead. """
twilio.rest.Client instead. """

def __init__(self, *args):
pass
0