Skip to content

v 2.3.6

Compare
Choose a tag to compare
@vgrem vgrem released this 09 Aug 09:35
· 667 commits to master since this release

Changelog

General

  • a preliminary support for communications API has been introduced
  • optimizing PyPI package in terms of excluding packages from production (e.g. tests)

SharePoint API specific

  • upload large files improvements in terms of optimizing of memory consumption (#377) @beliaev-maksim
  • new examples for SharePoint section (#293) @beliaev-maksim
  • Document Set improvements and bug fixes #379
  • settings Taxonomy field values fixes #380

OneDrive API specific

  • fixes for addressing drive items #374
  • improvements in terms of supporting and new nav types and methods for better API coverage, for example:

Example 1: address folder by path, where archive/2018 is a folder path:

folder_item = client.me.drive.root.get_by_path("archive/2018").get().execute_query()  # type: DriveItem

Teams API specific

  • improvements in terms of supporting and new nav types and methods for better API coverage

Examples: list all teams

client = GraphClient(acquire_token_by_client_credentials)
teams = client.teams.get_all(["displayName"]).execute_query()
for team in teams:  # type: Team
    print(team.display_name)