From 7236039a3e08d31b5801cede47f94f111be119c0 Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Thu, 10 Jun 2021 16:43:04 +0300 Subject: [PATCH 1/3] Update project doctring and Readme with preview disclaimer --- README.md | 10 +++++++--- msgraph/__init__.py | 3 +-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a4904335..195030b9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ [![CI Actions Status](https://github.com/microsoftgraph/msgraph-sdk-python-core/workflows/msgraph-sdk-python-core/badge.svg)](https://github.com/microsoftgraph/msgraph-sdk-python-core/actions) -## Microsoft Graph Core Python Client Library +## Microsoft Graph Core Python Client Library(Preview Version) The Microsoft Graph Core Python client library is a lightweight wrapper around the Microsoft Graph API. It provides functionality to create clients with desired configuration and middleware. +**Disclaimer**: Please, be aware that preview versions of `msgraph-core` package are for testing purpose only. Do not use them in a production environment. + ## Prerequisites Python 3.5+ (this library doesn't support older versions of Python) @@ -20,8 +22,10 @@ To call Microsoft Graph, your app must acquire an access token from the Microsof ### 2. Install the required packages - `pip install msgraph-core` - `pip install azure-identity` +Msgraph-core is available on PyPI + + `python -m pip install msgraph-core` + `python -m pip install azure-identity` ### 3. Import modules diff --git a/msgraph/__init__.py b/msgraph/__init__.py index cbddafd2..f3bb14ff 100644 --- a/msgraph/__init__.py +++ b/msgraph/__init__.py @@ -3,8 +3,7 @@ # Licensed under the MIT License. # ----------------------------------- """ -Core component of the Microsoft Graph Python SDK consisting of HTTP/Graph Client and a configurable -middleware pipeline +Microsoft Graph Core Library for Python """ from .core import SDK_VERSION From 5b40995baaae752183d932ad6778170b22616eca Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Thu, 10 Jun 2021 16:49:51 +0300 Subject: [PATCH 2/3] Update project docstring with preview disclaimer --- msgraph/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgraph/__init__.py b/msgraph/__init__.py index f3bb14ff..c8c0b8b9 100644 --- a/msgraph/__init__.py +++ b/msgraph/__init__.py @@ -3,7 +3,7 @@ # Licensed under the MIT License. # ----------------------------------- """ -Microsoft Graph Core Library for Python +Microsoft Graph Core Library for Python (Preview) """ from .core import SDK_VERSION From bbda7bcf5487a0fdb7c5287a6f4d50215b0e0a49 Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Thu, 10 Jun 2021 20:14:46 +0300 Subject: [PATCH 3/3] Update README, package docstring and package vaersion to 0.1.1 --- README.md | 2 +- msgraph/__init__.py | 5 ++++- msgraph/core/_constants.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 195030b9..10c2b347 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ To call Microsoft Graph, your app must acquire an access token from the Microsof ### 2. Install the required packages -Msgraph-core is available on PyPI +msgraph-core is available on PyPI. `python -m pip install msgraph-core` `python -m pip install azure-identity` diff --git a/msgraph/__init__.py b/msgraph/__init__.py index c8c0b8b9..4080dc1f 100644 --- a/msgraph/__init__.py +++ b/msgraph/__init__.py @@ -2,8 +2,11 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ----------------------------------- + +# pylint: disable=line-too-long +# This is to allow complete package description on PyPI """ -Microsoft Graph Core Library for Python (Preview) +Core component of the Microsoft Graph Python SDK consisting of HTTP/Graph Client and a configurable middleware pipeline (Preview). """ from .core import SDK_VERSION diff --git a/msgraph/core/_constants.py b/msgraph/core/_constants.py index 96cbb799..42d4875d 100644 --- a/msgraph/core/_constants.py +++ b/msgraph/core/_constants.py @@ -8,4 +8,4 @@ """ DEFAULT_REQUEST_TIMEOUT = 100 DEFAULT_CONNECTION_TIMEOUT = 30 -SDK_VERSION = '0.1.0' +SDK_VERSION = '0.1.1'