New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ms-python-client

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-python-client - pypi Package Compare versions

Comparing version
2.0.1
to
2.0.2
+8
-3
ms_python_client/ms_api_client.py

@@ -47,9 +47,14 @@ import logging

):
if "MS_ACCESS_TOKEN" in os.environ and os.getenv("MS_ACCESS_TOKEN") != "":
self.dev_token = os.environ["MS_ACCESS_TOKEN"]
else:
self.dev_token = None
self.oauth = Oauth2Flow(config)
self.api_client = ApiClient(api_base_url=api_endpoint)
self.oauth = Oauth2Flow(config)
self.init_components()
def build_headers(self, extra_headers: Optional[_Headers] = None) -> _Headers:
if "MS_ACCESS_TOKEN" in os.environ and os.getenv("MS_ACCESS_TOKEN") != "":
token = os.environ["MS_ACCESS_TOKEN"]
if self.dev_token:
token = self.dev_token
else:

@@ -56,0 +61,0 @@ token = self.oauth.get_access_token()[0]

@@ -45,2 +45,3 @@ import datetime

# This has been set arbitrarily
ZOOM_ID_EXTENDED_PROPERTY_ID = (

@@ -47,0 +48,0 @@ "String {d3123b00-8eb5-4f10-ae88-1269fe4cbaf0} Name ZoomId"

Metadata-Version: 2.1
Name: ms-python-client
Version: 2.0.1
Version: 2.0.2
Summary: This package is used to interact with the microsoft graph API

@@ -5,0 +5,0 @@ License: MIT

[tool.poetry]
name = "ms-python-client"
version = "2.0.1"
version = "2.0.2"
exclude = ["tests*", "example*", ".github*", ".git*", ".vscode*"]

@@ -5,0 +5,0 @@ description = "This package is used to interact with the microsoft graph API"