standardize packaging, tooling, docs, CI, and licensing
This commit is contained in:
@@ -17,12 +17,12 @@ No Google authentication details should leak outside this module.
|
||||
"""
|
||||
|
||||
import os
|
||||
from typing import Sequence
|
||||
from collections.abc import Sequence
|
||||
|
||||
import google.auth.exceptions
|
||||
from google.auth.transport.requests import Request
|
||||
from google_auth_oauthlib.flow import InstalledAppFlow
|
||||
from google.oauth2.credentials import Credentials
|
||||
from google_auth_oauthlib.flow import InstalledAppFlow
|
||||
|
||||
from mail_intake.auth.base import MailIntakeAuthProvider
|
||||
from mail_intake.credentials.store import CredentialStore
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
from typing import Sequence, Any
|
||||
from collections.abc import Sequence
|
||||
from typing import Any
|
||||
|
||||
from mail_intake.auth.base import MailIntakeAuthProvider
|
||||
from mail_intake.credentials.store import CredentialStore
|
||||
|
||||
class MailIntakeGoogleAuth(MailIntakeAuthProvider[Any]):
|
||||
def __init__(self, credentials_path: str, store: CredentialStore[Any], scopes: Sequence[str]) -> None: ...
|
||||
def __init__(
|
||||
self, credentials_path: str, store: CredentialStore[Any], scopes: Sequence[str]
|
||||
) -> None: ...
|
||||
def get_credentials(self) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user