You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADING.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ The `msgraph-sdk` provides auto-generated model classes that correspond to objec
27
27
This package (`msgraph-sdk`) will only contain models that match the [Microsoft Graph v1 API metadata](https://graph.microsoft.com/v1.0/$metadata). If you are interested in the Beta API, please see the [Microsoft Graph Beta Python SDK](https://github.com/microsoftgraph/msgraph-sdk-beta-python).
28
28
29
29
## Fluent Request Builder Pattern
30
-
`msgraph-sdk` provides a fluent interface that takes advantage of method chaining and IDE autocomplete when making requests to the Graph. This is a shift from `msgraph-core` where raw URLs would be passed instead:
30
+
`msgraph-sdk` provides a fluent interface that takes advantage of method chaining and IDE autocomplete when making requests to Microsoft Graph. This is a shift from `msgraph-core` where raw URLs would be passed instead:
31
31
32
32
```py
33
33
# msgraph-core
@@ -40,13 +40,13 @@ resp = asyncio.run(req)
40
40
41
41
Hopefully this makes it more intuitive to work with the SDK and reduces time checking reference docs. Your feedback would be appreciated on your preferred experience or whether we should support both scenarios.
42
42
43
-
# Breaking Changes
43
+
# Breaking changes
44
44
45
45
The following breaking changes were introduced in `msgraph-sdk`:
46
46
47
-
-[Changes to Authentication Mechanism](#changes-to-authentication)
48
-
-[Changes to the Graph client construction and configuration experience](#changes-to-graph-client-instantiation-and-configuration).
49
-
-[Changes to Graph request functionality](#changes-to-graph-request-functionality).
47
+
-[Changes to Authentication mechanism](#changes-to-authentication)
48
+
-[Changes to the Microsoft Graph client construction and configuration experience](#changes-to-graph-client-instantiation-and-configuration).
49
+
-[Changes to Microsoft Graph request functionality](#changes-to-graph-request-functionality).
See more [code samples](README.md#create-an-authenticationprovider-object) on how to initialise the Authentication Provider.
75
75
76
-
## Changes to Graph client instantiation and configuration
76
+
## Changes to Microsoft Graph client instantiation and configuration
77
77
78
78
`msgraph-sdk` introduces a new format for creating and configuring clients based on our [Kiota](https://github.com/microsoft/kiota) client generator. It involves creating an instance of a `GraphRequestAdapter` that will take care of all generic processing of HTTP requests, and passing the instance to the `GraphServiceClient` which holds strongly typed models and request builders to simplify the process of creating requests and consuming responses.
79
79
@@ -127,7 +127,7 @@ for msg in messages.value:
127
127
128
128
See [the examples](docs/Examples.md) on how to pass headers in your requests.
129
129
130
-
## Exception Handling
130
+
## Exception handling
131
131
132
132
Any `4xx` or `5xx` responses from the Graph API will result in an `ApiException` being thrown.
0 commit comments