File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ from typing import List
2
+ from typing import Dict
3
+ from typing import Union
4
+
5
+ from ms_graph .session import GraphSession
6
+
7
+
8
+ class DriveItems ():
9
+
10
+ """
11
+ ## Overview:
12
+ ----
13
+ The driveItem resource represents a file, folder,
14
+ or other item stored in a drive. All file system
15
+ objects in OneDrive and SharePoint are returned as
16
+ driveItem resources.
17
+ """
18
+
19
+ def __init__ (self , session : object ) -> None :
20
+ """Initializes the `DriveItems` object.
21
+
22
+ ### Parameters
23
+ ----
24
+ session : object
25
+ An authenticated session for our Microsoft Graph Client.
26
+ """
27
+
28
+ # Set the session.
29
+ self .graph_session : GraphSession = session
30
+
31
+ # Set the endpoint.
32
+ self .endpoint = 'drive'
33
+ self .collections_endpoint = 'drives'
File renamed without changes.
You can’t perform that action at this time.
0 commit comments