Skip to content

Commit

Permalink
Docs update and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AsabuHere committed Dec 12, 2024
1 parent 80c157a commit 83c24fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion examples/organization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def example():
)

accounts = self.client.preview_iam.organization(organization_sid=ORGS_SID).accounts.stream()
self.assertIsNotNone(accounts)
for record in accounts:
print(record)


if __name__ == "__main__":
Expand Down
4 changes: 0 additions & 4 deletions examples/public_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ def example():
msg = self.client.messages.create(
to=self.to_number, from_=self.from_number, body="hello world"
)
self.assertEqual(msg.to, self.to_number)
self.assertEqual(msg.from_, self.from_number)
self.assertEqual(msg.body, "hello world")
self.assertIsNotNone(msg.sid)


if __name__ == "__main__":
Expand Down

0 comments on commit 83c24fa

Please sign in to comment.