Skip to content

Commit 1da5957

Browse files
authored
Merge branch 'main' into chore/consolidate-dependabot-updates-2
2 parents 5a1fc7a + 9d3a8c8 commit 1da5957

117 files changed

Lines changed: 1053 additions & 277 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
{
44
"name": "Python 3",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
// "image": "mcr.microsoft.com/devcontainers/python:3.9-bookworm",
76
// "image": "mcr.microsoft.com/devcontainers/python:3.10-bookworm",
87
// "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm",
98
// "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",
109
// "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
11-
//"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm",
12-
"image": "mcr.microsoft.com/devcontainers/python:3.13-bullseye",
10+
//"image": "mcr.microsoft.com/devcontainers/python:3.14-bookworm",
11+
"image": "mcr.microsoft.com/devcontainers/python:3.14-bullseye",
1312

1413
"features": {
1514
"ghcr.io/hspaans/devcontainer-features/pytest:1": {},

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
max-parallel: 5
1717
matrix:
18-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1919
steps:
2020
- uses: actions/checkout@v6
2121
- name: Set up Python ${{ matrix.python-version }}
@@ -42,4 +42,3 @@ jobs:
4242
- name: One or more build matrix options failed
4343
if: ${{ contains(needs.*.result, 'failure') }}
4444
run: exit 1
45-

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v6
2323
with:
24-
python-version: 3.13
24+
python-version: 3.14
2525
- name: Install flit
2626
run: |
2727
pip install flit

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pip install msgraph-sdk
1919

2020
> **Note:**
2121
>
22+
> * This library supports Python 3.10+.
2223
> * The Microsoft Graph SDK for Python is a fairly large package. It may take a few minutes for the initial installation to complete.
2324
> * Enable long paths in your environment if you receive a `Could not install packages due to an OSError`. For details, see [Enable Long Paths in Windows 10, Version 1607, and Later](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later).
2425

msgraph/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxItemImportSession]:
3434
"""
35-
Invoke action createImportSession
35+
Create a session to import an Exchange mailbox item that was exported using the exportItems API.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[MailboxItemImportSession]
38+
Find more info here: https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0
3839
"""
3940
request_info = self.to_post_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa
5253

5354
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke action createImportSession
56+
Create a session to import an Exchange mailbox item that was exported using the exportItems API.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""

msgraph/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3333

3434
async def post(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExportItemsPostResponse]:
3535
"""
36-
Invoke action exportItems
36+
Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[ExportItemsPostResponse]
40+
Find more info here: https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0
4041
"""
4142
if body is None:
4243
raise TypeError("body cannot be null.")
@@ -56,7 +57,7 @@ async def post(self,body: ExportItemsPostRequestBody, request_configuration: Opt
5657

5758
def to_post_request_information(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5859
"""
59-
Invoke action exportItems
60+
Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
6061
param body: The request body
6162
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6263
Returns: RequestInformation

msgraph/generated/admin/exchange/mailboxes/item/folders/delta/delta_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
3434
"""
35-
Invoke function delta
35+
Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[DeltaGetResponse]
38+
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0
3839
"""
3940
request_info = self.to_get_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq
5253

5354
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke function delta
56+
Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""
@@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder:
7475
@dataclass
7576
class DeltaRequestBuilderGetQueryParameters():
7677
"""
77-
Invoke function delta
78+
Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
7879
"""
7980
def get_query_parameter(self,original_name: str) -> str:
8081
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/folders_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ def by_mailbox_folder_id(self,mailbox_folder_id: str) -> MailboxFolderItemReques
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]:
5151
"""
52-
Get folders from admin
52+
Get all the mailboxFolder objects in the specified mailbox, including any search folders.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MailboxFolderCollectionResponse]
55+
Find more info here: https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0
5556
"""
5657
request_info = self.to_get_request_information(
5758
request_configuration
@@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FoldersR
6970

7071
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
7172
"""
72-
Get folders from admin
73+
Get all the mailboxFolder objects in the specified mailbox, including any search folders.
7374
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7475
Returns: RequestInformation
7576
"""
@@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder:
109110
@dataclass
110111
class FoldersRequestBuilderGetQueryParameters():
111112
"""
112-
Get folders from admin
113+
Get all the mailboxFolder objects in the specified mailbox, including any search folders.
113114
"""
114115
def get_query_parameter(self,original_name: str) -> str:
115116
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/child_folders_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ def by_mailbox_folder_id1(self,mailbox_folder_id1: str) -> MailboxFolderItemRequ
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxFolderCollectionResponse]:
5151
"""
52-
Get childFolders from admin
52+
Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MailboxFolderCollectionResponse]
55+
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-list-childfolders?view=graph-rest-1.0
5556
"""
5657
request_info = self.to_get_request_information(
5758
request_configuration
@@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ChildFol
6970

7071
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ChildFoldersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
7172
"""
72-
Get childFolders from admin
73+
Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
7374
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7475
Returns: RequestInformation
7576
"""
@@ -109,7 +110,7 @@ def delta(self) -> DeltaRequestBuilder:
109110
@dataclass
110111
class ChildFoldersRequestBuilderGetQueryParameters():
111112
"""
112-
Get childFolders from admin
113+
Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
113114
"""
114115
def get_query_parameter(self,original_name: str) -> str:
115116
"""

msgraph/generated/admin/exchange/mailboxes/item/folders/item/child_folders/delta/delta_request_builder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def get(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> Optional[DeltaGetResponse]:
3434
"""
35-
Invoke function delta
35+
Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[DeltaGetResponse]
38+
Find more info here: https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0
3839
"""
3940
request_info = self.to_get_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq
5253

5354
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeltaRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke function delta
56+
Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""
@@ -74,7 +75,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder:
7475
@dataclass
7576
class DeltaRequestBuilderGetQueryParameters():
7677
"""
77-
Invoke function delta
78+
Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
7879
"""
7980
def get_query_parameter(self,original_name: str) -> str:
8081
"""

0 commit comments

Comments
 (0)