File tree 2 files changed +4
-4
lines changed
Filter options
2 files changed +4
-4
lines changed
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ def example():
16
16
"""
17
17
Some example usage of using organization resources
18
18
"""
19
- self . client = Client (
19
+ client = Client (
20
20
account_sid = ACCOUNT_SID ,
21
21
credential_provider = OrgsCredentialProvider (CLIENT_ID , CLIENT_SECRET ),
22
22
)
23
23
24
- accounts = self . client .preview_iam .organization (
24
+ accounts = client .preview_iam .organization (
25
25
organization_sid = ORGS_SID
26
26
).accounts .stream ()
27
27
for record in accounts :
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ def example():
17
17
"""
18
18
Some example usage of message resources.
19
19
"""
20
- self . client = Client (
20
+ client = Client (
21
21
account_sid = ACCOUNT_SID ,
22
22
credential_provider = ClientCredentialProvider (CLIENT_ID , CLIENT_SECRET ),
23
23
)
24
24
25
- msg = self . client .messages .create (
25
+ msg = client .messages .create (
26
26
to = self .to_number , from_ = self .from_number , body = "hello world"
27
27
)
28
28
You can’t perform that action at this time.
0 commit comments