diff --git a/nylas/client.py b/nylas/client.py index 0b42e1c5..3e84fde4 100644 --- a/nylas/client.py +++ b/nylas/client.py @@ -2,6 +2,7 @@ from nylas.handler.http_client import HttpClient from nylas.resources.applications import Applications from nylas.resources.auth import Auth +from nylas.resources.grants import Grants from nylas.resources.calendars import Calendars from nylas.resources.events import Events from nylas.resources.webhooks import Webhooks @@ -42,6 +43,16 @@ def auth(self) -> Auth: """ return Auth(self.http_client) + @property + def grants(self) -> Grants: + """ + Access the Grants API. + + Returns: + The Grants API. + """ + return Grants(self.http_client) + @property def applications(self) -> Applications: """