msgraph-sdk-python icon indicating copy to clipboard operation
msgraph-sdk-python copied to clipboard

How do I use static typing with msgraph-sdk-python

Open stbrie opened this issue 2 years ago • 0 comments

If I want to manipulate a DriveItem, I need to define the type:

folder : DriveItem = DriveItem()

is there a way to import DriveItem without doing:

from msgraph.generated.models.drive_item import DriveItem

?

stbrie avatar Jul 27 '23 11:07 stbrie