Office365-rest-python-client

Latest version: v2.5.14

Safety actively analyzes 688559 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 9

2.1.6

The list of changes:

One Drive API:

- introduced new resources such as `ContentType`, `ColumnDefinition`

- support for [Resumable file upload](https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online)


SharePoint API:

support for chunk file upload, for example:


`

ctx = ClientContext(site_url, ctx_auth)
size_1Mb = 1000000
local_path = "./data/big_buck_bunny.mp4"
target_url = "/Shared Documents"

result_file = ctx.web.get_folder_by_server_relative_url(target_url)
.files.create_upload_session(local_path, size_1Mb, print_upload_progress)
ctx.execute_query()

`

2.1.5

Release changes:


- `GraphClient` client has been introduced for working with Microsoft Graph endpoint
- CAML query builder has been introduced (credit goes to domdinicola)

2.1.4

- introduced support for Introduced support for SharePoint 2010 list data service, `ListDataService` class

- added methods and properties for List, ListItem and Field resources:
- `ListItem.validate_update_listItem` method - Validates and sets the values of the specified collection of fields for the list item.
- `ListItem.system_update` method
- `ListItem.update_overwrite_version` method
- `ListItem.parent_list` navigation property
- `List.fields` navigation property
- `FieldCollection.add` method
- `FieldCollection.get_by_id` method
- `FieldCollection.get_by_internal_name_or_title` method
- `FieldCollection.get_by_title` method
- `Field.update` method
- `Field.delete` method

2.1.3

- Added support for NTLM authentication 110

- Switch context per web 111

All the credit goes to Aisbergg for those changes!

2.1.2

- Outlook client transitioned from Office 365 Outlook REST API to Microsoft Graph-based Outlook REST API

- introduced support for for [Resource Owner Password Credential (ROPC) flow](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth-ropc), which is suitable for scenarios where BasicAuth (discontinued nowadays) was utilized before

2.1.1

Introduced support for SharePoint authentication via OAuth (app principal) and SharePoint CAML queries

Page 9 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.