Skip to content

Commit

Permalink
update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
DharshanBJ committed Nov 7, 2024
1 parent d2fc35f commit edf77b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions msal/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


# The __init__.py will import this. Not the other way around.
__version__ = "1.31.0" # When releasing, also check and bump our dependencies's versions if needed
__version__ = "1.32.0" # When releasing, also check and bump our dependencies's versions if needed

logger = logging.getLogger(__name__)
_AUTHORITY_TYPE_CLOUDSHELL = "CLOUDSHELL"
Expand Down Expand Up @@ -1994,17 +1994,19 @@ def __init__(self, client_id, client_credential=None, **kwargs):
:param boolean enable_broker_on_linux:
This setting is only effective if your app is running on Linux.
This parameter defaults to None, which means MSAL will not utilize a broker.
New in MSAL Python 1.32.0.
"""
if client_credential is not None:
raise ValueError("Public Client should not possess credentials")
# Using kwargs notation for now. We will switch to keyword-only arguments.
enable_broker_on_windows = kwargs.pop("enable_broker_on_windows", False)
enable_broker_on_mac = kwargs.pop("enable_broker_on_mac", False)
enable_broker_on_linux = kwargs.pop("enable_broker_on_linux", False)
self._enable_broker = bool(
enable_broker_on_windows and sys.platform == "win32"
or enable_broker_on_mac and sys.platform == "darwin")
or enable_broker_on_mac and sys.platform == "darwin"
or enable_broker_on_linux and sys.platform == "linux")
super(PublicClientApplication, self).__init__(
client_id, client_credential=None, **kwargs)

Expand Down

0 comments on commit edf77b4

Please sign in to comment.