Skip to content

aiogoogle 5.17.0

Version history | Download JSON

  • PyPI https://pypi.org/project/aiogoogle/
    Repository https://github.com/omarryhan/aiogoogle

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 81
        "Any" : 2
        "Untyped" : 450
    • 15.6% coverage
    • 15.2% coverage (strict)
    • 533 typable
      • 81 typed
      • 450 untyped
      • 2 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 7
        "classes" : 431
        "other" : 0
    • 2 functions (+0 overloads)
      • 5 parameters
    • 25 classes
      • 124 methods (+0 overloads)
        • 290 parameters
      • 16 properties
    • 14 modules
      • 0 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
aiogoogle.auth.creds 22.2% 22.2% 63 0
aiogoogle.auth.data 0.0% 0.0% 0 0
aiogoogle.auth.managers 7.8% 7.8% 115 0
aiogoogle.auth.utils 0.0% 0.0% 2 0
aiogoogle.client 35.1% 33.3% 57 0
aiogoogle.data 0.0% 0.0% 0 0
aiogoogle.excs 16.7% 16.7% 6 0
aiogoogle.models 12.8% 12.0% 125 0
aiogoogle.resource 19.7% 19.7% 117 0
aiogoogle.sessions.abc 0.0% 0.0% 8 0
aiogoogle.sessions.aiohttp_session 0.0% 0.0% 17 0
aiogoogle.sessions.curio_asks_session 0.0% 0.0% 9 0
aiogoogle.sessions.trio_asks_session 0.0% 0.0% 9 0
aiogoogle.validate 0.0% 0.0% 5 0

Incomplete Annotations

aiogoogle.auth.creds (49 missing, 0 any)

Symbol Typable Typed Any
meth UserCreds.init 13 0 0
attr UserCreds.access_token 1 0 0
attr UserCreds.refresh_token 1 0 0
attr UserCreds.refresh_token_expires_in 1 0 0
attr UserCreds.expires_in 1 0 0
attr UserCreds.expires_at 1 0 0
attr UserCreds.scopes 1 0 0
attr UserCreds.id_token 1 0 0
attr UserCreds.id_token_jwt 1 0 0
attr UserCreds.token_type 1 0 0
attr UserCreds.token_uri 1 0 0
attr UserCreds.token_info_uri 1 0 0
attr UserCreds.revoke_uri 1 0 0
meth ServiceAccountCreds.init 15 14 0
attr ServiceAccountCreds.type 1 0 0
attr ServiceAccountCreds.project_id 1 0 0
attr ServiceAccountCreds.private_key_id 1 0 0
attr ServiceAccountCreds.private_key 1 0 0
attr ServiceAccountCreds.client_email 1 0 0
attr ServiceAccountCreds.client_id 1 0 0
attr ServiceAccountCreds.auth_uri 1 0 0
attr ServiceAccountCreds.token_uri 1 0 0
attr ServiceAccountCreds.auth_provider_x509_cert_url 1 0 0
attr ServiceAccountCreds.client_x509_cert_url 1 0 0
attr ServiceAccountCreds.subject 1 0 0
attr ServiceAccountCreds.scopes 1 0 0
attr ServiceAccountCreds.additional_claims 1 0 0
attr ServiceAccountCreds.universe_domain 1 0 0
meth ClientCreds.init 5 0 0
attr ClientCreds.client_id 1 0 0
attr ClientCreds.client_secret 1 0 0
attr ClientCreds.scopes 1 0 0
attr ClientCreds.redirect_uri 1 0 0

aiogoogle.auth.managers (106 missing, 0 any)

Symbol Typable Typed Any
meth OpenIdConnectManager.init 3 0 0
meth OpenIdConnectManager.get_user_info 2 0 0
meth OpenIdConnectManager.get_token_info_jwt 2 0 0
meth OpenIdConnectManager._get_openid_certs 1 0 0
meth OpenIdConnectManager.authorization_url 13 0 0
meth OpenIdConnectManager.build_user_creds 7 0 0
meth OpenIdConnectManager.decode_and_validate 5 0 0
meth ApiKeyManager.init 2 0 0
meth ApiKeyManager.authorize 3 1 0
attr ApiKeyManager.key 1 0 0
meth ServiceAccountManager.init 3 0 0
meth ServiceAccountManager.authorize 3 0 0
meth ServiceAccountManager._set_creds_from_environ 2 0 0
meth ServiceAccountManager._set_creds_from_gce 1 0 0
meth ServiceAccountManager.detect_default_creds_source 1 0 0
meth ServiceAccountManager._get_oauth2_authorization_grant 1 0 0
meth ServiceAccountManager.refresh 1 0 0
prop ServiceAccountManager._creds_source 2 0 0
attr ServiceAccountManager.session_factory 1 0 0
attr ServiceAccountManager.creds 1 0 0
meth Oauth2Manager.init 3 0 0
meth Oauth2Manager.getitem 2 0 0
meth Oauth2Manager.aenter 1 0 0
meth Oauth2Manager.aexit 3 0 0
meth Oauth2Manager._send_request 2 0 0
meth Oauth2Manager._refresh_openid_configs 1 0 0
meth Oauth2Manager.is_ready 2 0 0
meth Oauth2Manager.authorization_url 9 1 0
meth Oauth2Manager.build_user_creds 4 1 0
meth Oauth2Manager._build_user_creds_req 4 1 0
meth Oauth2Manager._build_user_creds_from_res 2 0 0
meth Oauth2Manager.authorized_for_method 3 1 0
meth Oauth2Manager.get_token_info 2 0 0
meth Oauth2Manager.get_me_info 2 0 0
meth Oauth2Manager.is_expired 2 1 0
meth Oauth2Manager.refresh 3 0 0
meth Oauth2Manager._build_refresh_request 3 0 0
meth Oauth2Manager._build_revoke_request 2 0 0
meth Oauth2Manager.revoke 2 0 0
attr Oauth2Manager.oauth2_api 1 0 0
attr Oauth2Manager.openid_configs 1 0 0
attr Oauth2Manager.session_factory 1 0 0
attr Oauth2Manager.active_session 1 0 0
attr Oauth2Manager.client_creds 1 0 0

aiogoogle.auth.utils (2 missing, 0 any)

Symbol Typable Typed Any
func create_secret 2 0 0

aiogoogle.client (37 missing, 1 any)

Symbol Typable Typed Any
meth Aiogoogle.init 6 5 0
meth Aiogoogle.list_api 4 0 0
meth Aiogoogle.as_user 6 0 0
meth Aiogoogle.as_api_key 6 0 0
meth Aiogoogle.as_anon 5 0 0
meth Aiogoogle._get_session 1 0 0
meth Aiogoogle._set_session 1 0 0
meth Aiogoogle.send 3 0 0
meth Aiogoogle.aexit 2 2 1
attr Aiogoogle.session_factory 1 0 0
attr Aiogoogle.api_key 1 0 0
attr Aiogoogle.user_creds 1 0 0
attr Aiogoogle.client_creds 1 0 0
attr Aiogoogle.service_account_creds 1 0 0
attr Aiogoogle.api_key_manager 1 0 0
attr Aiogoogle.oauth2 1 0 0
attr Aiogoogle.openid_connect 1 0 0
attr Aiogoogle.service_account_manager 1 0 0
attr Aiogoogle.discovery_service 1 0 0

aiogoogle.excs (5 missing, 0 any)

Symbol Typable Typed Any
meth HTTPError.init 4 1 0
attr HTTPError.req 1 0 0
attr HTTPError.res 1 0 0

aiogoogle.models (109 missing, 1 any)

Symbol Typable Typed Any
meth Response.init 15 1 0
meth Response._next_page_generator 6 0 0
meth Response.call 5 0 0
meth Response.aiter 1 0 0
meth Response.iter 1 0 0
meth Response.next_page 4 1 0
meth Response.raise_for_status 1 0 0
meth Response.str 1 0 0
meth Response.repr 1 0 0
prop Response.content 1 0 0
prop Response.error_msg 1 0 0
attr Response.status_code 1 0 0
attr Response.headers 1 0 0
attr Response.url 1 0 0
attr Response.json 1 0 0
attr Response.data 1 0 0
attr Response.reason 1 0 0
attr Response.req 1 0 0
attr Response.download_file 1 0 0
attr Response.pipe_to 1 0 0
attr Response.upload_file 1 0 0
attr Response.pipe_from 1 0 0
attr Response.session_factory 1 0 0
attr Response.auth_manager 1 0 0
attr Response.user_creds 1 0 0
meth MediaDownload.init 4 0 0
attr MediaDownload.file_path 1 0 0
attr MediaDownload.pipe_to 1 0 0
attr MediaDownload.chunk_size 1 0 0
meth Request.init 13 12 1
meth Request._add_query_param 2 1 0
meth Request._rm_query_param 2 1 0
meth Request.batch_requests 2 0 0
meth Request.from_response 2 0 0
attr Request.method 1 0 0
attr Request.url 1 0 0
attr Request.batch_url 1 0 0
attr Request.headers 1 0 0
attr Request.data 1 0 0
attr Request.json 1 0 0
attr Request.media_upload 1 0 0
attr Request.media_download 1 0 0
attr Request.timeout 1 0 0
attr Request.callback 1 0 0
attr Request.upload_file_content_type 1 0 0
meth MediaUpload.init 10 0 0
meth MediaUpload.run_validation 2 0 0
meth MediaUpload.aiter_file 2 0 0
meth MediaUpload._aiter_body 1 0 0
meth MediaUpload.read_file 2 0 0
meth MediaUpload.str 1 0 0
attr MediaUpload.upload_path 1 0 0
attr MediaUpload.mime_range 1 0 0
attr MediaUpload.max_size 1 0 0
attr MediaUpload.multipart 1 0 0
attr MediaUpload.chunk_size 1 0 0
attr MediaUpload.resumable 1 0 0
attr MediaUpload.validate 1 0 0
attr MediaUpload.pipe_from 1 0 0
attr MediaUpload.file_body 1 0 0
attr MediaUpload.file_path 1 0 0
meth ResumableUpload.init 4 0 0
attr ResumableUpload.upload_path 1 0 0
attr ResumableUpload.multipart 1 0 0
attr ResumableUpload.chunk_size 1 0 0

aiogoogle.resource (94 missing, 0 any)

Symbol Typable Typed Any
meth Resource.init 9 0 0
meth Resource._get_resource 2 0 0
meth Resource._get_method 2 0 0
meth Resource.str 1 0 0
meth Resource.repr 1 0 0
meth Resource.call 1 0 0
meth Resource.len 1 0 0
meth Resource.contains 2 0 0
meth Resource.getitem 2 0 0
meth Resource.getattr 2 0 0
attr Resource.name 1 0 0
meth GoogleAPI.init 3 0 0
meth GoogleAPI._add_extra_query_param_definitions 2 0 0
meth GoogleAPI._get_resource 2 0 0
meth GoogleAPI._get_method 2 0 0
meth GoogleAPI.getattr 2 1 0
meth GoogleAPI.getitem 2 0 0
meth GoogleAPI.contains 2 0 0
meth GoogleAPI.repr 1 0 0
meth GoogleAPI.str 1 0 0
meth GoogleAPI.len 1 0 0
meth GoogleAPI.call 1 0 0
attr GoogleAPI.discovery_document 1 0 0
meth Method.init 9 0 0
meth Method._replace_dashes_with_underscores_in_user_provided_params 3 2 0
meth Method.getitem 2 0 0
meth Method._validate 4 0 0
meth Method.call 11 1 0
meth Method._build_url 5 0 0
meth Method._build_upload_media 6 0 0
meth Method._build_resumeable_media 2 0 0
meth Method._convert_str_size_to_int 2 0 0
meth Method._validate_url 2 0 0
meth Method._validate_body 2 0 0
meth Method.contains 2 0 0
meth Method.str 1 0 0
meth Method.repr 1 0 0
meth Method.len 1 0 0
attr Method.name 1 0 0

aiogoogle.sessions.abc (8 missing, 0 any)

Symbol Typable Typed Any
meth AbstractSession.new 3 0 0
meth AbstractSession.send 5 0 0

aiogoogle.sessions.aiohttp_session (17 missing, 0 any)

Symbol Typable Typed Any
meth AiohttpSession.init 3 0 0
meth AiohttpSession.aenter 1 0 0
meth AiohttpSession.aexit 4 0 0
meth AiohttpSession.close 1 0 0
meth AiohttpSession.send 8 0 0

aiogoogle.sessions.curio_asks_session (9 missing, 0 any)

Symbol Typable Typed Any
meth CurioAsksSession.init 3 0 0
meth CurioAsksSession.send 6 0 0

aiogoogle.sessions.trio_asks_session (9 missing, 0 any)

Symbol Typable Typed Any
meth TrioAsksSession.init 3 0 0
meth TrioAsksSession.send 6 0 0

aiogoogle.validate (5 missing, 0 any)

Symbol Typable Typed Any
func validate 5 0 0

Type-Ignore Comments

No type-ignore comments.