Skip to content

Commit

Permalink
ClientContext
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerza committed Oct 4, 2023
1 parent 1ea302a commit 9aa6d8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions office365/entity_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
from office365.runtime.paths.item import ItemPath
from office365.runtime.queries.create_entity import CreateEntityQuery
from office365.runtime.paths.resource_path import ResourcePath
from office365.graph_client import GraphClient
from office365.sharepoint.client_context import ClientContext

T = TypeVar("T")


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

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

@property
def context(self):
# type: () -> GraphClient
# type: () -> ClientContext
# Should this be ClientRuntimeContext or GraphClient?
return self._context

0 comments on commit 9aa6d8f

Please sign in to comment.