(20241127) GMail work updated.

This commit is contained in:
2024-11-27 20:13:25 +05:30
parent 7b08e37d2f
commit 269e36ec27
11 changed files with 532 additions and 1 deletions
+1 -1
View File
@@ -707,7 +707,7 @@ class AsyncMongo(AsyncMongoBase):
:param upsert: If you want to insert if the document doesn't already exist.
:param session: The session if you need to do this in a transaction.
:param raise_exception: Whether, or not, you want to raise an exception when something fails.
:return: True or False based on the success of the operation.
:return: The fetched document.
"""
# Ensure you are connected:
+1
View File
@@ -89,6 +89,7 @@ class GoogleAuthTokens(BaseModel):
refreshToken: str = Field(description = "token to be used to refresh the access token")
expiresAt: AwareDatetime = Field(description = "the time (utc) at which the token will expire")
scopes: List[str] = Field(description = "the list of permissions", default = [])
email: str | None = Field(description = "the email id of the user", default = None)
# ┏┓ ┏•
# ┃ ┏┓┏┓╋┓┏┓