(20241127) Unicode character fixed.
This commit is contained in:
+4
-22
@@ -32,9 +32,6 @@
|
||||
|
||||
# To make sibling directories accessible for imports:
|
||||
import sys
|
||||
|
||||
from utils_v2.goog.models.data.auth_tokens import GoogleAuthTokens
|
||||
|
||||
sys.path.append(".")
|
||||
sys.path.append("..")
|
||||
|
||||
@@ -42,41 +39,26 @@ sys.path.append("..")
|
||||
import io
|
||||
|
||||
# My utils:
|
||||
from utils_v2.string import json
|
||||
from utils_v2.string import regex
|
||||
from utils_v2.date_time import date_time
|
||||
from utils_v2.oauth.services.goog import GoogleOAuth
|
||||
from utils_v2.goog.models.data.api_call import GoogleApiResponse
|
||||
from utils_v2.mail import mail_parser
|
||||
from utils_v2.goog.models.data.auth_tokens import GoogleAuthTokens
|
||||
|
||||
# Related to Google:
|
||||
from google_auth_oauthlib.flow import InstalledAppFlow
|
||||
from google.auth.transport.requests import Request
|
||||
from google.oauth2.credentials import Credentials
|
||||
from googleapiclient.discovery import build
|
||||
|
||||
# To make API calls:
|
||||
import httpx
|
||||
|
||||
# For asynchronous activities:
|
||||
import asyncio
|
||||
|
||||
# To work with date and time:
|
||||
import datetime
|
||||
|
||||
# For working with datatypes:
|
||||
from typing import Dict, Literal, List, Any
|
||||
from typing import Literal, List
|
||||
|
||||
# For debugging:
|
||||
from icecream import IceCreamDebugger
|
||||
import inspect
|
||||
|
||||
# For computational help:
|
||||
import math
|
||||
|
||||
# For base64 encoding:
|
||||
import base64
|
||||
|
||||
|
||||
# *****************************************************************************************************************
|
||||
# ***** ****
|
||||
@@ -195,8 +177,8 @@ class AsyncGoogleBase:
|
||||
not present at the browser.
|
||||
:param approval_prompt: "force" ensures that the consent screen is always shown to the user, regardless of
|
||||
whether the user has previously granted consent for the requested scopes. It forces the user to re-approve
|
||||
the app’s access, which can be useful if the app is requesting new permissions or if the consent needs to be
|
||||
explicitly confirmed. "consent" ensures the user’s consent is required if they haven't approved the app’s
|
||||
the app's access, which can be useful if the app is requesting new permissions or if the consent needs to be
|
||||
explicitly confirmed. "consent" ensures the user's consent is required if they haven't approved the app's
|
||||
requested permissions yet. "auto" allows Google to automatically determine whether the consent screen should
|
||||
be shown.
|
||||
:param include_granted_scopes: Enables applications to use incremental authorization to request access to
|
||||
|
||||
Reference in New Issue
Block a user