Skip to content

Commit 9aa6d8f

Browse files
committed
ClientContext
1 parent 1ea302a commit 9aa6d8f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

office365/entity_collection.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
from office365.runtime.paths.item import ItemPath
66
from office365.runtime.queries.create_entity import CreateEntityQuery
77
from office365.runtime.paths.resource_path import ResourcePath
8-
from office365.graph_client import GraphClient
8+
from office365.sharepoint.client_context import ClientContext
99

1010
T = TypeVar("T")
1111

12+
1213
class EntityCollection(ClientObjectCollection[T]):
1314
"""A collection container which represents a named collections of entities"""
1415

@@ -38,5 +39,6 @@ def add(self, **kwargs):
3839

3940
@property
4041
def context(self):
41-
# type: () -> GraphClient
42+
# type: () -> ClientContext
43+
# Should this be ClientRuntimeContext or GraphClient?
4244
return self._context

0 commit comments

Comments
 (0)