pypi Office365-REST-Python-Client 2.5.0
v 2.5.0

latest releases: 2.5.13, 2.5.12, 2.5.11...
11 months ago

Changelog

  • #740: fix for Folder.copy_to_using_path method
  • #743: introduce black for code formatting and fix flake8 by @kellerza
  • #746 & #747 typing improvements (support for mypy and pyright type checkers) by @kellerza
  • #744: Fix ResourcePath collection by @kellerza
  • #748: File.download_session method fix
  • introduced GraphClient.with_client_secret and GraphClient.with_username_and_password methods to initialize the client, refer below examples

Example: initializes a GraphClient client using user namename and password flow:

from office365.graph_client import GraphClient

client = GraphClient.with_username_and_password(
    "contoso.onmicrosoft.com", client_id, username, password
)

Example: initializes a GraphClient with client secret:

from office365.graph_client import GraphClient
client = GraphClient.with_client_secret("contoso.onmicrosoft.com", client_id, client_secret)

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

NewReleases is sending notifications on new releases.