Skip to content

Commit

Permalink
[Librarian] Regenerated @ b65acba5c4232d15904620906c50336624531359 f2…
Browse files Browse the repository at this point in the history
…2b1df4a255e9c39bba77d26124d8caa19d2902
  • Loading branch information
twilio-dx committed Dec 13, 2024
1 parent 0b16947 commit 38ab9a4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ twilio-python Changelog

Here you can see the full list of changes between each twilio-python release.

[2024-12-13] Version 9.4.1
--------------------------
**Library - Fix**
- [PR #827](https://github.com/twilio/twilio-python/pull/827): Fixing init file for preview iam domain. Thanks to [@AsabuHere](https://github.com/AsabuHere)!

**Library - Chore**
- [PR #826](https://github.com/twilio/twilio-python/pull/826): fix orgs api changes. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!


[2024-12-12] Version 9.4.0
--------------------------
**Library - Feature**
Expand Down
2 changes: 2 additions & 0 deletions twilio/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def __init__(
environment=None,
edge=None,
user_agent_extensions=None,
credential_provider=None,
):
"""
Initializes the Twilio Client
Expand All @@ -122,6 +123,7 @@ def __init__(
environment,
edge,
user_agent_extensions,
credential_provider,
)

# Domains
Expand Down
11 changes: 0 additions & 11 deletions twilio/rest/preview_iam/PreviewIamBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from twilio.base.domain import Domain
from twilio.rest import Client
from twilio.rest.preview_iam.organizations import Organizations
from twilio.rest.preview_iam.v1 import V1


Expand All @@ -26,18 +25,8 @@ def __init__(self, twilio: Client):
:returns: Domain for PreviewIam
"""
super().__init__(twilio, "https://preview-iam.twilio.com")
self._organizations: Optional[Organizations] = None
self._v1: Optional[V1] = None

@property
def organizations(self) -> Organizations:
"""
:returns: Versions organizations of PreviewIam
"""
if self._organizations is None:
self._organizations = Organizations(self)
return self._organizations

@property
def v1(self) -> V1:
"""
Expand Down
1 change: 1 addition & 0 deletions twilio/rest/preview_iam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
)
from twilio.rest.preview_iam.versionless import Versionless


class PreviewIam(PreviewIamBase):
@property
def organization(self) -> OrganizationList:
Expand Down

0 comments on commit 38ab9a4

Please sign in to comment.