8000 fix: Create __init__.py for intelligence domain (#718) · showerstomp/twilio-python@541ce70 · GitHub
[go: up one dir, main page]

Skip to content

Commit 541ce70

Browse files
authored
fix: Create __init__.py for intelligence domain (twilio#718)
* Create __init__.py for intelligence domain
1 parent bc26248 commit 541ce70

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

twilio/rest/intelligence/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from twilio.rest.intelligence.IntelligenceBase import IntelligenceBase
2+
from twilio.rest.intelligence.v2.service import ServiceList
3+
from twilio.rest.intelligence.v2.transcript import TranscriptList
4+
5+
6+
class Intelligence(IntelligenceBase):
7+
@property
8+
def transcripts(self) -> TranscriptList:
9+
return self.v2.transcripts
10+
11+
@property
12+
def services(self) -> ServiceList:
13+
return self.v2.services

0 commit comments

Comments
 (0)
0