ms-python-client
Advanced tools
@@ -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" |
+1
-1
| 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 |
+1
-1
| [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" |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
48290
0.32%891
0.56%