pypi Office365-REST-Python-Client 2.2.0
v 2.2.0

latest releases: 2.5.9, 2.5.8, 2.5.7...
3 years ago

Changelog

Finally the initial support for SharePoint API Batch requests has been introduced. All insert/update/delete operations are supported.

The following example how current user and web objects could be retrieved by grouping two operations and submitting it as a single request to the server:

client = ClientContext(site_url).with_credentials(user_credentials)
current_user = client.web.currentUser
client.load(current_user)
current_web = client.web
client.load(current_web)
client.execute_batch()

which offers a new way of improving the performance.

Among another improvements and changes:

  • improved support for Office365 auth with ADFS by @liuliqiu

  • style enforcement (flake8), code formatting (isort) configuration by @domdinicola

  • ClientRuntimeContext.execute_query_retry method which implements Retry pattern

Don't miss a new Office365-REST-Python-Client release

NewReleases is sending notifications on new releases.