Releases: vgrem/office365-rest-python-client
Releases · vgrem/office365-rest-python-client
v 2.1.6
The list of changes:
One Drive API:
-
introduced new resources such as
ContentType
,ColumnDefinition
-
support for Resumable file upload
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()
v 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)
v 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
methodListItem.update_overwrite_version
methodListItem.parent_list
navigation propertyList.fields
navigation propertyFieldCollection.add
methodFieldCollection.get_by_id
methodFieldCollection.get_by_internal_name_or_title
methodFieldCollection.get_by_title
methodField.update
methodField.delete
method
v 2.1.3
v 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, which is suitable for scenarios where BasicAuth (discontinued nowadays) was utilized before