8000 Moving imports to beginning of init; removing excess blank lines · wantstolearn/twilio-python@3d79b57 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d79b57

Browse files
committed
Moving imports to beginning of init; removing excess blank lines
1 parent 0cace2e commit 3d79b57

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

twilio/task_router/__init__.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import time
22
from .. import jwt
3+
from .taskrouter_config import TaskRouterConfig
4+
from .workflow_config import WorkflowConfig
5+
from .workflow_ruletarget import WorkflowRuleTarget
6+
from .workflow_rule import WorkflowRule
37

48
import warnings
59
warnings.simplefilter('always', DeprecationWarning)
@@ -248,18 +252,3 @@ def __init__(self, account_sid, auth_token, workspace_sid):
248252

249253
def setup_resource(self):
250254
self.resource_url = self.base_url
251-
252-
from .taskrouter_config import (
253-
TaskRouterConfig
254-
)
255-
256-
from .workflow_config import (
257-
WorkflowConfig
258-
)
259-
260-
from .workflow_ruletarget import (
261-
WorkflowRuleTarget
262-
)
263-
from .workflow_rule import (
264-
WorkflowRule
265-
)

twilio/task_router/taskrouter_config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ def __init__(self, rules, default_target):
2626
self.workflow_rules.append(
2727
WorkflowRule(rule['expression'], rule['targets'], name))
2828

29-
30-
31-
3229
def __repr__(self):
3330

3431
return str({

0 commit comments

Comments
 (0)
0