Skip to content

Commit

Permalink
Merge pull request #525 from microsoftgraph/fix/release-trigger
Browse files Browse the repository at this point in the history
fix/release trigger
  • Loading branch information
baywet authored Sep 6, 2024
2 parents 2a79677 + 92aafba commit ef12e1f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 27 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# Microsoft Graph Beta SDK for Python

[![PyPI version](https://badge.fury.io/py/msgraph-beta-sdk.svg)](https://badge.fury.io/py/msgraph-beta-sdk)
[![Downloads](https://pepy.tech/badge/msgraph-beta-sdk)](https://pepy.tech/project/msgraph-beta-sdk)
[![Supported Versions](https://img.shields.io/pypi/pyversions/msgraph-beta-sdk.svg)](https://pypi.org/project/msgraph-beta-sdk)
[![Contributors](https://img.shields.io/github/contributors/microsoftgraph/msgraph-beta-sdk-python.svg)](https://github.com/microsoftgraph/msgraph-beta-sdk-python/graphs/contributors)

# Microsoft Graph Beta SDK for Python

Get started with the Microsoft Graph Beta SDK for Python by integrating the [Microsoft Graph API](https://docs.microsoft.com/graph/overview) into your Python application.

> **Note:**
> **Note:**
>
> * This SDK allows you to build applications using the latest [beta](https://docs.microsoft.com/graph/use-the-api#version) version of Microsoft Graph. If you want to try the v1.0 Microsoft Graph API, use the [v1.0](https://github.com/microsoftgraph/msgraph-sdk-python) SDK.
## 1. Installation

```py
pip install msgraph-beta-sdk
```
> **Note:**

> **Note:**
>
> * The Microsoft Graph Beta SDK for Python is a fairly large package. It may take a few minutes for the initial installation to complete.
> * Enable long paths in your environment if you receive a `Could not install packages due to an OSError`. For details, see [Enable Long Paths in Windows 10, Version 1607, and Later](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later).
Expand Down Expand Up @@ -94,6 +97,7 @@ asyncio.run(me())
### 3.1 Error Handling

Failed requests raise `APIError` exceptions. You can handle these exceptions using `try` `catch` statements.

```py
from kiota_abstractions.api_error import APIError
async def get_user():
Expand All @@ -104,6 +108,7 @@ async def get_user():
print(f'Error: {e.error.message}')
asyncio.run(get_user())
```

## Documentation and resources

* [Overview](https://docs.microsoft.com/graph/overview)
Expand All @@ -116,7 +121,6 @@ asyncio.run(get_user())

For detailed information on breaking changes, bug fixes and new functionality introduced during major upgrades, check out our [Upgrade Guide](UPGRADING.md)


## Issues

View or log issues on the [Issues](https://github.com/microsoftgraph/msgraph-beta-sdk-python/issues) tab in the repo.
Expand All @@ -132,4 +136,5 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

## Third Party Notices

[Third-party notices](THIRD%20PARTY%20NOTICES)
44 changes: 22 additions & 22 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"bootstrap-sha": "9096adb098e11bd5484335b5e08bd0c882db7407",
"exclude-paths": [
".git",
".idea",
".github",
".vscode"
],
"release-type": "python",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"package-name": "msgraph_beta",
"changelog-path": "CHANGELOG.md",
"extra-files": [
"pyproject.toml",
"msgraph_beta/_version.py"
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
"bootstrap-sha": "9096adb098e11bd5484335b5e08bd0c882db7407",
"exclude-paths": [
".git",
".idea",
".github",
".vscode"
],
"release-type": "simple",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"package-name": "msgraph_beta",
"changelog-path": "CHANGELOG.md",
"extra-files": [
"pyproject.toml",
"msgraph_beta/_version.py"
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit ef12e1f

Please sign in to comment.