Coverage report: 47%

Files Functions Classes

coverage.py v7.10.6, created at 2025-12-05 17:15 +0000

File function statements missing excluded branches partial coverage
polar/__init__.py (no function) 0 0 0 0 0 100%
polar/account/__init__.py (no function) 0 0 0 0 0 100%
polar/account/endpoints.py search 2 2 0 0 0 0%
polar/account/endpoints.py get 4 4 0 2 0 0%
polar/account/endpoints.py create 5 5 0 2 0 0%
polar/account/endpoints.py patch 4 4 0 2 0 0%
polar/account/endpoints.py onboarding_link 9 9 0 6 0 0%
polar/account/endpoints.py dashboard_link 8 8 0 4 0 0%
polar/account/endpoints.py (no function) 27 0 0 0 0 100%
polar/account/repository.py AccountRepository.get_by_stripe_id 2 2 0 0 0 0%
polar/account/repository.py AccountRepository.get_by_user 2 2 0 0 0 0%
polar/account/repository.py AccountRepository.get_by_organization 2 2 0 0 0 0%
polar/account/repository.py AccountRepository.get_readable_statement 7 7 0 4 0 0%
polar/account/repository.py (no function) 12 0 0 0 0 100%
polar/account/schemas.py (no function) 157 0 0 0 0 100%
polar/account/service.py AccountAlreadyExistsError.__init__ 1 1 0 0 0 0%
polar/account/service.py AccountExternalIdDoesNotExist.__init__ 3 3 0 0 0 0%
polar/account/service.py CannotChangeAdminError.__init__ 1 1 0 0 0 0%
polar/account/service.py UserNotOrganizationMemberError.__init__ 1 1 0 0 0 0%
polar/account/service.py AccountService.search 4 4 0 0 0 0%
polar/account/service.py AccountService.get 4 4 0 0 0 0%
polar/account/service.py AccountService._get_unrestricted 3 3 0 0 0 0%
polar/account/service.py AccountService.is_user_admin 4 4 0 2 0 0%
polar/account/service.py AccountService.update 2 2 0 0 0 0%
polar/account/service.py AccountService.delete 2 2 0 0 0 0%
polar/account/service.py AccountService.delete_stripe_account 10 10 0 4 0 0%
polar/account/service.py AccountService.create_account 4 4 0 0 0 0%
polar/account/service.py AccountService.get_or_create_account_for_organization 32 32 0 10 0 0%
polar/account/service.py AccountService._build_stripe_account_name 7 7 0 4 0 0%
polar/account/service.py AccountService._create_stripe_account 15 15 0 4 0 0%
polar/account/service.py AccountService.update_account_from_stripe 17 17 0 4 0 0%
polar/account/service.py AccountService.onboarding_link 5 5 0 2 0 0%
polar/account/service.py AccountService.dashboard_link 9 9 0 4 0 0%
polar/account/service.py AccountService.sync_to_upstream 6 6 0 4 0 0%
polar/account/service.py AccountService.change_admin 16 16 0 10 0 0%
polar/account/service.py (no function) 47 0 0 0 0 100%
polar/account/sorting.py (no function) 7 0 0 0 0 100%
polar/api.py (no function) 94 0 0 0 0 100%
polar/app.py configure_cors 8 0 0 2 1 90%
polar/app.py configure_cors.polar_frontend_matcher 1 1 0 0 0 0%
polar/app.py generate_unique_openapi_id 2 0 0 0 0 100%
polar/app.py lifespan 28 11 0 6 1 53%
polar/app.py create_app 21 2 0 6 3 81%
polar/app.py (no function) 52 0 0 0 0 100%
polar/auth/__init__.py (no function) 0 0 0 0 0 100%
polar/auth/dependencies.py _get_auth_subject_factory 16 0 0 10 0 100%
polar/auth/dependencies.py _get_auth_subject_factory.get_auth_subject 4 2 0 0 0 50%
polar/auth/dependencies.py _Authenticator.__init__ 2 0 0 0 0 100%
polar/auth/dependencies.py _Authenticator.__call__ 12 3 0 10 3 73%
polar/auth/dependencies.py Authenticator 7 0 0 0 0 100%
polar/auth/dependencies.py Authenticator._AuthenticatorSignature.__call__ 1 0 0 0 0 100%
polar/auth/dependencies.py (no function) 26 0 0 0 0 100%
polar/auth/endpoints.py logout 2 2 0 0 0 0%
polar/auth/endpoints.py (no function) 14 0 0 0 0 100%
polar/auth/middlewares.py get_user_session 1 0 0 0 0 100%
polar/auth/middlewares.py get_bearer_token 7 1 0 4 1 82%
polar/auth/middlewares.py get_oauth2_token 1 0 0 0 0 100%
polar/auth/middlewares.py get_personal_access_token 4 3 0 2 0 17%
polar/auth/middlewares.py get_organization_access_token 4 3 0 2 0 17%
polar/auth/middlewares.py get_customer_session 1 0 0 0 0 100%
polar/auth/middlewares.py get_auth_subject 21 11 0 14 2 40%
polar/auth/middlewares.py AuthSubjectMiddleware.__init__ 1 0 0 0 0 100%
polar/auth/middlewares.py AuthSubjectMiddleware.__call__ 15 4 0 2 0 76%
polar/auth/middlewares.py (no function) 33 0 0 0 0 100%
polar/auth/models.py AuthSubject.__init__ 3 0 0 0 0 100%
polar/auth/models.py AuthSubject.rate_limit_key 1 1 0 0 0 0%
polar/auth/models.py AuthSubject.rate_limit_user 11 3 0 10 4 67%
polar/auth/models.py AuthSubject.rate_limit_group 7 3 0 6 3 54%
polar/auth/models.py AuthSubject.log_context 6 0 0 4 0 100%
polar/auth/models.py is_anonymous 1 0 0 0 0 100%
polar/auth/models.py is_user 1 0 0 0 0 100%
polar/auth/models.py is_organization 1 1 0 0 0 0%
polar/auth/models.py is_customer 1 1 0 0 0 0%
polar/auth/models.py (no function) 28 3 0 2 0 90%
polar/auth/routing.py DocumentedAuthSubjectAPIRoute.__init__ 22 0 0 12 0 100%
polar/auth/routing.py (no function) 10 0 0 0 0 100%
polar/auth/scope.py Scope.__get_pydantic_json_schema__ 4 0 0 0 0 100%
polar/auth/scope.py scope_to_set 1 0 0 0 0 100%
polar/auth/scope.py scope_to_list 1 1 0 0 0 0%
polar/auth/scope.py (no function) 75 0 0 0 0 100%
polar/auth/service.py AuthService.get_login_response 5 5 0 0 0 0%
polar/auth/service.py AuthService.get_logout_response 5 5 0 2 0 0%
polar/auth/service.py AuthService.authenticate 9 6 0 6 1 27%
polar/auth/service.py AuthService.delete_expired 2 2 0 0 0 0%
polar/auth/service.py AuthService.revoke_leaked 6 6 0 2 0 0%
polar/auth/service.py AuthService._get_user_session_by_token 6 6 0 2 0 0%
polar/auth/service.py AuthService._create_user_session 5 5 0 0 0 0%
polar/auth/service.py AuthService._set_user_session_cookie 4 4 0 0 0 0%
polar/auth/service.py (no function) 28 0 0 0 0 100%
polar/auth/tasks.py auth_delete_expired 2 2 0 0 0 0%
polar/auth/tasks.py (no function) 7 0 0 0 0 100%
polar/benefit/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/auth.py (no function) 9 0 0 0 0 100%
polar/benefit/endpoints.py list 2 2 0 0 0 0%
polar/benefit/endpoints.py get 4 4 0 2 0 0%
polar/benefit/endpoints.py grants 5 5 0 2 0 0%
polar/benefit/endpoints.py create 2 2 0 0 0 0%
polar/benefit/endpoints.py update 4 4 0 2 0 0%
polar/benefit/endpoints.py delete 4 4 0 2 0 0%
polar/benefit/endpoints.py (no function) 32 0 0 0 0 100%
polar/benefit/grant/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/grant/endpoints.py list 8 5 0 4 1 33%
polar/benefit/grant/endpoints.py (no function) 15 0 0 0 0 100%
polar/benefit/grant/repository.py BenefitGrantRepository.get_by_benefit_and_scope 2 2 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.list_granted_by_scope 2 2 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.list_granted_by_benefit 2 2 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.list_granted_by_customer 2 2 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.list_granted_by_benefit_and_customer 2 2 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.list_by_customer_and_benefit_type 2 2 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.list_outdated_grants 3 3 0 0 0 0%
polar/benefit/grant/repository.py BenefitGrantRepository.get_sorting_clause 7 4 0 6 1 31%
polar/benefit/grant/repository.py (no function) 19 0 0 0 0 100%
polar/benefit/grant/schemas.py (no function) 0 0 0 0 0 100%
polar/benefit/grant/scope.py InvalidScopeError.__init__ 3 3 0 0 0 0%
polar/benefit/grant/scope.py resolve_scope 14 14 0 8 0 0%
polar/benefit/grant/scope.py scope_to_args 6 6 0 4 0 0%
polar/benefit/grant/scope.py (no function) 10 0 0 2 0 100%
polar/benefit/grant/service.py EmptyScopeError.__init__ 2 2 0 0 0 0%
polar/benefit/grant/service.py BenefitGrantService.get 0 0 0 0 0 100%
polar/benefit/grant/service.py BenefitGrantService.get 0 0 0 0 0 100%
polar/benefit/grant/service.py BenefitGrantService.get 11 11 0 8 0 0%
polar/benefit/grant/service.py BenefitGrantService.list 6 6 0 4 0 0%
polar/benefit/grant/service.py BenefitGrantService.list_by_organization 8 2 0 4 2 67%
polar/benefit/grant/service.py BenefitGrantService.grant_benefit 23 23 0 4 0 0%
polar/benefit/grant/service.py BenefitGrantService.revoke_benefit 25 25 0 6 0 0%
polar/benefit/grant/service.py BenefitGrantService.enqueue_benefits_grants 6 6 0 4 0 0%
polar/benefit/grant/service.py BenefitGrantService.enqueue_benefit_grant_updates 7 7 0 4 0 0%
polar/benefit/grant/service.py BenefitGrantService.update_benefit_grant 19 19 0 4 0 0%
polar/benefit/grant/service.py BenefitGrantService.enqueue_benefit_grant_cycles 4 4 0 2 0 0%
polar/benefit/grant/service.py BenefitGrantService.cycle_benefit_grant 18 18 0 2 0 0%
polar/benefit/grant/service.py BenefitGrantService.enqueue_benefit_grant_deletions 4 4 0 2 0 0%
polar/benefit/grant/service.py BenefitGrantService.enqueue_customer_grant_deletions 4 4 0 2 0 0%
polar/benefit/grant/service.py BenefitGrantService.delete_benefit_grant 15 15 0 2 0 0%
polar/benefit/grant/service.py BenefitGrantService._send_webhook 5 5 0 0 0 0%
polar/benefit/grant/service.py (no function) 53 0 0 6 2 97%
polar/benefit/grant/sorting.py (no function) 9 0 0 0 0 100%
polar/benefit/registry.py get_benefit_strategy 1 1 0 0 0 0%
polar/benefit/registry.py (no function) 14 0 0 0 0 100%
polar/benefit/repository.py BenefitRepository.get_eager_options 1 1 0 0 0 0%
polar/benefit/repository.py BenefitRepository.get_readable_statement 7 7 0 4 0 0%
polar/benefit/repository.py BenefitRepository.get_sorting_clause 7 7 0 6 0 0%
polar/benefit/repository.py (no function) 12 0 0 0 0 100%
polar/benefit/schemas.py (no function) 58 0 0 2 0 100%
polar/benefit/service.py BenefitService.list 12 12 0 8 0 0%
polar/benefit/service.py BenefitService.get 3 3 0 0 0 0%
polar/benefit/service.py BenefitService.user_create 12 12 0 0 0 0%
polar/benefit/service.py BenefitService.update 14 14 0 6 0 0%
polar/benefit/service.py BenefitService.delete 9 9 0 2 0 0%
polar/benefit/service.py (no function) 30 0 0 2 0 100%
polar/benefit/sorting.py (no function) 9 0 0 0 0 100%
polar/benefit/strategies/__init__.py (no function) 8 0 0 0 0 100%
polar/benefit/strategies/base/__init__.py (no function) 3 0 0 0 0 100%
polar/benefit/strategies/base/properties.py (no function) 3 0 0 0 0 100%
polar/benefit/strategies/base/schemas.py BenefitGrantBase.user_id 1 1 0 0 0 0%
polar/benefit/strategies/base/schemas.py (no function) 41 0 0 6 0 100%
polar/benefit/strategies/base/service.py BenefitPropertiesValidationError.__init__ 2 2 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitRetriableError.__init__ 3 3 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitRetriableError.defer_milliseconds 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol.__init__ 2 2 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol.grant 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol.cycle 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol.revoke 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol.requires_update 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol.validate_properties 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py BenefitServiceProtocol._get_properties 1 1 0 0 0 0%
polar/benefit/strategies/base/service.py (no function) 28 1 0 2 0 97%
polar/benefit/strategies/custom/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/strategies/custom/properties.py (no function) 4 0 0 2 0 100%
polar/benefit/strategies/custom/schemas.py (no function) 26 0 0 0 0 100%
polar/benefit/strategies/custom/service.py BenefitCustomService.grant 1 1 0 0 0 0%
polar/benefit/strategies/custom/service.py BenefitCustomService.cycle 1 1 0 0 0 0%
polar/benefit/strategies/custom/service.py BenefitCustomService.revoke 1 1 0 0 0 0%
polar/benefit/strategies/custom/service.py BenefitCustomService.requires_update 1 1 0 0 0 0%
polar/benefit/strategies/custom/service.py BenefitCustomService.validate_properties 1 1 0 0 0 0%
polar/benefit/strategies/custom/service.py (no function) 11 0 0 0 0 100%
polar/benefit/strategies/discord/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/strategies/discord/properties.py (no function) 10 0 0 0 0 100%
polar/benefit/strategies/discord/schemas.py BenefitDiscordProperties.guild_token 1 1 0 0 0 0%
polar/benefit/strategies/discord/schemas.py BenefitDiscordCreateProperties.validate_guild_token 5 5 0 0 0 0%
polar/benefit/strategies/discord/schemas.py (no function) 35 0 0 0 0 100%
polar/benefit/strategies/discord/service.py BenefitDiscordService.grant 27 27 0 8 0 0%
polar/benefit/strategies/discord/service.py BenefitDiscordService.cycle 1 1 0 0 0 0%
polar/benefit/strategies/discord/service.py BenefitDiscordService.revoke 19 19 0 6 0 0%
polar/benefit/strategies/discord/service.py BenefitDiscordService.requires_update 2 2 0 0 0 0%
polar/benefit/strategies/discord/service.py BenefitDiscordService.validate_properties 9 9 0 4 0 0%
polar/benefit/strategies/discord/service.py BenefitDiscordService._get_customer_oauth_account 20 20 0 6 0 0%
polar/benefit/strategies/discord/service.py (no function) 22 0 0 0 0 100%
polar/benefit/strategies/downloadables/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/strategies/downloadables/properties.py (no function) 7 0 0 0 0 100%
polar/benefit/strategies/downloadables/schemas.py get_active_file_ids 7 7 0 4 0 0%
polar/benefit/strategies/downloadables/schemas.py BenefitDownloadablesSubscriberProperties.assign_active_files 5 5 0 2 0 0%
polar/benefit/strategies/downloadables/schemas.py (no function) 30 0 0 0 0 100%
polar/benefit/strategies/downloadables/service.py get_active_file_ids 2 2 0 0 0 0%
polar/benefit/strategies/downloadables/service.py BenefitDownloadablesService.grant 10 10 0 6 0 0%
polar/benefit/strategies/downloadables/service.py BenefitDownloadablesService.cycle 1 1 0 0 0 0%
polar/benefit/strategies/downloadables/service.py BenefitDownloadablesService.revoke 2 2 0 0 0 0%
polar/benefit/strategies/downloadables/service.py BenefitDownloadablesService.requires_update 4 4 0 0 0 0%
polar/benefit/strategies/downloadables/service.py BenefitDownloadablesService.validate_properties 1 1 0 0 0 0%
polar/benefit/strategies/downloadables/service.py (no function) 19 0 0 0 0 100%
polar/benefit/strategies/github_repository/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/strategies/github_repository/properties.py (no function) 12 0 0 0 0 100%
polar/benefit/strategies/github_repository/schemas.py (no function) 33 0 0 0 0 100%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService.grant 33 33 0 10 0 0%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService.cycle 1 1 0 0 0 0%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService.revoke 28 28 0 8 0 0%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService.requires_update 2 2 0 0 0 0%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService.validate_properties 19 19 0 10 0 0%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService._get_invitation 4 4 0 4 0 0%
polar/benefit/strategies/github_repository/service.py BenefitGitHubRepositoryService._get_github_app_client 7 7 0 0 0 0%
polar/benefit/strategies/github_repository/service.py (no function) 26 2 0 2 1 89%
polar/benefit/strategies/license_keys/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/strategies/license_keys/properties.py (no function) 16 0 0 0 0 100%
polar/benefit/strategies/license_keys/schemas.py (no function) 41 0 0 0 0 100%
polar/benefit/strategies/license_keys/service.py BenefitLicenseKeysService.grant 5 5 0 2 0 0%
polar/benefit/strategies/license_keys/service.py BenefitLicenseKeysService.cycle 1 1 0 0 0 0%
polar/benefit/strategies/license_keys/service.py BenefitLicenseKeysService.revoke 6 6 0 2 0 0%
polar/benefit/strategies/license_keys/service.py BenefitLicenseKeysService.requires_update 6 6 0 0 0 0%
polar/benefit/strategies/license_keys/service.py BenefitLicenseKeysService.validate_properties 1 1 0 0 0 0%
polar/benefit/strategies/license_keys/service.py (no function) 18 0 0 0 0 100%
polar/benefit/strategies/meter_credit/__init__.py (no function) 0 0 0 0 0 100%
polar/benefit/strategies/meter_credit/properties.py (no function) 9 0 0 0 0 100%
polar/benefit/strategies/meter_credit/schemas.py (no function) 31 0 0 0 0 100%
polar/benefit/strategies/meter_credit/service.py BenefitMeterCreditService.grant 3 3 0 0 0 0%
polar/benefit/strategies/meter_credit/service.py BenefitMeterCreditService.cycle 16 16 0 6 0 0%
polar/benefit/strategies/meter_credit/service.py BenefitMeterCreditService.revoke 6 6 0 2 0 0%
polar/benefit/strategies/meter_credit/service.py BenefitMeterCreditService.requires_update 1 1 0 0 0 0%
polar/benefit/strategies/meter_credit/service.py BenefitMeterCreditService.validate_properties 5 5 0 2 0 0%
polar/benefit/strategies/meter_credit/service.py BenefitMeterCreditService._create_event 7 7 0 2 0 0%
polar/benefit/strategies/meter_credit/service.py (no function) 21 0 0 0 0 100%
polar/benefit/tasks.py CustomerDoesNotExist.__init__ 3 3 0 0 0 0%
polar/benefit/tasks.py ProductDoesNotExist.__init__ 3 3 0 0 0 0%
polar/benefit/tasks.py BenefitDoesNotExist.__init__ 3 3 0 0 0 0%
polar/benefit/tasks.py BenefitGrantDoesNotExist.__init__ 3 3 0 0 0 0%
polar/benefit/tasks.py OrganizationDoesNotExist.__init__ 3 3 0 0 0 0%
polar/benefit/tasks.py enqueue_benefits_grants 11 11 0 4 0 0%
polar/benefit/tasks.py benefit_grant 15 15 0 4 0 0%
polar/benefit/tasks.py benefit_revoke 15 15 0 4 0 0%
polar/benefit/tasks.py benefit_update 9 9 0 2 0 0%
polar/benefit/tasks.py enqueue_benefit_grant_cycles 3 3 0 0 0 0%
polar/benefit/tasks.py benefit_cycle 9 9 0 2 0 0%
polar/benefit/tasks.py benefit_delete 6 6 0 2 0 0%
polar/benefit/tasks.py benefit_revoke_customer 6 6 0 2 0 0%
polar/benefit/tasks.py benefit_delete_grant 9 9 0 2 0 0%
polar/benefit/tasks.py (no function) 44 0 0 2 0 100%
polar/billing_entry/__init__.py (no function) 0 0 0 0 0 100%
polar/billing_entry/repository.py BillingEntryRepository.update_order_item_id 2 2 0 0 0 0%
polar/billing_entry/repository.py BillingEntryRepository.get_pending_by_subscription 2 2 0 0 0 0%
polar/billing_entry/repository.py BillingEntryRepository.get_static_pending_by_subscription 3 3 0 2 0 0%
polar/billing_entry/repository.py BillingEntryRepository.get_pending_metered_by_subscription_tuples 6 6 0 2 0 0%
polar/billing_entry/repository.py BillingEntryRepository.get_pending_ids_by_subscription_and_price 3 3 0 0 0 0%
polar/billing_entry/repository.py BillingEntryRepository.get_pending_ids_by_subscription_and_meter 3 3 0 0 0 0%
polar/billing_entry/repository.py BillingEntryRepository.get_pending_by_subscription_statement 1 1 0 0 0 0%
polar/billing_entry/repository.py (no function) 18 0 0 0 0 100%
polar/billing_entry/service.py BillingEntryService.create_order_items_from_pending 11 11 0 4 0 0%
polar/billing_entry/service.py BillingEntryService.compute_pending_subscription_line_items 26 26 0 14 0 0%
polar/billing_entry/service.py BillingEntryService._get_static_price_line_item 15 15 0 4 0 0%
polar/billing_entry/service.py BillingEntryService._get_metered_line_item 10 10 0 0 0 0%
polar/billing_entry/service.py BillingEntryService._get_metered_line_item_by_meter 10 10 0 0 0 0%
polar/billing_entry/service.py (no function) 47 0 0 0 0 100%
polar/billing_entry/tasks.py set_order_item 3 3 0 0 0 0%
polar/billing_entry/tasks.py (no function) 5 0 0 0 0 100%
polar/campaign/__init__.py (no function) 0 0 0 0 0 100%
polar/campaign/service.py CampaignService.get_eligible 10 10 0 4 0 0%
polar/campaign/service.py (no function) 8 0 0 0 0 100%
polar/checkout/__init__.py (no function) 0 0 0 0 0 100%
polar/checkout/auth.py (no function) 12 0 0 0 0 100%
polar/checkout/endpoints.py list 2 2 0 0 0 0%
polar/checkout/endpoints.py get 4 4 0 2 0 0%
polar/checkout/endpoints.py create 1 1 0 0 0 0%
polar/checkout/endpoints.py update 4 4 0 2 0 0%
polar/checkout/endpoints.py client_get 1 1 0 0 0 0%
polar/checkout/endpoints.py client_create 2 2 0 0 0 0%
polar/checkout/endpoints.py client_update 2 2 0 0 0 0%
polar/checkout/endpoints.py client_confirm 2 2 0 0 0 0%
polar/checkout/endpoints.py client_stream 3 3 0 0 0 0%
polar/checkout/endpoints.py (no function) 52 0 0 0 0 100%
polar/checkout/eventstream.py publish_checkout_event 0 0 0 0 0 100%
polar/checkout/eventstream.py publish_checkout_event 0 0 0 0 0 100%
polar/checkout/eventstream.py publish_checkout_event 0 0 0 0 0 100%
polar/checkout/eventstream.py publish_checkout_event 0 0 0 0 0 100%
polar/checkout/eventstream.py publish_checkout_event 1 1 0 0 0 0%
polar/checkout/eventstream.py (no function) 22 0 0 8 4 87%
polar/checkout/guard.py has_product_checkout 1 1 0 0 0 0%
polar/checkout/guard.py (no function) 11 5 0 2 1 54%
polar/checkout/ip_geolocation.py _get_client_dependency 1 1 0 0 0 0%
polar/checkout/ip_geolocation.py _download_database 2 2 0 0 0 0%
polar/checkout/ip_geolocation.py get_client 3 3 0 2 0 0%
polar/checkout/ip_geolocation.py get_ip_country 4 4 0 2 0 0%
polar/checkout/ip_geolocation.py (no function) 20 5 0 2 1 73%
polar/checkout/price.py get_default_price 4 4 0 4 0 0%
polar/checkout/price.py (no function) 3 0 0 0 0 100%
polar/checkout/repository.py CheckoutRepository.get_by_client_secret 2 2 0 0 0 0%
polar/checkout/repository.py CheckoutRepository.expire_open_checkouts 2 2 0 0 0 0%
polar/checkout/repository.py CheckoutRepository.get_readable_statement 7 7 0 4 0 0%
polar/checkout/repository.py CheckoutRepository.get_eager_options 1 1 0 0 0 0%
polar/checkout/repository.py CheckoutRepository.get_sorting_clause 7 7 0 6 0 0%
polar/checkout/repository.py (no function) 16 0 0 0 0 100%
polar/checkout/schemas.py CheckoutBase.subtotal_amount 1 1 0 0 0 0%
polar/checkout/schemas.py get_discount_discriminator_value 7 7 0 2 0 0%
polar/checkout/schemas.py (no function) 180 0 0 4 0 100%
polar/checkout/service.py ExpiredCheckoutError.__init__ 2 2 0 0 0 0%
polar/checkout/service.py AlreadyActiveSubscriptionError.__init__ 2 2 0 0 0 0%
polar/checkout/service.py PaymentError.__init__ 5 5 0 0 0 0%
polar/checkout/service.py CheckoutDoesNotExist.__init__ 3 3 0 0 0 0%
polar/checkout/service.py NotOpenCheckout.__init__ 4 4 0 0 0 0%
polar/checkout/service.py NotConfirmedCheckout.__init__ 4 4 0 0 0 0%
polar/checkout/service.py PaymentDoesNotExist.__init__ 3 3 0 0 0 0%
polar/checkout/service.py ArchivedPriceCheckout.__init__ 4 4 0 0 0 0%
polar/checkout/service.py IntentNotSucceeded.__init__ 4 4 0 0 0 0%
polar/checkout/service.py NoPaymentMethodOnIntent.__init__ 4 4 0 0 0 0%
polar/checkout/service.py PaymentRequired.__init__ 3 3 0 0 0 0%
polar/checkout/service.py TrialAlreadyRedeemed.__init__ 3 3 0 0 0 0%
polar/checkout/service.py CheckoutService.list 14 14 0 10 0 0%
polar/checkout/service.py CheckoutService.get_by_id 8 8 0 4 0 0%
polar/checkout/service.py CheckoutService.create 95 95 0 56 0 0%
polar/checkout/service.py CheckoutService.client_create 45 45 0 24 0 0%
polar/checkout/service.py CheckoutService.checkout_link_create 85 85 0 42 0 0%
polar/checkout/service.py CheckoutService.update 8 8 0 0 0 0%
polar/checkout/service.py CheckoutService.confirm 10 10 0 2 0 0%
polar/checkout/service.py CheckoutService._confirm_inner 62 62 0 34 0 0%
polar/checkout/service.py CheckoutService.handle_success 22 22 0 12 0 0%
polar/checkout/service.py CheckoutService.handle_failure 8 8 0 2 0 0%
polar/checkout/service.py CheckoutService.get_by_client_secret 7 7 0 4 0 0%
polar/checkout/service.py CheckoutService._get_validated_price 10 10 0 6 0 0%
polar/checkout/service.py CheckoutService._get_validated_product 7 7 0 4 0 0%
polar/checkout/service.py CheckoutService._get_validated_products 17 17 0 10 0 0%
polar/checkout/service.py CheckoutService._get_validated_prices 14 14 0 4 0 0%
polar/checkout/service.py CheckoutService._get_validated_discount 0 0 0 0 0 100%
polar/checkout/service.py CheckoutService._get_validated_discount 0 0 0 0 0 100%
polar/checkout/service.py CheckoutService._get_validated_discount 13 13 0 10 0 0%
polar/checkout/service.py CheckoutService._get_validated_subscription 8 8 0 6 0 0%
polar/checkout/service.py CheckoutService._lock_checkout_update 5 5 0 0 0 0%
polar/checkout/service.py CheckoutService._update_checkout 82 82 0 52 0 0%
polar/checkout/service.py CheckoutService._update_checkout_tax 20 20 0 6 0 0%
polar/checkout/service.py CheckoutService._update_checkout_ip_geolocation 16 16 0 8 0 0%
polar/checkout/service.py CheckoutService._update_trial_end 12 12 0 6 0 0%
polar/checkout/service.py CheckoutService._validate_subscription_uniqueness 20 20 0 16 0 0%
polar/checkout/service.py CheckoutService._validate_custom_price_amount 6 6 0 6 0 0%
polar/checkout/service.py CheckoutService._get_required_confirm_fields 9 9 0 8 0 0%
polar/checkout/service.py CheckoutService._create_or_update_customer 45 45 0 30 0 0%
polar/checkout/service.py CheckoutService._create_ad_hoc_custom_price 10 10 0 4 0 0%
polar/checkout/service.py CheckoutService._after_checkout_created 1 1 0 0 0 0%
polar/checkout/service.py CheckoutService._after_checkout_updated 4 4 0 2 0 0%
polar/checkout/service.py CheckoutService._eager_load_product 2 2 0 0 0 0%
polar/checkout/service.py (no function) 123 0 0 6 2 98%
polar/checkout/sorting.py (no function) 9 0 0 0 0 100%
polar/checkout/tasks.py CheckoutDoesNotExist.__init__ 3 3 0 0 0 0%
polar/checkout/tasks.py handle_free_success 6 6 0 2 0 0%
polar/checkout/tasks.py expire_open_checkouts 3 3 0 0 0 0%
polar/checkout/tasks.py (no function) 12 0 0 2 0 100%
polar/checkout_link/__init__.py (no function) 0 0 0 0 0 100%
polar/checkout_link/auth.py (no function) 10 0 0 0 0 100%
polar/checkout_link/endpoints.py list 2 2 0 0 0 0%
polar/checkout_link/endpoints.py get 4 4 0 2 0 0%
polar/checkout_link/endpoints.py create 1 1 0 0 0 0%
polar/checkout_link/endpoints.py update 4 4 0 2 0 0%
polar/checkout_link/endpoints.py delete 4 4 0 2 0 0%
polar/checkout_link/endpoints.py redirect 19 19 0 8 0 0%
polar/checkout_link/endpoints.py (no function) 37 0 0 0 0 100%
polar/checkout_link/repository.py CheckoutLinkRepository.get_by_client_secret 2 2 0 0 0 0%
polar/checkout_link/repository.py CheckoutLinkRepository.get_eager_options 2 2 0 0 0 0%
polar/checkout_link/repository.py CheckoutLinkRepository.get_readable_statement 7 7 0 4 0 0%
polar/checkout_link/repository.py CheckoutLinkRepository.count_by_organization_id 2 2 0 0 0 0%
polar/checkout_link/repository.py CheckoutLinkRepository.archive_product 7 7 0 4 0 0%
polar/checkout_link/repository.py (no function) 16 1 0 2 1 89%
polar/checkout_link/schemas.py CheckoutLinkBase.url 1 1 0 0 0 0%
polar/checkout_link/schemas.py (no function) 60 0 0 0 0 100%
polar/checkout_link/service.py CheckoutLinkService.list 22 22 0 14 0 0%
polar/checkout_link/service.py CheckoutLinkService.get_by_id 3 3 0 0 0 0%
polar/checkout_link/service.py CheckoutLinkService.create 14 14 0 8 0 0%
polar/checkout_link/service.py CheckoutLinkService.update 14 14 0 8 0 0%
polar/checkout_link/service.py CheckoutLinkService.delete 2 2 0 0 0 0%
polar/checkout_link/service.py CheckoutLinkService._get_validated_products 17 17 0 10 0 0%
polar/checkout_link/service.py CheckoutLinkService._get_validated_price 12 12 0 6 0 0%
polar/checkout_link/service.py CheckoutLinkService._get_validated_discount 4 4 0 2 0 0%
polar/checkout_link/service.py (no function) 30 0 0 0 0 100%
polar/checkout_link/sorting.py (no function) 10 0 0 0 0 100%
polar/config.py _validate_email_renderer_binary_path 3 1 0 2 1 60%
polar/config.py Settings.redis_url 1 0 0 0 0 100%
polar/config.py Settings.get_postgres_dsn 1 0 0 0 0 100%
polar/config.py Settings.is_read_replica_configured 1 0 0 0 0 100%
polar/config.py Settings.get_postgres_read_dsn 3 1 0 2 1 60%
polar/config.py Settings.is_environment 1 0 0 0 0 100%
polar/config.py Settings.is_development 1 0 0 0 0 100%
polar/config.py Settings.is_testing 1 0 0 0 0 100%
polar/config.py Settings.is_sandbox 1 0 0 0 0 100%
polar/config.py Settings.is_production 1 1 0 0 0 0%
polar/config.py Settings.generate_external_url 1 1 0 0 0 0%
polar/config.py Settings.generate_frontend_url 1 1 0 0 0 0%
polar/config.py Settings.generate_backoffice_url 3 3 0 2 0 0%
polar/config.py Settings.stripe_descriptor_suffix_max_length 1 1 0 0 0 0%
polar/config.py Settings.get_minimum_payout_for_currency 1 1 0 0 0 0%
polar/config.py (no function) 169 0 0 0 0 100%
polar/currency/__init__.py (no function) 0 0 0 0 0 100%
polar/currency/schemas.py (no function) 5 5 0 0 0 0%
polar/custom_field/__init__.py (no function) 0 0 0 0 0 100%
polar/custom_field/attachment.py AttachedCustomFieldMixin.custom_field 1 0 0 0 0 100%
polar/custom_field/attachment.py track_attached_custom_field_mixin 2 0 0 2 0 100%
polar/custom_field/attachment.py (no function) 15 1 0 2 1 88%
polar/custom_field/auth.py (no function) 10 0 0 0 0 100%
polar/custom_field/data.py track_attached_custom_field_mixin 2 0 0 2 0 100%
polar/custom_field/data.py build_custom_field_data_schema 2 2 0 0 0 0%
polar/custom_field/data.py validate_custom_field_data 5 5 0 0 0 0%
polar/custom_field/data.py (no function) 24 2 0 4 3 82%
polar/custom_field/endpoints.py list 2 2 0 0 0 0%
polar/custom_field/endpoints.py get 4 4 0 2 0 0%
polar/custom_field/endpoints.py create 1 1 0 0 0 0%
polar/custom_field/endpoints.py update 4 4 0 2 0 0%
polar/custom_field/endpoints.py delete 4 4 0 2 0 0%
polar/custom_field/endpoints.py (no function) 29 0 0 0 0 100%
polar/custom_field/schemas.py (no function) 79 0 0 0 0 100%
polar/custom_field/service.py CustomFieldService.list 20 20 0 16 0 0%
polar/custom_field/service.py CustomFieldService.get_by_id 3 3 0 0 0 0%
polar/custom_field/service.py CustomFieldService.create 7 7 0 2 0 0%
polar/custom_field/service.py CustomFieldService.update 15 15 0 12 0 0%
polar/custom_field/service.py CustomFieldService.delete 6 6 0 2 0 0%
polar/custom_field/service.py CustomFieldService.get_by_organization_and_id 3 3 0 0 0 0%
polar/custom_field/service.py CustomFieldService._get_by_organization_id_and_slug 3 3 0 0 0 0%
polar/custom_field/service.py CustomFieldService._get_readable_custom_field_statement 7 7 0 4 0 0%
polar/custom_field/service.py (no function) 29 0 0 2 0 100%
polar/custom_field/sorting.py (no function) 10 0 0 0 0 100%
polar/customer/__init__.py (no function) 0 0 0 0 0 100%
polar/customer/auth.py (no function) 10 0 0 0 0 100%
polar/customer/endpoints.py list 20 20 0 10 0 0%
polar/customer/endpoints.py export 3 3 0 0 0 0%
polar/customer/endpoints.py export.create_csv 7 7 0 2 0 0%
polar/customer/endpoints.py get 8 8 0 4 0 0%
polar/customer/endpoints.py get_external 8 8 0 4 0 0%
polar/customer/endpoints.py get_state 4 4 0 2 0 0%
polar/customer/endpoints.py get_state_external 4 4 0 2 0 0%
polar/customer/endpoints.py create 9 9 0 4 0 0%
polar/customer/endpoints.py update 9 9 0 4 0 0%
polar/customer/endpoints.py update_external 9 9 0 4 0 0%
polar/customer/endpoints.py delete 4 4 0 2 0 0%
polar/customer/endpoints.py delete_external 4 4 0 2 0 0%
polar/customer/endpoints.py (no function) 46 0 0 0 0 100%
polar/customer/repository.py _get_changed_value 9 9 0 4 0 0%
polar/customer/repository.py CustomerRepository.create 5 5 0 2 0 0%
polar/customer/repository.py CustomerRepository.create_context 7 7 0 2 0 0%
polar/customer/repository.py CustomerRepository.update 22 22 0 12 0 0%
polar/customer/repository.py CustomerRepository.soft_delete 9 9 0 2 0 0%
polar/customer/repository.py CustomerRepository.touch_meters 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.set_meters_updated_at 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.get_by_id_and_organization 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.get_by_email_and_organization 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.get_by_external_id_and_organization 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.get_by_stripe_customer_id_and_organization 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.stream_by_organization 5 5 0 4 0 0%
polar/customer/repository.py CustomerRepository.get_readable_by_id 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.get_readable_by_external_id 2 2 0 0 0 0%
polar/customer/repository.py CustomerRepository.get_readable_statement 7 7 0 4 0 0%
polar/customer/repository.py (no function) 32 0 0 0 0 100%
polar/customer/schemas/__init__.py (no function) 0 0 0 0 0 100%
polar/customer/schemas/customer.py CustomerBase.avatar_url 2 2 0 0 0 0%
polar/customer/schemas/customer.py (no function) 53 0 0 2 0 100%
polar/customer/schemas/state.py (no function) 49 0 0 0 0 100%
polar/customer/service.py CustomerService.list 21 21 0 16 0 0%
polar/customer/service.py CustomerService.get 3 3 0 0 0 0%
polar/customer/service.py CustomerService.get_external 3 3 0 0 0 0%
polar/customer/service.py CustomerService.create 16 16 0 8 0 0%
polar/customer/service.py CustomerService.update 16 16 0 12 0 0%
polar/customer/service.py CustomerService.delete 4 4 0 0 0 0%
polar/customer/service.py CustomerService.get_state 14 14 0 4 0 0%
polar/customer/service.py CustomerService.webhook 6 6 0 4 0 0%
polar/customer/service.py CustomerService.load_members 2 2 0 0 0 0%
polar/customer/service.py (no function) 38 0 0 0 0 100%
polar/customer/sorting.py (no function) 9 0 0 0 0 100%
polar/customer/tasks.py CustomerDoesNotExist.__init__ 3 3 0 0 0 0%
polar/customer/tasks.py customer_webhook 6 6 0 2 0 0%
polar/customer/tasks.py customer_event 13 13 0 8 0 0%
polar/customer/tasks.py (no function) 18 0 0 2 0 100%
polar/customer_meter/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_meter/auth.py (no function) 8 0 0 0 0 100%
polar/customer_meter/endpoints.py list 2 2 0 0 0 0%
polar/customer_meter/endpoints.py get 4 4 0 2 0 0%
polar/customer_meter/endpoints.py (no function) 21 0 0 0 0 100%
polar/customer_meter/repository.py CustomerMeterRepository.get_all_by_customer 2 2 0 0 0 0%
polar/customer_meter/repository.py CustomerMeterRepository.get_by_customer_and_meter 2 2 0 0 0 0%
polar/customer_meter/repository.py CustomerMeterRepository.get_readable_statement 7 7 0 4 0 0%
polar/customer_meter/repository.py CustomerMeterRepository.get_sorting_clause 19 19 0 18 0 0%
polar/customer_meter/repository.py (no function) 15 0 0 0 0 100%
polar/customer_meter/scheduler.py enqueue_update_customer 2 2 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.__init__ 3 3 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.shutdown 2 2 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.lookup_job 1 1 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.get_due_jobs 4 4 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.get_next_run_time 6 6 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.get_all_jobs 5 5 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.remove_job 4 4 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.add_job 1 1 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.update_job 1 1 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore.remove_all_jobs 1 1 0 0 0 0%
polar/customer_meter/scheduler.py CustomerMeterJobStore._list_jobs_from_statement 10 10 0 2 0 0%
polar/customer_meter/scheduler.py (no function) 28 28 0 0 0 0%
polar/customer_meter/schemas.py (no function) 16 0 0 0 0 100%
polar/customer_meter/service.py CustomerMeterService.list 13 13 0 8 0 0%
polar/customer_meter/service.py CustomerMeterService.get 3 3 0 0 0 0%
polar/customer_meter/service.py CustomerMeterService.update_customer 10 10 0 4 0 0%
polar/customer_meter/service.py CustomerMeterService.update_customer_meter 22 22 0 6 0 0%
polar/customer_meter/service.py CustomerMeterService.get_rollover_units 13 13 0 2 0 0%
polar/customer_meter/service.py CustomerMeterService._get_current_window_events_statement 6 6 0 2 0 0%
polar/customer_meter/service.py (no function) 30 0 0 0 0 100%
polar/customer_meter/sorting.py (no function) 15 0 0 0 0 100%
polar/customer_meter/tasks.py CustomerDoesNotExist.__init__ 3 3 0 0 0 0%
polar/customer_meter/tasks.py update_customer 8 8 0 2 0 0%
polar/customer_meter/tasks.py (no function) 11 0 0 2 0 100%
polar/customer_portal/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_portal/auth.py (no function) 11 0 0 0 0 100%
polar/customer_portal/endpoints/__init__.py (no function) 26 0 0 0 0 100%
polar/customer_portal/endpoints/benefit_grant.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/benefit_grant.py get 4 4 0 2 0 0%
polar/customer_portal/endpoints/benefit_grant.py update 4 4 0 2 0 0%
polar/customer_portal/endpoints/benefit_grant.py (no function) 29 0 0 0 0 100%
polar/customer_portal/endpoints/customer.py stream 3 3 0 0 0 0%
polar/customer_portal/endpoints/customer.py get 1 1 0 0 0 0%
polar/customer_portal/endpoints/customer.py update 1 1 0 0 0 0%
polar/customer_portal/endpoints/customer.py list_payment_methods 2 2 0 0 0 0%
polar/customer_portal/endpoints/customer.py add_payment_method 1 1 0 0 0 0%
polar/customer_portal/endpoints/customer.py confirm_payment_method 1 1 0 0 0 0%
polar/customer_portal/endpoints/customer.py delete_payment_method 4 4 0 2 0 0%
polar/customer_portal/endpoints/customer.py (no function) 32 0 0 0 0 100%
polar/customer_portal/endpoints/customer_meter.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/customer_meter.py get 4 4 0 2 0 0%
polar/customer_portal/endpoints/customer_meter.py (no function) 20 0 0 0 0 100%
polar/customer_portal/endpoints/customer_seat.py list_seats 24 24 0 8 0 0%
polar/customer_portal/endpoints/customer_seat.py assign_seat 25 25 0 10 0 0%
polar/customer_portal/endpoints/customer_seat.py revoke_seat 5 5 0 2 0 0%
polar/customer_portal/endpoints/customer_seat.py resend_invitation 5 5 0 2 0 0%
polar/customer_portal/endpoints/customer_seat.py list_claimed_subscriptions 4 4 0 0 0 0%
polar/customer_portal/endpoints/customer_seat.py (no function) 31 0 0 0 0 100%
polar/customer_portal/endpoints/customer_session.py request 5 5 0 0 0 0%
polar/customer_portal/endpoints/customer_session.py authenticate 2 2 0 0 0 0%
polar/customer_portal/endpoints/customer_session.py introspect 3 3 0 0 0 0%
polar/customer_portal/endpoints/customer_session.py (no function) 17 0 0 0 0 100%
polar/customer_portal/endpoints/downloadables.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/downloadables.py get 3 3 0 0 0 0%
polar/customer_portal/endpoints/downloadables.py (no function) 16 0 0 0 0 100%
polar/customer_portal/endpoints/license_keys.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/license_keys.py get 9 9 0 4 0 0%
polar/customer_portal/endpoints/license_keys.py validate 2 2 0 0 0 0%
polar/customer_portal/endpoints/license_keys.py activate 2 2 0 0 0 0%
polar/customer_portal/endpoints/license_keys.py deactivate 2 2 0 0 0 0%
polar/customer_portal/endpoints/license_keys.py (no function) 26 0 0 0 0 100%
polar/customer_portal/endpoints/oauth_accounts.py OAuthCallbackError.__init__ 1 1 0 0 0 0%
polar/customer_portal/endpoints/oauth_accounts.py authorize 6 6 0 0 0 0%
polar/customer_portal/endpoints/oauth_accounts.py callback 39 39 0 10 0 0%
polar/customer_portal/endpoints/oauth_accounts.py (no function) 34 0 0 0 0 100%
polar/customer_portal/endpoints/order.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/order.py get 4 4 0 2 0 0%
polar/customer_portal/endpoints/order.py update 4 4 0 2 0 0%
polar/customer_portal/endpoints/order.py generate_invoice 4 4 0 2 0 0%
polar/customer_portal/endpoints/order.py invoice 4 4 0 2 0 0%
polar/customer_portal/endpoints/order.py get_payment_status 8 8 0 4 0 0%
polar/customer_portal/endpoints/order.py confirm_retry_payment 4 4 0 2 0 0%
polar/customer_portal/endpoints/order.py (no function) 38 0 0 0 0 100%
polar/customer_portal/endpoints/organization.py get 4 4 0 2 0 0%
polar/customer_portal/endpoints/organization.py (no function) 13 0 0 0 0 100%
polar/customer_portal/endpoints/subscription.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/subscription.py get 4 4 0 2 0 0%
polar/customer_portal/endpoints/subscription.py get_charge_preview 9 9 0 8 0 0%
polar/customer_portal/endpoints/subscription.py update 6 6 0 2 0 0%
polar/customer_portal/endpoints/subscription.py cancel 6 6 0 2 0 0%
polar/customer_portal/endpoints/subscription.py (no function) 35 0 0 0 0 100%
polar/customer_portal/endpoints/wallet.py list 2 2 0 0 0 0%
polar/customer_portal/endpoints/wallet.py get 4 4 0 2 0 0%
polar/customer_portal/endpoints/wallet.py (no function) 21 0 0 0 0 100%
polar/customer_portal/repository/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_portal/repository/customer_meter.py CustomerMeterRepository.get_readable_statement 4 4 0 0 0 0%
polar/customer_portal/repository/customer_meter.py CustomerMeterRepository.get_sorting_clause 15 15 0 14 0 0%
polar/customer_portal/repository/customer_meter.py (no function) 14 0 0 0 0 100%
polar/customer_portal/repository/order.py CustomerOrderRepository.get_readable_statement 1 1 0 0 0 0%
polar/customer_portal/repository/order.py CustomerOrderRepository.get_eager_options 3 3 0 2 0 0%
polar/customer_portal/repository/order.py (no function) 13 1 0 2 1 87%
polar/customer_portal/repository/payment_method.py CustomerPaymentMethodRepository.get_readable_statement 1 1 0 0 0 0%
polar/customer_portal/repository/payment_method.py (no function) 8 0 0 0 0 100%
polar/customer_portal/repository/wallet.py CustomerWalletRepository.get_readable_statement 1 1 0 0 0 0%
polar/customer_portal/repository/wallet.py CustomerWalletRepository.get_eager_options 1 1 0 0 0 0%
polar/customer_portal/repository/wallet.py CustomerWalletRepository.get_sorting_clause 5 5 0 4 0 0%
polar/customer_portal/repository/wallet.py (no function) 12 0 0 0 0 100%
polar/customer_portal/schemas/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_portal/schemas/benefit_grant.py CustomerBenefitGrantDiscordUpdate.get_oauth_platform 1 1 0 0 0 0%
polar/customer_portal/schemas/benefit_grant.py CustomerBenefitGrantGitHubRepositoryUpdate.get_oauth_platform 1 1 0 0 0 0%
polar/customer_portal/schemas/benefit_grant.py (no function) 77 0 0 0 0 100%
polar/customer_portal/schemas/customer.py (no function) 39 0 0 0 0 100%
polar/customer_portal/schemas/customer_meter.py (no function) 8 0 0 0 0 100%
polar/customer_portal/schemas/customer_session.py (no function) 16 0 0 0 0 100%
polar/customer_portal/schemas/downloadables.py (no function) 23 0 0 0 0 100%
polar/customer_portal/schemas/oauth_accounts.py (no function) 3 0 0 0 0 100%
polar/customer_portal/schemas/order.py CustomerOrderConfirmPayment.validate_payment_method 5 5 0 4 0 0%
polar/customer_portal/schemas/order.py (no function) 39 0 0 2 0 100%
polar/customer_portal/schemas/organization.py (no function) 14 0 0 2 0 100%
polar/customer_portal/schemas/subscription.py CustomerSubscription.is_polar_managed 1 1 0 0 0 0%
polar/customer_portal/schemas/subscription.py (no function) 39 0 0 0 0 100%
polar/customer_portal/schemas/wallet.py (no function) 3 0 0 0 0 100%
polar/customer_portal/service/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_portal/service/benefit_grant.py CustomerBenefitGrantService.list 25 25 0 20 0 0%
polar/customer_portal/service/benefit_grant.py CustomerBenefitGrantService.get_by_id 3 3 0 0 0 0%
polar/customer_portal/service/benefit_grant.py CustomerBenefitGrantService.update 20 20 0 12 0 0%
polar/customer_portal/service/benefit_grant.py CustomerBenefitGrantService._get_readable_benefit_grant_statement 1 1 0 0 0 0%
polar/customer_portal/service/benefit_grant.py (no function) 28 0 0 0 0 100%
polar/customer_portal/service/customer.py CustomerNotReady.__init__ 2 2 0 0 0 0%
polar/customer_portal/service/customer.py CustomerService.update 21 21 0 12 0 0%
polar/customer_portal/service/customer.py CustomerService.list_payment_methods 3 3 0 0 0 0%
polar/customer_portal/service/customer.py CustomerService.get_payment_method 3 3 0 0 0 0%
polar/customer_portal/service/customer.py CustomerService.add_payment_method 14 14 0 8 0 0%
polar/customer_portal/service/customer.py CustomerService.confirm_payment_method 9 9 0 4 0 0%
polar/customer_portal/service/customer.py CustomerService._save_payment_method 12 12 0 6 0 0%
polar/customer_portal/service/customer.py CustomerService.delete_payment_method 5 5 0 0 0 0%
polar/customer_portal/service/customer.py (no function) 28 0 0 2 0 100%
polar/customer_portal/service/customer_meter.py CustomerMeterService.list 8 8 0 4 0 0%
polar/customer_portal/service/customer_meter.py CustomerMeterService.get 3 3 0 0 0 0%
polar/customer_portal/service/customer_meter.py (no function) 15 0 0 0 0 100%
polar/customer_portal/service/customer_session.py OrganizationDoesNotExist.__init__ 3 3 0 0 0 0%
polar/customer_portal/service/customer_session.py CustomerDoesNotExist.__init__ 4 4 0 0 0 0%
polar/customer_portal/service/customer_session.py CustomerSessionCodeInvalidOrExpired.__init__ 1 1 0 0 0 0%
polar/customer_portal/service/customer_session.py CustomerSessionService.request 12 12 0 4 0 0%
polar/customer_portal/service/customer_session.py CustomerSessionService.send 8 8 0 0 0 0%
polar/customer_portal/service/customer_session.py CustomerSessionService.authenticate 12 12 0 4 0 0%
polar/customer_portal/service/customer_session.py CustomerSessionService._generate_code_hash 3 3 0 0 0 0%
polar/customer_portal/service/customer_session.py (no function) 30 0 0 2 0 100%
polar/customer_portal/service/downloadables.py DownloadableService.get_list 4 4 0 2 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.grant_for_benefit_file 12 12 0 2 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.revoke_for_benefit 3 3 0 0 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.increment_download_count 5 5 0 0 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.generate_downloadable_schemas 5 5 0 2 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.generate_downloadable_schema 3 3 0 0 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.create_download_token 7 7 0 2 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.get_from_token_or_raise 14 14 0 2 0 0%
polar/customer_portal/service/downloadables.py DownloadableService.generate_download_schema 2 2 0 0 0 0%
polar/customer_portal/service/downloadables.py DownloadableService._get_base_query 1 1 0 0 0 0%
polar/customer_portal/service/downloadables.py (no function) 34 0 0 0 0 100%
polar/customer_portal/service/order.py InvoiceNotAvailable.__init__ 3 3 0 0 0 0%
polar/customer_portal/service/order.py OrderNotEligibleForRetry.__init__ 3 3 0 0 0 0%
polar/customer_portal/service/order.py PaymentAlreadyInProgress.__init__ 3 3 0 0 0 0%
polar/customer_portal/service/order.py CustomerOrderService.list 23 23 0 18 0 0%
polar/customer_portal/service/order.py CustomerOrderService.get_by_id 3 3 0 0 0 0%
polar/customer_portal/service/order.py CustomerOrderService.update 1 1 0 0 0 0%
polar/customer_portal/service/order.py CustomerOrderService.trigger_invoice_generation 1 1 0 0 0 0%
polar/customer_portal/service/order.py CustomerOrderService.get_order_invoice 4 4 0 2 0 0%
polar/customer_portal/service/order.py CustomerOrderService.confirm_retry_payment 1 1 0 0 0 0%
polar/customer_portal/service/order.py (no function) 40 0 0 2 0 100%
polar/customer_portal/service/organization.py CustomerOrganizationService.get_by_slug 3 3 0 0 0 0%
polar/customer_portal/service/organization.py (no function) 8 0 0 0 0 100%
polar/customer_portal/service/subscription.py UpdateSubscriptionNotAllowed.__init__ 1 1 0 0 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService.list 25 25 0 20 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService.get_by_id 3 3 0 0 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService.update 15 15 0 10 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService.update_product 1 1 0 0 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService.uncancel 1 1 0 0 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService.cancel 1 1 0 0 0 0%
polar/customer_portal/service/subscription.py CustomerSubscriptionService._get_readable_subscription_statement 1 1 0 0 0 0%
polar/customer_portal/service/subscription.py (no function) 34 0 0 2 0 100%
polar/customer_portal/service/wallet.py CustomerWalletService.list 4 4 0 0 0 0%
polar/customer_portal/service/wallet.py CustomerWalletService.get_by_id 3 3 0 0 0 0%
polar/customer_portal/service/wallet.py (no function) 14 0 0 0 0 100%
polar/customer_portal/sorting/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_portal/sorting/customer_meter.py (no function) 13 0 0 0 0 100%
polar/customer_portal/sorting/wallet.py (no function) 4 0 0 0 0 100%
polar/customer_seat/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_seat/auth.py (no function) 11 0 0 0 0 100%
polar/customer_seat/endpoints.py assign_seat 40 40 0 24 0 0%
polar/customer_seat/endpoints.py list_seats 26 26 0 10 0 0%
polar/customer_seat/endpoints.py revoke_seat 14 14 0 8 0 0%
polar/customer_seat/endpoints.py resend_invitation 14 14 0 8 0 0%
polar/customer_seat/endpoints.py get_claim_info 14 14 0 8 0 0%
polar/customer_seat/endpoints.py claim_stream 5 5 0 2 0 0%
polar/customer_seat/endpoints.py claim_seat 3 3 0 0 0 0%
polar/customer_seat/endpoints.py (no function) 40 0 0 0 0 100%
polar/customer_seat/repository.py CustomerSeatRepository.list_by_container 3 3 0 2 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_available_seats_count_for_container 3 3 0 2 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_container_and_customer 3 3 0 2 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_revoked_seat_by_container 3 3 0 2 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.list_by_subscription_id 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.list_by_order_id 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_invitation_token 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.count_assigned_seats_for_subscription 3 3 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_available_seats_count 8 8 0 2 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_available_seats_count_for_order 8 8 0 2 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.list_by_customer_id 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_subscription_and_customer 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_order_and_customer 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_revoked_seat_by_subscription 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_revoked_seat_by_order 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_id 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_id_for_customer 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_readable_statement 7 7 0 4 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_id_and_auth_subject 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_by_subscription_and_auth_subject 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_active_seat_for_customer 2 2 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_eager_options 1 1 0 0 0 0%
polar/customer_seat/repository.py CustomerSeatRepository.get_eager_options_with_prices 1 1 0 0 0 0%
polar/customer_seat/repository.py (no function) 37 0 0 0 0 100%
polar/customer_seat/schemas.py SeatAssign.validate_metadata 8 8 0 6 0 0%
polar/customer_seat/schemas.py SeatAssign.validate_identifiers 9 9 0 4 0 0%
polar/customer_seat/schemas.py CustomerSeat.extract_customer_email 10 10 0 10 0 0%
polar/customer_seat/schemas.py (no function) 52 0 0 0 0 100%
polar/customer_seat/sender.py send_seat_invitation_email 7 7 0 2 0 0%
polar/customer_seat/sender.py (no function) 9 0 0 0 0 100%
polar/customer_seat/service.py SeatNotAvailable.__init__ 3 3 0 0 0 0%
polar/customer_seat/service.py InvalidInvitationToken.__init__ 3 3 0 0 0 0%
polar/customer_seat/service.py FeatureNotEnabled.__init__ 2 2 0 0 0 0%
polar/customer_seat/service.py SeatAlreadyAssigned.__init__ 3 3 0 0 0 0%
polar/customer_seat/service.py SeatNotPending.__init__ 2 2 0 0 0 0%
polar/customer_seat/service.py InvalidSeatAssignmentRequest.__init__ 2 2 0 0 0 0%
polar/customer_seat/service.py CustomerNotFound.__init__ 3 3 0 0 0 0%
polar/customer_seat/service.py SeatService._get_customer_id 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._get_product 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._get_organization_id 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._get_seats_count 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._get_container_id 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._is_subscription 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._enqueue_benefit_grant 3 3 0 2 0 0%
polar/customer_seat/service.py SeatService._publish_seat_claimed_event 1 1 0 0 0 0%
polar/customer_seat/service.py SeatService._send_seat_claimed_webhook 4 4 0 2 0 0%
polar/customer_seat/service.py SeatService.check_seat_feature_enabled 7 7 0 4 0 0%
polar/customer_seat/service.py SeatService.list_seats 3 3 0 0 0 0%
polar/customer_seat/service.py SeatService.get_available_seats_count 3 3 0 0 0 0%
polar/customer_seat/service.py SeatService.count_assigned_seats_for_subscription 2 2 0 0 0 0%
polar/customer_seat/service.py SeatService.assign_seat 54 54 0 20 0 0%
polar/customer_seat/service.py SeatService.get_seat_by_token 7 7 0 4 0 0%
polar/customer_seat/service.py SeatService.claim_seat 31 31 0 12 0 0%
polar/customer_seat/service.py SeatService.revoke_seat 24 24 0 10 0 0%
polar/customer_seat/service.py SeatService.get_seat 16 16 0 12 0 0%
polar/customer_seat/service.py SeatService.resend_invitation 20 20 0 10 0 0%
polar/customer_seat/service.py SeatService.get_seat_for_customer 3 3 0 0 0 0%
polar/customer_seat/service.py SeatService.revoke_all_seats_for_subscription 11 11 0 4 0 0%
polar/customer_seat/service.py SeatService._find__or_create_customer 19 19 0 12 0 0%
polar/customer_seat/service.py (no function) 63 0 0 2 0 100%
polar/customer_session/__init__.py (no function) 0 0 0 0 0 100%
polar/customer_session/auth.py (no function) 8 0 0 0 0 100%
polar/customer_session/endpoints.py create 1 1 0 0 0 0%
polar/customer_session/endpoints.py (no function) 12 0 0 0 0 100%
polar/customer_session/schemas.py (no function) 20 0 0 0 0 100%
polar/customer_session/service.py CustomerSessionService.create 15 15 0 4 0 0%
polar/customer_session/service.py CustomerSessionService.create_customer_session 5 5 0 0 0 0%
polar/customer_session/service.py CustomerSessionService.get_by_token 6 1 0 2 1 75%
polar/customer_session/service.py CustomerSessionService.delete_expired 2 2 0 0 0 0%
polar/customer_session/service.py CustomerSessionService.revoke_leaked 6 6 0 2 0 0%
polar/customer_session/service.py (no function) 27 0 0 0 0 100%
polar/customer_session/tasks.py customer_session_delete_expired 2 2 0 0 0 0%
polar/customer_session/tasks.py (no function) 4 0 0 0 0 100%
polar/discount/__init__.py (no function) 0 0 0 0 0 100%
polar/discount/auth.py (no function) 10 0 0 0 0 100%
polar/discount/endpoints.py list 2 2 0 0 0 0%
polar/discount/endpoints.py get 4 4 0 2 0 0%
polar/discount/endpoints.py create 1 1 0 0 0 0%
polar/discount/endpoints.py update 4 4 0 2 0 0%
polar/discount/endpoints.py delete 4 4 0 2 0 0%
polar/discount/endpoints.py (no function) 28 0 0 0 0 100%
polar/discount/repository.py DiscountRedemptionRepository.set_subscription_by_checkout 2 2 0 0 0 0%
polar/discount/repository.py (no function) 7 0 0 0 0 100%
polar/discount/schemas.py _code_validator 7 7 0 6 0 0%
polar/discount/schemas.py _starts_at_ends_at_validator 3 3 0 4 0 0%
polar/discount/schemas.py DiscountCreateBase.validate_starts_at_ends_at 2 2 0 0 0 0%
polar/discount/schemas.py DiscountUpdate.validate_starts_at_ends_at 2 2 0 0 0 0%
polar/discount/schemas.py get_discriminator_value 9 9 0 4 0 0%
polar/discount/schemas.py (no function) 106 0 0 8 0 100%
polar/discount/service.py DiscountNotRedeemableError.__init__ 1 1 0 0 0 0%
polar/discount/service.py DiscountService.list 18 18 0 14 0 0%
polar/discount/service.py DiscountService.get_by_id 3 3 0 0 0 0%
polar/discount/service.py DiscountService.create 20 20 0 10 0 0%
polar/discount/service.py DiscountService.update 44 44 0 28 0 0%
polar/discount/service.py DiscountService.delete 4 4 0 0 0 0%
polar/discount/service.py DiscountService.get_by_id_and_organization 12 12 0 10 0 0%
polar/discount/service.py DiscountService.get_by_code_and_organization 8 8 0 4 0 0%
polar/discount/service.py DiscountService.get_by_code_and_product 6 6 0 4 0 0%
polar/discount/service.py DiscountService.get_by_stripe_coupon_id 3 3 0 0 0 0%
polar/discount/service.py DiscountService.is_redeemable_discount 10 10 0 6 0 0%
polar/discount/service.py DiscountService.redeem_discount 8 8 0 2 0 0%
polar/discount/service.py DiscountService.remove_checkout_redemption 2 2 0 0 0 0%
polar/discount/service.py DiscountService._get_readable_discount_statement 7 7 0 4 0 0%
polar/discount/service.py (no function) 42 0 0 2 0 100%
polar/discount/sorting.py (no function) 10 0 0 0 0 100%
polar/email/__init__.py (no function) 0 0 0 0 0 100%
polar/email/react.py render_email_template 5 5 0 2 0 0%
polar/email/react.py (no function) 7 1 0 2 1 78%
polar/email/schemas.py (no function) 189 2 0 10 1 98%
polar/email/sender.py to_ascii_email 2 2 0 0 0 0%
polar/email/sender.py SendEmailError.__init__ 1 1 0 0 0 0%
polar/email/sender.py EmailSender.send 1 1 0 0 0 0%
polar/email/sender.py LoggingEmailSender.send 1 1 0 0 0 0%
polar/email/sender.py ResendEmailSender.__init__ 1 1 0 0 0 0%
polar/email/sender.py ResendEmailSender.send 12 12 0 2 0 0%
polar/email/sender.py enqueue_email 1 1 0 0 0 0%
polar/email/sender.py (no function) 41 1 0 4 1 96%
polar/email/tasks.py email_send 1 1 0 0 0 0%
polar/email/tasks.py (no function) 4 0 0 0 0 100%
polar/email_update/__init__.py (no function) 0 0 0 0 0 100%
polar/email_update/endpoints.py request_email_update 2 2 0 0 0 0%
polar/email_update/endpoints.py verify_email_update 8 8 0 0 0 0%
polar/email_update/endpoints.py (no function) 19 0 0 0 0 100%
polar/email_update/schemas.py EmailUpdateRequest.validate_return_to 1 1 0 0 0 0%
polar/email_update/schemas.py (no function) 10 0 0 0 0 100%
polar/email_update/service.py InvalidEmailUpdate.__init__ 1 1 0 0 0 0%
polar/email_update/service.py EmailUpdateService.request_email_update 10 10 0 2 0 0%
polar/email_update/service.py EmailUpdateService.send_email 6 6 0 0 0 0%
polar/email_update/service.py EmailUpdateService.verify 9 9 0 2 0 0%
polar/email_update/service.py EmailUpdateService._get_email_update_record_by_token_hash 3 3 0 0 0 0%
polar/email_update/service.py EmailUpdateService.delete_expired_record 3 3 0 0 0 0%
polar/email_update/service.py (no function) 29 0 0 2 0 100%
polar/email_update/tasks.py email_update_delete_expired_record 2 2 0 0 0 0%
polar/email_update/tasks.py (no function) 7 0 0 0 0 100%
polar/enums.py AccountType.get_display_name 1 1 0 0 0 0%
polar/enums.py SubscriptionRecurringInterval.as_literal 1 1 0 0 0 0%
polar/enums.py SubscriptionRecurringInterval.get_next_period 9 9 0 8 0 0%
polar/enums.py SubscriptionProrationBehavior.to_stripe 5 5 0 4 0 0%
polar/enums.py (no function) 41 0 0 0 0 100%
polar/event/__init__.py (no function) 0 0 0 0 0 100%
polar/event/auth.py (no function) 10 0 0 0 0 100%
polar/event/endpoints.py list 10 10 0 4 0 0%
polar/event/endpoints.py list_statistics_timeseries 11 11 0 6 0 0%
polar/event/endpoints.py list_names 2 2 0 0 0 0%
polar/event/endpoints.py get 4 4 0 2 0 0%
polar/event/endpoints.py ingest 1 1 0 0 0 0%
polar/event/endpoints.py (no function) 37 0 0 0 0 100%
polar/event/repository.py EventRepository.get_all_by_name 2 2 0 0 0 0%
polar/event/repository.py EventRepository.get_all_by_organization 2 2 0 0 0 0%
polar/event/repository.py EventRepository.insert_batch 23 23 0 14 0 0%
polar/event/repository.py EventRepository.get_latest_meter_reset 2 2 0 0 0 0%
polar/event/repository.py EventRepository.get_event_names_statement 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_readable_statement 7 7 0 4 0 0%
polar/event/repository.py EventRepository.get_customer_id_filter_clause 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_external_customer_id_filter_clause 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_meter_clause 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_meter_system_clause 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_meter_statement 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_by_pending_entries_statement 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_by_pending_entries_for_meter_statement 1 1 0 0 0 0%
polar/event/repository.py EventRepository.get_eager_options 1 1 0 0 0 0%
polar/event/repository.py EventRepository.list_with_closure_table 50 50 0 20 0 0%
polar/event/repository.py EventRepository.get_hierarchy_stats 64 64 0 32 0 0%
polar/event/repository.py (no function) 33 0 0 0 0 100%
polar/event/schemas.py default_timestamp_factory 1 1 0 0 0 0%
polar/event/schemas.py is_past_timestamp 4 4 0 2 0 0%
polar/event/schemas.py metadata_default_factory 1 1 0 0 0 0%
polar/event/schemas.py (no function) 148 0 0 0 0 100%
polar/event/service.py EventIngestValidationError.__init__ 2 2 0 0 0 0%
polar/event/service.py _topological_sort_events 30 30 0 22 0 0%
polar/event/service.py EventService._build_filtered_statement 36 36 0 30 0 0%
polar/event/service.py EventService.list 7 7 0 4 0 0%
polar/event/service.py EventService.get 3 3 0 0 0 0%
polar/event/service.py EventService.list_statistics_timeseries 36 36 0 16 0 0%
polar/event/service.py EventService.list_names 30 30 0 22 0 0%
polar/event/service.py EventService.ingest 60 60 0 28 0 0%
polar/event/service.py EventService.create_event 5 5 0 0 0 0%
polar/event/service.py EventService.populate_event_closures_batch 24 24 0 14 0 0%
polar/event/service.py EventService.ingested 10 10 0 2 0 0%
polar/event/service.py EventService._get_organization_validation_function 8 8 0 2 0 0%
polar/event/service.py EventService._get_organization_validation_function._validate_organization_id_by_organization 3 3 0 2 0 0%
polar/event/service.py EventService._get_organization_validation_function._validate_organization_id_by_user 5 5 0 4 0 0%
polar/event/service.py EventService._get_customer_validation_function 8 8 0 2 0 0%
polar/event/service.py EventService._get_customer_validation_function._validate_customer_id 3 3 0 2 0 0%
polar/event/service.py EventService._resolve_parent 14 14 0 6 0 0%
polar/event/service.py (no function) 46 0 0 2 0 100%
polar/event/sorting.py (no function) 21 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 0 0 0 0 0 100%
polar/event/system.py build_system_event 1 1 0 0 0 0%
polar/event/system.py (no function) 198 0 0 64 48 82%
polar/event/tasks.py event_ingested 2 2 0 0 0 0%
polar/event/tasks.py (no function) 6 0 0 0 0 100%
polar/event_type/__init__.py (no function) 2 0 0 0 0 100%
polar/event_type/auth.py (no function) 10 0 0 0 0 100%
polar/event_type/endpoints.py list 2 2 0 0 0 0%
polar/event_type/endpoints.py update 5 5 0 2 0 0%
polar/event_type/endpoints.py (no function) 18 0 0 0 0 100%
polar/event_type/repository.py EventTypeRepository.get_readable_statement 7 7 0 4 0 0%
polar/event_type/repository.py EventTypeRepository.get_event_types_with_stats_statement 1 1 0 0 0 0%
polar/event_type/repository.py EventTypeRepository.get_by_name_and_organization 3 3 0 0 0 0%
polar/event_type/repository.py EventTypeRepository.get_or_create 7 7 0 2 0 0%
polar/event_type/repository.py (no function) 13 0 0 0 0 100%
polar/event_type/schemas.py EventTypeUpdate.strip_and_validate_label 4 4 0 2 0 0%
polar/event_type/schemas.py EventTypeUpdate.strip_and_validate_label_property_selector 5 5 0 4 0 0%
polar/event_type/schemas.py (no function) 26 0 0 0 0 100%
polar/event_type/service.py EventTypeService.get 3 3 0 0 0 0%
polar/event_type/service.py EventTypeService.list_with_stats 40 40 0 30 0 0%
polar/event_type/service.py EventTypeService.update 4 4 0 0 0 0%
polar/event_type/service.py (no function) 20 0 0 0 0 100%
polar/event_type/sorting.py (no function) 11 0 0 0 0 100%
polar/eventstream/__init__.py (no function) 0 0 0 0 0 100%
polar/eventstream/endpoints.py _uvicorn_should_exit 13 13 0 10 0 0%
polar/eventstream/endpoints.py subscribe 17 17 0 6 0 0%
polar/eventstream/endpoints.py user_stream 2 2 0 0 0 0%
polar/eventstream/endpoints.py org_stream 5 5 0 2 0 0%
polar/eventstream/endpoints.py (no function) 24 0 0 0 0 100%
polar/eventstream/service.py Receivers.generate_channel_name 1 1 0 0 0 0%
polar/eventstream/service.py Receivers.get_channels 10 10 0 8 0 0%
polar/eventstream/service.py send_event 3 3 0 2 0 0%
polar/eventstream/service.py publish 4 4 0 0 0 0%
polar/eventstream/service.py publish_members 6 6 0 2 0 0%
polar/eventstream/service.py (no function) 25 0 0 0 0 100%
polar/eventstream/tasks.py eventstream_publish 1 1 0 0 0 0%
polar/eventstream/tasks.py (no function) 4 0 0 0 0 100%
polar/exception_handlers.py polar_exception_handler 1 0 0 0 0 100%
polar/exception_handlers.py request_validation_exception_handler 1 0 0 0 0 100%
polar/exception_handlers.py polar_redirection_exception_handler 3 3 0 0 0 0%
polar/exception_handlers.py polar_not_modified_handler 1 1 0 0 0 0%
polar/exception_handlers.py add_exception_handlers 5 0 0 0 0 100%
polar/exception_handlers.py (no function) 12 0 0 0 0 100%
polar/exceptions.py PolarError.__init__ 4 0 0 0 0 100%
polar/exceptions.py PolarError.schema 6 0 0 2 0 100%
polar/exceptions.py PolarTaskError.__init__ 1 1 0 0 0 0%
polar/exceptions.py PolarRedirectionError.__init__ 2 2 0 0 0 0%
polar/exceptions.py BadRequest.__init__ 1 1 0 0 0 0%
polar/exceptions.py NotPermitted.__init__ 1 1 0 0 0 0%
polar/exceptions.py Unauthorized.__init__ 1 0 0 0 0 100%
polar/exceptions.py InternalServerError.__init__ 1 1 0 0 0 0%
polar/exceptions.py ResourceNotFound.__init__ 1 0 0 0 0 100%
polar/exceptions.py ResourceNotModified.__init__ 1 1 0 0 0 0%
polar/exceptions.py ResourceUnavailable.__init__ 1 1 0 0 0 0%
polar/exceptions.py ResourceAlreadyExists.__init__ 1 1 0 0 0 0%
polar/exceptions.py PaymentNotReady.__init__ 1 1 0 0 0 0%
polar/exceptions.py PolarRequestValidationError.__init__ 1 1 0 0 0 0%
polar/exceptions.py PolarRequestValidationError.errors 5 5 0 2 0 0%
polar/exceptions.py (no function) 43 0 0 0 0 100%
polar/external_event/__init__.py (no function) 0 0 0 0 0 100%
polar/external_event/repository.py ExternalEventRepository.get_by_source_and_id 2 2 0 0 0 0%
polar/external_event/repository.py ExternalEventRepository.get_by_source_and_external_id 2 2 0 0 0 0%
polar/external_event/repository.py ExternalEventRepository.get_all_unhandled 4 4 0 2 0 0%
polar/external_event/repository.py ExternalEventRepository.get_sorting_clause 9 9 0 8 0 0%
polar/external_event/repository.py (no function) 12 0 0 0 0 100%
polar/external_event/service.py ExternalEventDoesNotExist.__init__ 3 3 0 0 0 0%
polar/external_event/service.py ExternalEventAlreadyHandled.__init__ 3 3 0 0 0 0%
polar/external_event/service.py ExternalEventService.enqueue 7 7 0 2 0 0%
polar/external_event/service.py ExternalEventService.resend 3 3 0 2 0 0%
polar/external_event/service.py ExternalEventService.handle 11 11 0 4 0 0%
polar/external_event/service.py ExternalEventService.handle_stripe 2 2 0 0 0 0%
polar/external_event/service.py (no function) 24 0 0 2 0 100%
polar/external_event/sorting.py (no function) 10 0 0 0 0 100%
polar/file/__init__.py (no function) 0 0 0 0 0 100%
polar/file/auth.py (no function) 9 0 0 0 0 100%
polar/file/endpoints.py list 2 2 0 0 0 0%
polar/file/endpoints.py create 3 3 0 0 0 0%
polar/file/endpoints.py uploaded 4 4 0 2 0 0%
polar/file/endpoints.py update 4 4 0 2 0 0%
polar/file/endpoints.py delete 4 4 0 2 0 0%
polar/file/endpoints.py (no function) 28 0 0 0 0 100%
polar/file/repository.py FileRepository.get_readable_statement 7 7 0 4 0 0%
polar/file/repository.py FileRepository.get_all_by_organization 5 5 0 2 0 0%
polar/file/repository.py FileRepository.get_sorting_clause 5 5 0 4 0 0%
polar/file/repository.py (no function) 14 0 0 0 0 100%
polar/file/s3.py _get_s3_service 1 0 0 0 0 100%
polar/file/s3.py (no function) 5 0 0 0 0 100%
polar/file/schemas.py PublicFileReadBase.public_url 1 1 0 0 0 0%
polar/file/schemas.py FileDownload.from_presigned 4 4 0 2 0 0%
polar/file/schemas.py (no function) 60 0 0 2 0 100%
polar/file/service.py FileService.list 7 7 0 4 0 0%
polar/file/service.py FileService.get 3 3 0 0 0 0%
polar/file/service.py FileService.patch 12 12 0 6 0 0%
polar/file/service.py FileService.generate_presigned_upload 7 7 0 0 0 0%
polar/file/service.py FileService.complete_upload 14 14 0 6 0 0%
polar/file/service.py FileService.generate_download_url 2 2 0 0 0 0%
polar/file/service.py FileService.generate_downloadable_schema 2 2 0 0 0 0%
polar/file/service.py FileService.delete 9 9 0 0 0 0%
polar/file/service.py FileService.get_selectable_product_media_file 3 3 0 0 0 0%
polar/file/service.py (no function) 26 0 0 2 0 100%
polar/file/sorting.py (no function) 4 0 0 0 0 100%
polar/health/endpoints.py healthz 9 5 0 0 0 44%
polar/health/endpoints.py (no function) 10 0 0 0 0 100%
polar/held_balance/__init__.py (no function) 0 0 0 0 0 100%
polar/held_balance/service.py HeldBalanceService.create 3 3 0 0 0 0%
polar/held_balance/service.py HeldBalanceService.release_account 14 14 0 4 0 0%
polar/held_balance/service.py (no function) 20 0 0 2 0 100%
polar/integrations/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/apple/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/apple/endpoints.py apple_authorize 11 11 0 4 0 0%
polar/integrations/apple/endpoints.py apple_callback 35 35 0 12 0 0%
polar/integrations/apple/endpoints.py (no function) 27 0 0 2 0 100%
polar/integrations/apple/service.py get_apple_oauth_client 5 5 0 2 0 0%
polar/integrations/apple/service.py CannotLinkUnverifiedEmailError.__init__ 2 2 0 0 0 0%
polar/integrations/apple/service.py AccountLinkedToAnotherUserError.__init__ 2 2 0 0 0 0%
polar/integrations/apple/service.py AppleService.get_updated_or_create 24 24 0 6 0 0%
polar/integrations/apple/service.py AppleService.link_user 14 14 0 4 0 0%
polar/integrations/apple/service.py AppleService._decode_profile 2 2 0 0 0 0%
polar/integrations/apple/service.py (no function) 33 0 0 2 0 100%
polar/integrations/aws/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/aws/s3/__init__.py (no function) 3 0 0 0 0 100%
polar/integrations/aws/s3/client.py get_client 1 0 0 0 0 100%
polar/integrations/aws/s3/client.py (no function) 9 1 0 2 1 82%
polar/integrations/aws/s3/exceptions.py (no function) 2 0 0 2 0 100%
polar/integrations/aws/s3/schemas.py get_downloadable_content_disposition 1 1 0 0 0 0%
polar/integrations/aws/s3/schemas.py S3FileCreatePart.get_boto3_arguments 3 3 0 2 0 0%
polar/integrations/aws/s3/schemas.py S3File.size_readable 1 1 0 0 0 0%
polar/integrations/aws/s3/schemas.py S3File.to_metadata 6 6 0 4 0 0%
polar/integrations/aws/s3/schemas.py S3File.from_head 2 2 0 0 0 0%
polar/integrations/aws/s3/schemas.py S3FileUploadPart.generate_headers 3 3 0 2 0 0%
polar/integrations/aws/s3/schemas.py S3FileUploadCompleted.generate_base64_multipart_checksum 3 3 0 0 0 0%
polar/integrations/aws/s3/schemas.py S3FileUploadCompleted.get_boto3_arguments 14 14 0 6 0 0%
polar/integrations/aws/s3/schemas.py (no function) 76 0 0 0 0 100%
polar/integrations/aws/s3/service.py S3Service.__init__ 3 0 0 0 0 100%
polar/integrations/aws/s3/service.py S3Service.upload 8 8 0 4 0 0%
polar/integrations/aws/s3/service.py S3Service.create_multipart_upload 17 17 0 6 0 0%
polar/integrations/aws/s3/service.py S3Service.generate_presigned_upload_parts 8 8 0 2 0 0%
polar/integrations/aws/s3/service.py S3Service.get_object_or_raise 5 5 0 0 0 0%
polar/integrations/aws/s3/service.py S3Service.get_head_or_raise 5 5 0 0 0 0%
polar/integrations/aws/s3/service.py S3Service.complete_multipart_upload 8 8 0 2 0 0%
polar/integrations/aws/s3/service.py S3Service.generate_presigned_download_url 5 5 0 0 0 0%
polar/integrations/aws/s3/service.py S3Service.get_public_url 2 2 0 0 0 0%
polar/integrations/aws/s3/service.py S3Service.delete_file 2 2 0 0 0 0%
polar/integrations/aws/s3/service.py (no function) 25 2 0 2 1 89%
polar/integrations/discord/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/discord/client.py DiscordClient.__init__ 1 0 0 0 0 100%
polar/integrations/discord/client.py DiscordClient.get_me 3 3 0 0 0 0%
polar/integrations/discord/client.py DiscordClient.get_guild 3 3 0 0 0 0%
polar/integrations/discord/client.py DiscordClient.add_member 13 13 0 4 0 0%
polar/integrations/discord/client.py DiscordClient.add_member_role 5 5 0 0 0 0%
polar/integrations/discord/client.py DiscordClient.remove_member_role 5 5 0 0 0 0%
polar/integrations/discord/client.py DiscordClient.remove_member 5 5 0 0 0 0%
polar/integrations/discord/client.py DiscordClient._handle_response 2 2 0 0 0 0%
polar/integrations/discord/client.py (no function) 17 0 0 0 0 100%
polar/integrations/discord/endpoints.py get_decoded_token_state 5 5 0 0 0 0%
polar/integrations/discord/endpoints.py discord_bot_authorize 4 4 0 0 0 0%
polar/integrations/discord/endpoints.py discord_bot_callback 18 18 0 4 0 0%
polar/integrations/discord/endpoints.py discord_guild_lookup 6 6 0 0 0 0%
polar/integrations/discord/endpoints.py (no function) 25 0 0 0 0 100%
polar/integrations/discord/oauth.py (no function) 4 0 0 0 0 100%
polar/integrations/discord/schemas.py DiscordGuildRole.int_color_to_hex 3 3 0 2 0 0%
polar/integrations/discord/schemas.py (no function) 16 0 0 0 0 100%
polar/integrations/discord/service.py DiscordAccountNotConnected.__init__ 3 3 0 0 0 0%
polar/integrations/discord/service.py DiscordExpiredAccessToken.__init__ 3 3 0 0 0 0%
polar/integrations/discord/service.py DiscordCustomerAccountDoesNotExist.__init__ 4 4 0 0 0 0%
polar/integrations/discord/service.py DiscordCustomerExpiredAccessToken.__init__ 4 4 0 0 0 0%
polar/integrations/discord/service.py DiscordBotService.get_guild 10 10 0 8 0 0%
polar/integrations/discord/service.py DiscordBotService.add_member 1 1 0 0 0 0%
polar/integrations/discord/service.py DiscordBotService.remove_member_role 1 1 0 0 0 0%
polar/integrations/discord/service.py DiscordBotService.remove_member 1 1 0 0 0 0%
polar/integrations/discord/service.py DiscordBotService.is_bot_role_above_role 8 8 0 8 0 0%
polar/integrations/discord/service.py (no function) 24 0 0 2 0 100%
polar/integrations/discord/webhook.py get_branded_discord_embed 1 1 0 0 0 0%
polar/integrations/discord/webhook.py (no function) 45 0 0 0 0 100%
polar/integrations/github/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/github/client.py ensure_expected_response 5 5 0 2 0 0%
polar/integrations/github/client.py get_client 1 1 0 0 0 0%
polar/integrations/github/client.py get_app_client 1 1 0 0 0 0%
polar/integrations/github/client.py get_app_installation_client 3 3 0 2 0 0%
polar/integrations/github/client.py (no function) 17 0 0 10 0 100%
polar/integrations/github/endpoints.py NotPermittedOrganizationBillingPlan.__init__ 2 2 0 0 0 0%
polar/integrations/github/endpoints.py github_authorize 11 11 0 6 0 0%
polar/integrations/github/endpoints.py github_callback 28 28 0 10 0 0%
polar/integrations/github/endpoints.py secret_scanning 5 5 0 0 0 0%
polar/integrations/github/endpoints.py (no function) 34 0 0 2 0 100%
polar/integrations/github/service/__init__.py (no function) 2 0 0 0 0 100%
polar/integrations/github/service/secret_scanning.py _normalize_token_type 3 3 0 2 0 0%
polar/integrations/github/service/secret_scanning.py RevokedLeakedProtocol.revoke_leaked 0 0 0 0 0 100%
polar/integrations/github/service/secret_scanning.py PublicKeyNotFound.__init__ 3 3 0 0 0 0%
polar/integrations/github/service/secret_scanning.py InvalidPublicKey.__init__ 4 4 0 0 0 0%
polar/integrations/github/service/secret_scanning.py InvalidSignature.__init__ 5 5 0 0 0 0%
polar/integrations/github/service/secret_scanning.py GitHubSecretScanningService.verify_signature 10 10 0 2 0 0%
polar/integrations/github/service/secret_scanning.py GitHubSecretScanningService.validate_payload 4 4 0 0 0 0%
polar/integrations/github/service/secret_scanning.py GitHubSecretScanningService.handle_alert 5 5 0 2 0 0%
polar/integrations/github/service/secret_scanning.py GitHubSecretScanningService._check_token 3 3 0 0 0 0%
polar/integrations/github/service/secret_scanning.py GitHubSecretScanningService._get_public_key 7 7 0 4 0 0%
polar/integrations/github/service/secret_scanning.py (no function) 55 0 0 4 1 98%
polar/integrations/github/service/user.py NoPrimaryEmailError.__init__ 1 1 0 0 0 0%
polar/integrations/github/service/user.py CannotLinkUnverifiedEmailError.__init__ 2 2 0 0 0 0%
polar/integrations/github/service/user.py AccountLinkedToAnotherUserError.__init__ 2 2 0 0 0 0%
polar/integrations/github/service/user.py GithubUserService.get_updated_or_create 26 26 0 6 0 0%
polar/integrations/github/service/user.py GithubUserService.link_user 19 19 0 4 0 0%
polar/integrations/github/service/user.py GithubUserService.fetch_authenticated_user_primary_email 11 11 0 4 0 0%
polar/integrations/github/service/user.py GithubUserService._fetch_authenticated_user 3 3 0 0 0 0%
polar/integrations/github/service/user.py (no function) 31 1 0 4 1 94%
polar/integrations/github_repository_benefit/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/github_repository_benefit/endpoints.py get_decoded_token_state 8 8 0 2 0 0%
polar/integrations/github_repository_benefit/endpoints.py NotPermittedOrganizationBillingPlan.__init__ 2 2 0 0 0 0%
polar/integrations/github_repository_benefit/endpoints.py user_authorize 4 4 0 0 0 0%
polar/integrations/github_repository_benefit/endpoints.py user_callback 8 8 0 0 0 0%
polar/integrations/github_repository_benefit/endpoints.py user_repositories 5 5 0 0 0 0%
polar/integrations/github_repository_benefit/endpoints.py installation_install 1 1 0 0 0 0%
polar/integrations/github_repository_benefit/endpoints.py installation_callback 2 2 0 0 0 0%
polar/integrations/github_repository_benefit/endpoints.py (no function) 33 0 0 2 0 100%
polar/integrations/github_repository_benefit/schemas.py (no function) 12 0 0 0 0 100%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitAccountNotConnected.__init__ 3 3 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitExpiredAccessToken.__init__ 3 3 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryRefreshTokenError.__init__ 2 2 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitNoAccess.__init__ 2 2 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.create_oauth_account 17 17 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.update_oauth_account 14 14 0 2 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.get_oauth_account 17 17 0 6 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.list_user_installations 6 6 0 2 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.list_user_installations.map_installations_func 1 1 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.list_orgs_with_billing_plans 5 5 0 4 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.get_billing_plan 22 22 0 12 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.list_repositories 12 12 0 8 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.list_repositories.map_repos_func 1 1 0 0 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.get_repository_installation 5 5 0 2 0 0%
polar/integrations/github_repository_benefit/service.py GitHubRepositoryBenefitUserService.user_has_access_to_repository 8 8 0 4 0 0%
polar/integrations/github_repository_benefit/service.py (no function) 41 1 0 4 1 96%
polar/integrations/github_repository_benefit/types.py (no function) 2 0 0 0 0 100%
polar/integrations/google/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/google/endpoints.py google_authorize 10 10 0 4 0 0%
polar/integrations/google/endpoints.py google_callback 28 28 0 10 0 0%
polar/integrations/google/endpoints.py (no function) 28 0 0 2 0 100%
polar/integrations/google/service.py CannotLinkUnverifiedEmailError.__init__ 2 2 0 0 0 0%
polar/integrations/google/service.py AccountLinkedToAnotherUserError.__init__ 2 2 0 0 0 0%
polar/integrations/google/service.py GoogleService.get_updated_or_create 24 24 0 6 0 0%
polar/integrations/google/service.py GoogleService.link_user 14 14 0 4 0 0%
polar/integrations/google/service.py GoogleService._get_profile 5 5 0 0 0 0%
polar/integrations/google/service.py (no function) 32 0 0 2 0 100%
polar/integrations/loops/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/loops/client.py LoopsClient.__init__ 1 0 0 0 0 100%
polar/integrations/loops/client.py LoopsClient.update_contact 3 3 0 0 0 0%
polar/integrations/loops/client.py LoopsClient.send_event 3 3 0 0 0 0%
polar/integrations/loops/client.py LoopsClient._handle_response 2 2 0 0 0 0%
polar/integrations/loops/client.py (no function) 37 0 0 0 0 100%
polar/integrations/loops/service.py Loops.user_organization_added 2 2 0 0 0 0%
polar/integrations/loops/service.py Loops.user_created_product 1 1 0 0 0 0%
polar/integrations/loops/service.py Loops.user_installed_github_organization 1 1 0 0 0 0%
polar/integrations/loops/service.py Loops.user_badged_github_issue 1 1 0 0 0 0%
polar/integrations/loops/service.py Loops.user_signup 3 3 0 2 0 0%
polar/integrations/loops/service.py Loops.user_update 5 5 0 2 0 0%
polar/integrations/loops/service.py Loops.user_created_personal_access_token 4 4 0 2 0 0%
polar/integrations/loops/service.py Loops.user_created_account 4 4 0 2 0 0%
polar/integrations/loops/service.py Loops.is_creator 4 4 0 2 0 0%
polar/integrations/loops/service.py Loops.get_updated_user_properties 4 4 0 0 0 0%
polar/integrations/loops/service.py Loops.enqueue_event 2 2 0 0 0 0%
polar/integrations/loops/service.py (no function) 21 0 0 0 0 100%
polar/integrations/loops/tasks.py loops_update_contact 1 1 0 0 0 0%
polar/integrations/loops/tasks.py loops_send_event 1 1 0 0 0 0%
polar/integrations/loops/tasks.py (no function) 8 0 0 0 0 100%
polar/integrations/open_collective/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/open_collective/service.py OpenCollectiveCollective.is_eligible 1 1 0 0 0 0%
polar/integrations/open_collective/service.py CollectiveNotFoundError.__init__ 1 1 0 0 0 0%
polar/integrations/open_collective/service.py OpenCollectiveService.__init__ 1 0 0 0 0 100%
polar/integrations/open_collective/service.py OpenCollectiveService.create_dashboard_link 1 1 0 0 0 0%
polar/integrations/open_collective/service.py OpenCollectiveService.get_collective 14 14 0 2 0 0%
polar/integrations/open_collective/service.py OpenCollectiveService._get_graphql_client 5 5 0 2 0 0%
polar/integrations/open_collective/service.py (no function) 30 0 0 0 0 100%
polar/integrations/plain/endpoints.py get_cards 8 8 0 4 0 0%
polar/integrations/plain/endpoints.py (no function) 11 0 0 0 0 100%
polar/integrations/plain/schemas.py (no function) 26 0 0 0 0 100%
polar/integrations/plain/service.py AccountAdminDoesNotExistError.__init__ 2 2 0 0 0 0%
polar/integrations/plain/service.py AccountReviewThreadCreationError.__init__ 3 3 0 0 0 0%
polar/integrations/plain/service.py NoUserFoundError.__init__ 2 2 0 0 0 0%
polar/integrations/plain/service.py _card_getter_task 2 2 0 0 0 0%
polar/integrations/plain/service.py PlainService.get_cards 14 14 0 10 0 0%
polar/integrations/plain/service.py PlainService.create_organization_review_thread 23 23 0 14 0 0%
polar/integrations/plain/service.py PlainService.create_appeal_review_thread 14 14 0 8 0 0%
polar/integrations/plain/service.py PlainService.create_organization_deletion_thread 10 10 0 6 0 0%
polar/integrations/plain/service.py PlainService._get_user_card 7 7 0 2 0 0%
polar/integrations/plain/service.py PlainService._get_organization_card 12 12 0 6 0 0%
polar/integrations/plain/service.py PlainService._get_organization_component_container 1 1 0 0 0 0%
polar/integrations/plain/service.py PlainService.get_customer_card 13 13 0 6 0 0%
polar/integrations/plain/service.py PlainService.get_customer_card._get_customer_container 4 4 0 2 0 0%
polar/integrations/plain/service.py PlainService._get_order_card 13 13 0 6 0 0%
polar/integrations/plain/service.py PlainService._get_order_card._get_order_container 2 2 0 0 0 0%
polar/integrations/plain/service.py PlainService._get_snippets_card 14 14 0 6 0 0%
polar/integrations/plain/service.py PlainService._get_snippets_card._get_snippet_container 7 7 0 4 0 0%
polar/integrations/plain/service.py PlainService._get_customer_identifier 5 5 0 4 0 0%
polar/integrations/plain/service.py PlainService.check_thread_exists 19 19 0 8 0 0%
polar/integrations/plain/service.py PlainService._get_plain_client 3 3 0 0 0 0%
polar/integrations/plain/service.py PlainService.create_manual_organization_thread 12 12 0 8 0 0%
polar/integrations/plain/service.py (no function) 49 0 0 2 0 100%
polar/integrations/stripe/__init__.py (no function) 0 0 0 0 0 100%
polar/integrations/stripe/endpoints.py enqueue 3 3 0 0 0 0%
polar/integrations/stripe/endpoints.py stripe_connect_refresh 3 3 0 2 0 0%
polar/integrations/stripe/endpoints.py WebhookEventGetter.__init__ 1 0 0 0 0 100%
polar/integrations/stripe/endpoints.py WebhookEventGetter.__call__ 8 8 0 0 0 0%
polar/integrations/stripe/endpoints.py webhook 2 2 0 2 0 0%
polar/integrations/stripe/endpoints.py webhook_connect 2 2 0 2 0 0%
polar/integrations/stripe/endpoints.py (no function) 24 0 0 0 0 100%
polar/integrations/stripe/payment.py OrderDoesNotExist.__init__ 3 3 0 0 0 0%
polar/integrations/stripe/payment.py OutdatedCheckoutIntent.__init__ 4 4 0 0 0 0%
polar/integrations/stripe/payment.py resolve_checkout 6 6 0 4 0 0%
polar/integrations/stripe/payment.py resolve_wallet 14 14 0 8 0 0%
polar/integrations/stripe/payment.py resolve_order 15 15 0 10 0 0%
polar/integrations/stripe/payment.py handle_success 20 20 0 14 0 0%
polar/integrations/stripe/payment.py handle_failure 12 12 0 8 0 0%
polar/integrations/stripe/payment.py (no function) 25 0 0 0 0 100%
polar/integrations/stripe/schemas.py (no function) 31 0 0 0 0 100%
polar/integrations/stripe/service.py MissingOrganizationBillingEmail.__init__ 3 3 0 0 0 0%
polar/integrations/stripe/service.py MissingLatestInvoiceForOutofBandSubscription.__init__ 3 3 0 0 0 0%
polar/integrations/stripe/service.py MissingPaymentMethod.__init__ 3 3 0 0 0 0%
polar/integrations/stripe/service.py StripeService.retrieve_intent 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_account 7 7 0 4 0 0%
polar/integrations/stripe/service.py StripeService.update_account 5 5 0 2 0 0%
polar/integrations/stripe/service.py StripeService.account_exists 5 5 0 0 0 0%
polar/integrations/stripe/service.py StripeService.delete_account 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.retrieve_balance 6 6 0 4 0 0%
polar/integrations/stripe/service.py StripeService.create_account_link 3 3 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_login_link 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.transfer 7 7 0 4 0 0%
polar/integrations/stripe/service.py StripeService.get_transfer 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.update_transfer 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_customer 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_product 5 5 0 2 0 0%
polar/integrations/stripe/service.py StripeService.create_price_for_product 5 5 0 2 0 0%
polar/integrations/stripe/service.py StripeService.update_product 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.archive_product 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.unarchive_product 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.archive_price 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_ad_hoc_custom_price 9 9 0 4 0 0%
polar/integrations/stripe/service.py StripeService.create_placeholder_price 7 7 0 2 0 0%
polar/integrations/stripe/service.py StripeService.update_subscription_price 20 20 0 10 0 0%
polar/integrations/stripe/service.py StripeService.update_subscription_discount 7 7 0 4 0 0%
polar/integrations/stripe/service.py StripeService.uncancel_subscription 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.cancel_subscription 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.revoke_subscription 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService._generate_subscription_cancellation_details 6 6 0 4 0 0%
polar/integrations/stripe/service.py StripeService.update_invoice 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_balance_transaction 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_invoice 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.list_balance_transactions 9 9 0 6 0 0%
polar/integrations/stripe/service.py StripeService.create_refund 5 5 0 2 0 0%
polar/integrations/stripe/service.py StripeService.get_charge 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_refund 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_dispute 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_payout 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_payment_intent 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_payment_intent 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_setup_intent 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_setup_intent 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_customer 5 5 0 2 0 0%
polar/integrations/stripe/service.py StripeService.update_customer 13 13 0 6 0 0%
polar/integrations/stripe/service.py StripeService.create_customer_session 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_out_of_band_subscription 11 11 0 4 0 0%
polar/integrations/stripe/service.py StripeService.update_out_of_band_subscription 27 27 0 16 0 0%
polar/integrations/stripe/service.py StripeService.set_automatically_charged_subscription 4 4 0 2 0 0%
polar/integrations/stripe/service.py StripeService._pay_out_of_band_subscription_invoice 6 6 0 4 0 0%
polar/integrations/stripe/service.py StripeService.create_out_of_band_invoice 20 20 0 10 0 0%
polar/integrations/stripe/service.py StripeService.create_invoice_item 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_tax_calculation 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_tax_calculation 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_tax_transaction 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.revert_tax_transaction 0 0 0 0 0 100%
polar/integrations/stripe/service.py StripeService.revert_tax_transaction 0 0 0 0 0 100%
polar/integrations/stripe/service.py StripeService.revert_tax_transaction 4 4 0 2 0 0%
polar/integrations/stripe/service.py StripeService.create_coupon 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.update_coupon 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.delete_coupon 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.list_payment_methods 3 3 0 2 0 0%
polar/integrations/stripe/service.py StripeService.get_payment_method 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.delete_payment_method 2 2 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_verification_session 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.create_verification_session 1 1 0 0 0 0%
polar/integrations/stripe/service.py StripeService.get_tax_rate 1 1 0 0 0 0%
polar/integrations/stripe/service.py (no function) 95 2 0 8 3 95%
polar/integrations/stripe/tasks.py stripe_api_connection_error_retry 2 0 0 0 0 100%
polar/integrations/stripe/tasks.py stripe_api_connection_error_retry.wrapper 5 5 0 0 0 0%
polar/integrations/stripe/tasks.py account_updated 4 4 0 0 0 0%
polar/integrations/stripe/tasks.py payment_intent_succeeded 16 16 0 10 0 0%
polar/integrations/stripe/tasks.py payment_intent_payment_failed 11 11 0 2 0 0%
polar/integrations/stripe/tasks.py setup_intent_succeeded 11 11 0 2 0 0%
polar/integrations/stripe/tasks.py setup_intent_setup_failed 9 9 0 2 0 0%
polar/integrations/stripe/tasks.py charge_pending 11 11 0 2 0 0%
polar/integrations/stripe/tasks.py charge_failed 9 9 0 2 0 0%
polar/integrations/stripe/tasks.py charge_succeeded 9 9 0 2 0 0%
polar/integrations/stripe/tasks.py refund_created 5 5 0 0 0 0%
polar/integrations/stripe/tasks.py refund_updated 5 5 0 0 0 0%
polar/integrations/stripe/tasks.py refund_failed 5 5 0 0 0 0%
polar/integrations/stripe/tasks.py charge_dispute_closed 7 7 0 0 0 0%
polar/integrations/stripe/tasks.py customer_subscription_updated 12 12 0 2 0 0%
polar/integrations/stripe/tasks.py customer_subscription_deleted 12 12 0 2 0 0%
polar/integrations/stripe/tasks.py invoice_created 12 12 0 2 0 0%
polar/integrations/stripe/tasks.py invoice_paid 10 10 0 2 0 0%
polar/integrations/stripe/tasks.py payout_updated 4 4 0 0 0 0%
polar/integrations/stripe/tasks.py payout_paid 4 4 0 0 0 0%
polar/integrations/stripe/tasks.py identity_verification_session_verified 4 4 0 0 0 0%
polar/integrations/stripe/tasks.py identity_verification_session_processing 4 4 0 0 0 0%
polar/integrations/stripe/tasks.py identity_verification_session_requires_input 4 4 0 0 0 0%
polar/integrations/stripe/tasks.py (no function) 94 0 0 2 0 100%
polar/integrations/stripe/utils.py get_expandable_id 5 5 0 4 0 0%
polar/integrations/stripe/utils.py get_fingerprint 3 3 0 2 0 0%
polar/integrations/stripe/utils.py (no function) 5 0 0 0 0 100%
polar/invoice/generator.py format_currency 1 1 0 0 0 0%
polar/invoice/generator.py format_number 1 1 0 0 0 0%
polar/invoice/generator.py format_percent 1 1 0 0 0 0%
polar/invoice/generator.py format_date 1 1 0 0 0 0%
polar/invoice/generator.py InvoiceHeadingItem.display_value 3 3 0 2 0 0%
polar/invoice/generator.py Invoice.formatted_subtotal_amount 1 1 0 0 0 0%
polar/invoice/generator.py Invoice.formatted_discount_amount 1 1 0 0 0 0%
polar/invoice/generator.py Invoice.formatted_tax_amount 1 1 0 0 0 0%
polar/invoice/generator.py Invoice.formatted_total_amount 2 2 0 0 0 0%
polar/invoice/generator.py Invoice.formatted_applied_balance_amount 3 3 0 2 0 0%
polar/invoice/generator.py Invoice.formatted_due_amount 4 4 0 2 0 0%
polar/invoice/generator.py Invoice.tax_displayed 1 1 0 0 0 0%
polar/invoice/generator.py Invoice.tax_label 12 12 0 10 0 0%
polar/invoice/generator.py Invoice.heading_items 1 1 0 0 0 0%
polar/invoice/generator.py Invoice.from_order 4 4 0 0 0 0%
polar/invoice/generator.py InvoiceGenerator.__init__ 8 8 0 0 0 0%
polar/invoice/generator.py InvoiceGenerator.cell_height 2 2 0 0 0 0%
polar/invoice/generator.py InvoiceGenerator.header 5 5 0 2 0 0%
polar/invoice/generator.py InvoiceGenerator.footer 4 4 0 0 0 0%
polar/invoice/generator.py InvoiceGenerator.generate 83 83 0 16 0 0%
polar/invoice/generator.py InvoiceGenerator.set_metadata 4 4 0 0 0 0%
polar/invoice/generator.py (no function) 102 0 0 0 0 100%
polar/invoice/service.py MissingAccountBillingDetails.__init__ 3 3 0 0 0 0%
polar/invoice/service.py InvoiceService.create_order_invoice 6 6 0 0 0 0%
polar/invoice/service.py InvoiceService.get_order_invoice_url 4 4 0 0 0 0%
polar/invoice/service.py InvoiceService.create_payout_invoice 25 25 0 8 0 0%
polar/invoice/service.py InvoiceService.get_payout_invoice_url 5 5 0 0 0 0%
polar/invoice/service.py (no function) 20 0 0 2 0 100%
polar/kit/__init__.py (no function) 0 0 0 0 0 100%
polar/kit/address.py Address.validate_state 10 3 0 10 4 65%
polar/kit/address.py Address.to_dict 1 1 0 0 0 0%
polar/kit/address.py Address.get_unprefixed_state 5 5 0 4 0 0%
polar/kit/address.py Address.has_state 1 1 0 0 0 0%
polar/kit/address.py Address.has_address 1 1 0 0 0 0%
polar/kit/address.py Address.to_text 23 23 0 18 0 0%
polar/kit/address.py AddressType.process_bind_param 3 3 0 2 0 0%
polar/kit/address.py AddressType.process_result_value 3 3 0 2 0 0%
polar/kit/address.py (no function) 113 5 0 2 1 95%
polar/kit/anonymization.py anonymize_for_deletion 3 3 0 0 0 0%
polar/kit/anonymization.py anonymize_email_for_deletion 2 2 0 0 0 0%
polar/kit/anonymization.py (no function) 3 0 0 0 0 100%
polar/kit/cors.py CORSMatcher.__call__ 1 0 0 2 1 67%
polar/kit/cors.py CORSConfig.get_middleware 1 0 0 0 0 100%
polar/kit/cors.py CORSMatcherMiddleware.__init__ 2 0 0 0 0 100%
polar/kit/cors.py CORSMatcherMiddleware.__call__ 18 10 0 8 1 42%
polar/kit/cors.py CORSMatcherMiddleware._get_config_middleware 4 4 0 4 0 0%
polar/kit/cors.py (no function) 23 0 0 0 0 100%
polar/kit/crypto.py _crc32_to_base62 7 7 0 2 0 0%
polar/kit/crypto.py get_token_hash 2 0 0 0 0 100%
polar/kit/crypto.py generate_token 4 4 0 0 0 0%
polar/kit/crypto.py generate_token_hash_pair 2 2 0 0 0 0%
polar/kit/crypto.py (no function) 9 0 0 0 0 100%
polar/kit/csv.py get_iterable_from_binary_io 2 2 0 2 0 0%
polar/kit/csv.py get_emails_from_csv 17 17 0 6 0 0%
polar/kit/csv.py IterableCSVWriter.__init__ 2 2 0 0 0 0%
polar/kit/csv.py IterableCSVWriter.getrow 2 2 0 0 0 0%
polar/kit/csv.py IterableCSVWriter.write 1 1 0 0 0 0%
polar/kit/csv.py IterableCSVWriter.read 1 1 0 0 0 0%
polar/kit/csv.py (no function) 15 2 0 2 1 82%
polar/kit/db/__init__.py (no function) 0 0 0 0 0 100%
polar/kit/db/models/__init__.py (no function) 2 0 0 0 0 100%
polar/kit/db/models/base.py TimestampedModel.set_modified_at 1 1 0 0 0 0%
polar/kit/db/models/base.py TimestampedModel.set_deleted_at 1 1 0 0 0 0%
polar/kit/db/models/base.py IDModel.__eq__ 1 1 0 0 0 0%
polar/kit/db/models/base.py IDModel.__hash__ 1 1 0 0 0 0%
polar/kit/db/models/base.py IDModel.__repr__ 5 5 0 2 0 0%
polar/kit/db/models/base.py IDModel.generate_id 1 1 0 0 0 0%
polar/kit/db/models/base.py (no function) 31 0 0 0 0 100%
polar/kit/db/postgres.py _json_obj_serializer 3 3 0 2 0 0%
polar/kit/db/postgres.py json_serializer 1 1 0 0 0 0%
polar/kit/db/postgres.py create_async_engine 6 0 0 4 2 80%
polar/kit/db/postgres.py create_sync_engine 6 0 0 4 2 80%
polar/kit/db/postgres.py create_async_sessionmaker 1 0 0 0 0 100%
polar/kit/db/postgres.py create_sync_sessionmaker 1 0 0 0 0 100%
polar/kit/db/postgres.py (no function) 24 0 0 0 0 100%
polar/kit/email.py _validate_email_dns 5 1 0 0 0 80%
polar/kit/email.py (no function) 15 1 0 2 1 88%
polar/kit/extensions/__init__.py (no function) 0 0 0 0 0 100%
polar/kit/extensions/sqlalchemy/__init__.py (no function) 3 0 0 0 0 100%
polar/kit/extensions/sqlalchemy/sql.py (no function) 6 0 0 0 0 100%
polar/kit/extensions/sqlalchemy/types.py EnumType.__init__ 2 0 0 0 0 100%
polar/kit/extensions/sqlalchemy/types.py EnumType.process_bind_param 1 1 0 0 0 0%
polar/kit/extensions/sqlalchemy/types.py EnumType.process_result_value 1 0 0 0 0 100%
polar/kit/extensions/sqlalchemy/types.py StrEnumType.__init__ 2 0 0 0 0 100%
polar/kit/extensions/sqlalchemy/types.py StrEnumType.process_bind_param 3 3 0 2 0 0%
polar/kit/extensions/sqlalchemy/types.py StrEnumType.process_result_value 3 3 0 2 0 0%
polar/kit/extensions/sqlalchemy/types.py (no function) 27 2 0 2 1 90%
polar/kit/hook.py Hook.__init__ 1 0 0 0 0 100%
polar/kit/hook.py Hook.add 3 3 0 2 0 0%
polar/kit/hook.py Hook.call 2 2 0 2 0 0%
polar/kit/hook.py (no function) 8 1 0 0 0 88%
polar/kit/html.py dangerously_strip_tags 4 4 0 0 0 0%
polar/kit/html.py (no function) 3 3 0 0 0 0%
polar/kit/http.py get_safe_return_url 6 6 0 4 0 0%
polar/kit/http.py _get_safe_return_url_dependency 1 1 0 0 0 0%
polar/kit/http.py add_query_parameters 3 3 0 0 0 0%
polar/kit/http.py (no function) 9 0 0 0 0 100%
polar/kit/jwk.py generate_jwks 4 0 0 0 0 100%
polar/kit/jwk.py _validate_jwks 9 3 0 2 1 64%
polar/kit/jwk.py (no function) 18 0 0 2 0 100%
polar/kit/jwt.py create_expiration_dt 1 1 0 0 0 0%
polar/kit/jwt.py encode 8 8 0 4 0 0%
polar/kit/jwt.py decode_unsafe 1 1 0 0 0 0%
polar/kit/jwt.py decode 4 4 0 2 0 0%
polar/kit/jwt.py (no function) 13 0 0 0 0 100%
polar/kit/math.py non_negative_running_sum 4 4 0 2 0 0%
polar/kit/math.py polar_round 3 3 0 2 0 0%
polar/kit/math.py (no function) 5 0 0 0 0 100%
polar/kit/metadata.py add_metadata_query_schema 2 0 0 0 0 100%
polar/kit/metadata.py get_metadata_query_openapi_schema 1 0 0 0 0 100%
polar/kit/metadata.py _get_metadata_query 10 10 0 4 0 0%
polar/kit/metadata.py get_metadata_clause 9 9 0 6 0 0%
polar/kit/metadata.py apply_metadata_clause 2 2 0 0 0 0%
polar/kit/metadata.py extract_metadata_value 11 11 0 8 0 0%
polar/kit/metadata.py (no function) 35 0 0 0 0 100%
polar/kit/money.py get_cents_in_dollar_string 4 4 0 2 0 0%
polar/kit/money.py (no function) 1 1 0 0 0 0%
polar/kit/operator.py attrgetter 6 6 0 2 0 0%
polar/kit/operator.py (no function) 2 0 0 0 0 100%
polar/kit/pagination.py paginate 0 0 0 0 0 100%
polar/kit/pagination.py paginate 0 0 0 0 0 100%
polar/kit/pagination.py paginate 0 0 0 0 0 100%
polar/kit/pagination.py paginate 16 16 0 6 0 0%
polar/kit/pagination.py get_pagination_params 1 0 0 0 0 100%
polar/kit/pagination.py ListResource.from_paginated_results 1 0 0 0 0 100%
polar/kit/pagination.py ListResource.model_parametrized_name 9 0 0 8 0 100%
polar/kit/pagination.py ListResource.__get_pydantic_core_schema__ 3 0 0 0 0 100%
polar/kit/pagination.py (no function) 38 0 0 6 0 100%
polar/kit/repository/__init__.py (no function) 2 0 0 0 0 100%
polar/kit/repository/base.py RepositoryProtocol.get_one 1 0 0 2 1 67%
polar/kit/repository/base.py RepositoryProtocol.get_one_or_none 1 0 0 2 1 67%
polar/kit/repository/base.py RepositoryProtocol.get_all 1 0 0 2 1 67%
polar/kit/repository/base.py RepositoryProtocol.paginate 0 0 0 0 0 100%
polar/kit/repository/base.py RepositoryProtocol.get_base_statement 1 0 0 2 1 67%
polar/kit/repository/base.py RepositoryProtocol.create 1 0 0 2 1 67%
polar/kit/repository/base.py RepositoryProtocol.update 0 0 0 0 0 100%
polar/kit/repository/base.py RepositoryBase.__init__ 1 0 0 0 0 100%
polar/kit/repository/base.py RepositoryBase.get_one 2 2 0 0 0 0%
polar/kit/repository/base.py RepositoryBase.get_one_or_none 2 1 0 0 0 50%
polar/kit/repository/base.py RepositoryBase.get_all 2 2 0 0 0 0%
polar/kit/repository/base.py RepositoryBase.stream 5 5 0 2 0 0%
polar/kit/repository/base.py RepositoryBase.paginate 9 6 0 2 0 27%
polar/kit/repository/base.py RepositoryBase.get_base_statement 1 0 0 0 0 100%
polar/kit/repository/base.py RepositoryBase.create 4 4 0 2 0 0%
polar/kit/repository/base.py RepositoryBase.update 11 11 0 6 0 0%
polar/kit/repository/base.py RepositoryBase.count 3 3 0 0 0 0%
polar/kit/repository/base.py RepositoryBase.from_session 1 0 0 0 0 100%
polar/kit/repository/base.py RepositorySoftDeletionProtocol.get_base_statement 0 0 0 0 0 100%
polar/kit/repository/base.py RepositorySoftDeletionProtocol.soft_delete 0 0 0 0 0 100%
polar/kit/repository/base.py RepositorySoftDeletionMixin.get_base_statement 4 0 0 2 1 83%
polar/kit/repository/base.py RepositorySoftDeletionMixin.soft_delete 1 1 0 0 0 0%
polar/kit/repository/base.py RepositoryIDMixin.get_by_id 2 2 0 0 0 0%
polar/kit/repository/base.py RepositorySoftDeletionIDMixin.get_by_id 2 2 0 0 0 0%
polar/kit/repository/base.py RepositorySortingMixin.apply_sorting 5 0 0 2 0 100%
polar/kit/repository/base.py RepositorySortingMixin.get_sorting_clause 1 1 0 0 0 0%
polar/kit/repository/base.py (no function) 54 2 0 8 5 89%
polar/kit/routing.py AutoCommitAPIRoute.__init__ 2 0 0 0 0 100%
polar/kit/routing.py AutoCommitAPIRoute.wrap_endpoint 2 0 0 0 0 100%
polar/kit/routing.py AutoCommitAPIRoute.wrap_endpoint.wrapped_endpoint 9 1 0 6 2 80%
polar/kit/routing.py IncludedInSchemaAPIRoute.__init__ 8 1 0 6 1 86%
polar/kit/routing.py SpeakeasyNameOverrideAPIRoute.__init__ 5 0 0 2 0 100%
polar/kit/routing.py SpeakeasyIgnoreAPIRoute.__init__ 5 0 0 2 0 100%
polar/kit/routing.py SpeakeasyGroupAPIRoute.__init__ 5 0 0 2 1 86%
polar/kit/routing.py SpeakeasyPaginationAPIRoute.__init__ 5 0 0 2 0 100%
polar/kit/routing.py SpeakeasyMCPAPIRoute.__init__ 11 0 0 4 1 93%
polar/kit/routing.py _inherit_signature_from 1 0 0 0 0 100%
polar/kit/routing.py get_api_router_class 4 0 0 0 0 100%
polar/kit/routing.py get_api_router_class._CustomAPIRouter.__init__ 2 0 0 0 0 100%
polar/kit/routing.py (no function) 29 0 0 0 0 100%
polar/kit/schemas.py empty_str_to_none 6 2 0 4 2 60%
polar/kit/schemas.py _validate_slug 4 4 0 2 0 0%
polar/kit/schemas.py ClassName.__hash__ 1 0 0 0 0 100%
polar/kit/schemas.py MergeJSONSchema.__get_pydantic_json_schema__ 5 1 0 2 1 71%
polar/kit/schemas.py MergeJSONSchema.__hash__ 1 0 0 0 0 100%
polar/kit/schemas.py SetSchemaReference.__get_pydantic_core_schema__ 3 0 0 0 0 100%
polar/kit/schemas.py SetSchemaReference.__hash__ 1 0 0 0 0 100%
polar/kit/schemas.py SelectorWidget.__get_pydantic_json_schema__ 2 0 0 0 0 100%
polar/kit/schemas.py SelectorWidget._get_extra_attributes 1 0 0 0 0 100%
polar/kit/schemas.py SelectorWidget.__hash__ 1 0 0 0 0 100%
polar/kit/schemas.py MultipleQueryFilter.__init__ 1 1 0 0 0 0%
polar/kit/schemas.py MultipleQueryFilter.__getitem__ 1 0 0 2 1 67%
polar/kit/schemas.py MultipleQueryFilter.__getitem__ 1 0 0 2 1 67%
polar/kit/schemas.py MultipleQueryFilter.__getitem__ 1 1 0 0 0 0%
polar/kit/schemas.py MultipleQueryFilter.__len__ 1 1 0 0 0 0%
polar/kit/schemas.py MultipleQueryFilter.__get_pydantic_core_schema__ 8 1 0 2 1 80%
polar/kit/schemas.py MultipleQueryFilter._scalar_to_sequence 3 1 0 2 1 60%
polar/kit/schemas.py (no function) 66 0 0 0 0 100%
polar/kit/services.py ResourceServiceReader.__init__ 1 0 0 0 0 100%
polar/kit/services.py ResourceServiceReader.get 7 7 0 4 0 0%
polar/kit/services.py ResourceServiceReader.get_by 3 3 0 0 0 0%
polar/kit/services.py ResourceServiceReader.soft_delete 3 3 0 0 0 0%
polar/kit/services.py ResourceService.upsert_many 1 1 0 0 0 0%
polar/kit/services.py ResourceService._db_upsert_many 10 10 0 4 0 0%
polar/kit/services.py (no function) 18 0 0 0 0 100%
polar/kit/sorting.py _SortingGetter.__init__ 2 0 0 0 0 100%
polar/kit/sorting.py _SortingGetter.__call__ 13 3 0 6 2 74%
polar/kit/sorting.py SortingGetter 11 0 0 2 0 100%
polar/kit/sorting.py SortingGetter._SortingGetterSignature.__call__ 1 0 0 0 0 100%
polar/kit/sorting.py (no function) 11 0 0 0 0 100%
polar/kit/tax.py UnsupportedTaxIDFormat.__init__ 2 2 0 0 0 0%
polar/kit/tax.py InvalidTaxID.__init__ 3 3 0 0 0 0%
polar/kit/tax.py ValidatorProtocol.validate 1 0 0 2 1 67%
polar/kit/tax.py StdNumValidator.__init__ 5 5 0 2 0 0%
polar/kit/tax.py StdNumValidator.validate 4 4 0 0 0 0%
polar/kit/tax.py CAGSTHSTValidator.validate 7 7 0 2 0 0%
polar/kit/tax.py CLTINValidator.validate 5 5 0 0 0 0%
polar/kit/tax.py TRTINValidator.validate 5 5 0 0 0 0%
polar/kit/tax.py INGSTValidator.validate 5 5 0 0 0 0%
polar/kit/tax.py _get_validator 11 11 0 8 0 0%
polar/kit/tax.py validate_tax_id 11 11 0 2 0 0%
polar/kit/tax.py to_stripe_tax_id 2 2 0 0 0 0%
polar/kit/tax.py TaxIDType.process_bind_param 5 5 0 4 0 0%
polar/kit/tax.py TaxIDType.process_result_value 3 3 0 2 0 0%
polar/kit/tax.py TaxCalculationError.__init__ 3 3 0 0 0 0%
polar/kit/tax.py IncompleteTaxLocation.__init__ 1 1 0 0 0 0%
polar/kit/tax.py InvalidTaxLocation.__init__ 1 1 0 0 0 0%
polar/kit/tax.py TaxabilityReason.from_stripe 5 5 0 4 0 0%
polar/kit/tax.py from_stripe_tax_rate 4 4 0 2 0 0%
polar/kit/tax.py from_stripe_tax_rate_details 18 18 0 10 0 0%
polar/kit/tax.py TaxCode.to_stripe 3 3 0 2 0 0%
polar/kit/tax.py calculate_tax 24 24 0 6 0 0%
polar/kit/tax.py (no function) 169 1 0 2 0 99%
polar/kit/time_queries.py TimeInterval.sql_interval 1 1 0 0 0 0%
polar/kit/time_queries.py TimeInterval.sql_date_trunc 1 1 0 0 0 0%
polar/kit/time_queries.py get_timestamp_series_cte 1 1 0 0 0 0%
polar/kit/time_queries.py is_under_limits 1 1 0 0 0 0%
polar/kit/time_queries.py (no function) 17 0 0 0 0 100%
polar/kit/trial.py TrialInterval.get_end 9 9 0 8 0 0%
polar/kit/trial.py TrialConfigurationInputMixin.is_complete_configuration 5 5 0 4 0 0%
polar/kit/trial.py (no function) 26 0 0 0 0 100%
polar/kit/utils.py utc_now 1 0 0 0 0 100%
polar/kit/utils.py generate_uuid 1 1 0 0 0 0%
polar/kit/utils.py human_readable_size 5 5 0 4 0 0%
polar/kit/utils.py (no function) 5 0 0 0 0 100%
polar/license_key/__init__.py (no function) 0 0 0 0 0 100%
polar/license_key/auth.py (no function) 7 0 0 0 0 100%
polar/license_key/endpoints.py list 2 2 0 0 0 0%
polar/license_key/endpoints.py get 4 4 0 2 0 0%
polar/license_key/endpoints.py update 5 5 0 2 0 0%
polar/license_key/endpoints.py get_activation 5 5 0 2 0 0%
polar/license_key/endpoints.py validate 5 5 0 2 0 0%
polar/license_key/endpoints.py activate 5 5 0 2 0 0%
polar/license_key/endpoints.py deactivate 5 5 0 2 0 0%
polar/license_key/endpoints.py (no function) 31 0 0 0 0 100%
polar/license_key/repository.py LicenseKeyRepository.get_by_organization_and_key 2 2 0 0 0 0%
polar/license_key/repository.py LicenseKeyRepository.get_by_id_organization_customer_and_benefit 2 2 0 0 0 0%
polar/license_key/repository.py LicenseKeyRepository.get_readable_by_key 2 2 0 0 0 0%
polar/license_key/repository.py LicenseKeyRepository.get_eager_options 1 1 0 0 0 0%
polar/license_key/repository.py LicenseKeyRepository.get_readable_statement 7 7 0 4 0 0%
polar/license_key/repository.py (no function) 13 0 0 0 0 100%
polar/license_key/schemas.py LicenseKeyCreate.generate_key 5 5 0 2 0 0%
polar/license_key/schemas.py LicenseKeyCreate.generate_expiration_dt 8 8 0 4 0 0%
polar/license_key/schemas.py LicenseKeyCreate.build 11 11 0 6 0 0%
polar/license_key/schemas.py (no function) 88 0 0 2 0 100%
polar/license_key/service.py LicenseKeyService.list 7 7 0 4 0 0%
polar/license_key/service.py LicenseKeyService.get 3 3 0 0 0 0%
polar/license_key/service.py LicenseKeyService.get_or_raise_by_key 5 5 0 2 0 0%
polar/license_key/service.py LicenseKeyService.get_by_grant_or_raise 5 5 0 2 0 0%
polar/license_key/service.py LicenseKeyService.get_activation_or_raise 7 7 0 2 0 0%
polar/license_key/service.py LicenseKeyService.update 6 6 0 2 0 0%
polar/license_key/service.py LicenseKeyService.validate 29 29 0 18 0 0%
polar/license_key/service.py LicenseKeyService.get_activation_count 6 6 0 2 0 0%
polar/license_key/service.py LicenseKeyService.activate 17 17 0 10 0 0%
polar/license_key/service.py LicenseKeyService.deactivate 7 7 0 0 0 0%
polar/license_key/service.py LicenseKeyService.customer_grant 6 6 0 2 0 0%
polar/license_key/service.py LicenseKeyService.customer_update_grant 12 12 0 4 0 0%
polar/license_key/service.py LicenseKeyService.customer_create_grant 6 6 0 0 0 0%
polar/license_key/service.py LicenseKeyService.customer_revoke 6 6 0 0 0 0%
polar/license_key/service.py LicenseKeyService.get_customer_list 4 4 0 2 0 0%
polar/license_key/service.py LicenseKeyService.get_customer_license_key 3 3 0 0 0 0%
polar/license_key/service.py LicenseKeyService._get_select_customer_base 1 1 0 0 0 0%
polar/license_key/service.py (no function) 35 0 0 0 0 100%
polar/locker.py LockerError.__init__ 1 1 0 0 0 0%
polar/locker.py Locker.__init__ 1 1 0 0 0 0%
polar/locker.py Locker.lock 16 16 0 2 0 0%
polar/locker.py Locker.is_locked 2 2 0 0 0 0%
polar/locker.py Locker._get_key 1 1 0 0 0 0%
polar/locker.py get_locker 1 1 0 0 0 0%
polar/locker.py (no function) 22 0 0 0 0 100%
polar/logfire.py IgnoreSampler.__init__ 2 0 0 0 0 100%
polar/logfire.py IgnoreSampler.should_sample 6 0 0 4 0 100%
polar/logfire.py IgnoreSampler.get_description 1 1 0 0 0 0%
polar/logfire.py _healthz_matcher 1 0 0 0 0 100%
polar/logfire.py _worker_health_matcher 2 0 0 0 0 100%
polar/logfire.py _scrubbing_callback 3 1 0 2 1 60%
polar/logfire.py configure_logfire 1 0 0 0 0 100%
polar/logfire.py instrument_httpx 3 0 0 2 0 100%
polar/logfire.py instrument_fastapi 1 0 0 0 0 100%
polar/logfire.py instrument_sqlalchemy 1 0 0 0 0 100%
polar/logfire.py (no function) 28 4 0 2 1 83%
polar/logging.py Logging.get_level 1 0 0 0 0 100%
polar/logging.py Logging.get_processors 1 0 0 0 0 100%
polar/logging.py Logging.get_renderer 1 1 0 0 0 0%
polar/logging.py Logging.configure_stdlib 2 0 0 0 0 100%
polar/logging.py Logging.configure_structlog 1 0 0 0 0 100%
polar/logging.py Logging.configure 2 0 0 0 0 100%
polar/logging.py Development.get_renderer 1 0 0 0 0 100%
polar/logging.py Production.get_renderer 1 1 0 0 0 0%
polar/logging.py configure 5 2 0 4 2 56%
polar/logging.py generate_correlation_id 1 0 0 0 0 100%
polar/logging.py (no function) 29 0 0 0 0 100%
polar/login_code/__init__.py (no function) 0 0 0 0 0 100%
polar/login_code/endpoints.py request_login_code 2 2 0 0 0 0%
polar/login_code/endpoints.py authenticate_login_code 15 15 0 4 0 0%
polar/login_code/endpoints.py (no function) 23 0 0 0 0 100%
polar/login_code/schemas.py LoginCodeRequest.validate_return_to 1 1 0 0 0 0%
polar/login_code/schemas.py (no function) 14 0 0 0 0 100%
polar/login_code/service.py LoginCodeInvalidOrExpired.__init__ 1 1 0 0 0 0%
polar/login_code/service.py LoginCodeService.request 7 7 0 0 0 0%
polar/login_code/service.py LoginCodeService.send 8 8 0 2 0 0%
polar/login_code/service.py LoginCodeService.authenticate 16 16 0 6 0 0%
polar/login_code/service.py LoginCodeService._generate_code_hash 3 3 0 0 0 0%
polar/login_code/service.py (no function) 29 0 0 2 0 100%
polar/member/__init__.py (no function) 3 0 0 0 0 100%
polar/member/auth.py (no function) 10 0 0 0 0 100%
polar/member/endpoints.py list_members 8 8 0 2 0 0%
polar/member/endpoints.py (no function) 14 0 0 0 0 100%
polar/member/repository.py MemberRepository.get_by_customer_and_email 4 4 0 0 0 0%
polar/member/repository.py MemberRepository.list_by_customer 3 3 0 0 0 0%
polar/member/repository.py MemberRepository.list_by_customers 5 5 0 2 0 0%
polar/member/repository.py MemberRepository.get_readable_statement 7 7 0 4 0 0%
polar/member/repository.py (no function) 15 0 0 0 0 100%
polar/member/schemas.py (no function) 26 0 0 0 0 100%
polar/member/service.py MemberService.list 11 11 0 6 0 0%
polar/member/service.py MemberService.create_owner_member 24 24 0 6 0 0%
polar/member/service.py MemberService.list_by_customer 2 2 0 0 0 0%
polar/member/service.py MemberService.list_by_customers 2 2 0 0 0 0%
polar/member/service.py (no function) 22 0 0 0 0 100%
polar/member/sorting.py (no function) 7 0 0 0 0 100%
polar/meter/__init__.py (no function) 0 0 0 0 0 100%
polar/meter/aggregation.py AggregationFunction.get_sql_function 13 13 0 12 0 0%
polar/meter/aggregation.py CountAggregation.get_sql_column 1 1 0 0 0 0%
polar/meter/aggregation.py CountAggregation.get_sql_clause 1 1 0 0 0 0%
polar/meter/aggregation.py CountAggregation.is_summable 1 1 0 0 0 0%
polar/meter/aggregation.py _strip_metadata_prefix 2 2 0 0 0 0%
polar/meter/aggregation.py PropertyAggregation.get_sql_column 5 5 0 2 0 0%
polar/meter/aggregation.py PropertyAggregation.get_sql_clause 4 4 0 2 0 0%
polar/meter/aggregation.py PropertyAggregation.is_summable 1 1 0 0 0 0%
polar/meter/aggregation.py UniqueAggregation.get_sql_column 2 2 0 0 0 0%
polar/meter/aggregation.py UniqueAggregation.get_sql_clause 1 1 0 0 0 0%
polar/meter/aggregation.py UniqueAggregation.is_summable 1 1 0 0 0 0%
polar/meter/aggregation.py AggregationType.process_bind_param 3 3 0 2 0 0%
polar/meter/aggregation.py AggregationType.process_result_value 3 3 0 2 0 0%
polar/meter/aggregation.py (no function) 39 0 0 0 0 100%
polar/meter/auth.py (no function) 10 0 0 0 0 100%
polar/meter/endpoints.py list 2 2 0 0 0 0%
polar/meter/endpoints.py get 4 4 0 2 0 0%
polar/meter/endpoints.py quantities 6 6 0 4 0 0%
polar/meter/endpoints.py create 1 1 0 0 0 0%
polar/meter/endpoints.py update 4 4 0 2 0 0%
polar/meter/endpoints.py (no function) 30 0 0 0 0 100%
polar/meter/filter.py _strip_metadata_prefix 2 2 0 0 0 0%
polar/meter/filter.py FilterClause.get_sql_clause 13 13 0 10 0 0%
polar/meter/filter.py FilterClause._get_comparison_clause 17 17 0 16 0 0%
polar/meter/filter.py FilterClause._get_str_value 3 3 0 2 0 0%
polar/meter/filter.py FilterClause._get_number_value 5 5 0 4 0 0%
polar/meter/filter.py Filter.get_sql_clause 3 3 0 0 0 0%
polar/meter/filter.py FilterType.process_bind_param 3 3 0 2 0 0%
polar/meter/filter.py FilterType.process_result_value 3 3 0 2 0 0%
polar/meter/filter.py (no function) 40 0 0 0 0 100%
polar/meter/repository.py MeterRepository.get_readable_by_id 2 2 0 0 0 0%
polar/meter/repository.py MeterRepository.get_readable_statement 7 7 0 4 0 0%
polar/meter/repository.py (no function) 9 0 0 0 0 100%
polar/meter/schemas.py (no function) 35 0 0 0 0 100%
polar/meter/service.py MeterService.list 21 21 0 16 0 0%
polar/meter/service.py MeterService.get 3 3 0 0 0 0%
polar/meter/service.py MeterService.create 8 8 0 0 0 0%
polar/meter/service.py MeterService.update 19 19 0 16 0 0%
polar/meter/service.py MeterService.archive 8 8 0 4 0 0%
polar/meter/service.py MeterService.unarchive 2 2 0 0 0 0%
polar/meter/service.py MeterService.events 3 3 0 0 0 0%
polar/meter/service.py MeterService.get_quantities 22 22 0 10 0 0%
polar/meter/service.py MeterService.enqueue_billing 4 4 0 2 0 0%
polar/meter/service.py MeterService._create_subscription_holder_billing_entry 2 2 0 0 0 0%
polar/meter/service.py MeterService.create_billing_entries 31 31 0 10 0 0%
polar/meter/service.py MeterService.get_quantity 3 3 0 0 0 0%
polar/meter/service.py (no function) 39 0 0 2 0 100%
polar/meter/sorting.py (no function) 8 0 0 0 0 100%
polar/meter/tasks.py MeterDoesNotExist.__init__ 3 3 0 0 0 0%
polar/meter/tasks.py meter_enqueue_billing 2 2 0 0 0 0%
polar/meter/tasks.py meter_billing_entries 6 6 0 2 0 0%
polar/meter/tasks.py (no function) 15 0 0 2 0 100%
polar/metrics/__init__.py (no function) 0 0 0 0 0 100%
polar/metrics/auth.py (no function) 7 0 0 0 0 100%
polar/metrics/endpoints.py get 3 3 0 2 0 0%
polar/metrics/endpoints.py limits 1 1 0 0 0 0%
polar/metrics/endpoints.py (no function) 22 0 0 0 0 100%
polar/metrics/metrics.py cumulative_sum 1 1 0 0 0 0%
polar/metrics/metrics.py cumulative_last 2 2 0 0 0 0%
polar/metrics/metrics.py Metric.get_cumulative 1 0 0 2 2 33%
polar/metrics/metrics.py SQLMetric.get_sql_expression 0 0 0 0 0 100%
polar/metrics/metrics.py MetaMetric.compute_from_period 1 0 0 2 1 67%
polar/metrics/metrics.py OrdersMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py OrdersMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py RevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py RevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py NetRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py NetRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CumulativeRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CumulativeRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py NetCumulativeRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py NetCumulativeRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py AverageOrderValueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py AverageOrderValueMetric.get_cumulative 3 3 0 0 0 0%
polar/metrics/metrics.py NetAverageOrderValueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py NetAverageOrderValueMetric.get_cumulative 3 3 0 0 0 0%
polar/metrics/metrics.py OneTimeProductsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py OneTimeProductsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py OneTimeProductsRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py OneTimeProductsRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py OneTimeProductsNetRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py OneTimeProductsNetRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py NewSubscriptionsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py NewSubscriptionsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py NewSubscriptionsRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py NewSubscriptionsRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py NewSubscriptionsNetRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py NewSubscriptionsNetRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py RenewedSubscriptionsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py RenewedSubscriptionsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py RenewedSubscriptionsRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py RenewedSubscriptionsRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py RenewedSubscriptionsNetRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py RenewedSubscriptionsNetRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py ActiveSubscriptionsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py ActiveSubscriptionsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py MonthlyRecurringRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py MonthlyRecurringRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CommittedMonthlyRecurringRevenueMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CommittedMonthlyRecurringRevenueMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CheckoutsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CheckoutsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py SucceededCheckoutsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py SucceededCheckoutsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CheckoutsConversionMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CheckoutsConversionMetric.get_cumulative 3 3 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsCustomerServiceMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsCustomerServiceMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsLowQualityMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsLowQualityMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsMissingFeaturesMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsMissingFeaturesMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsSwitchedServiceMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsSwitchedServiceMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsTooComplexMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsTooComplexMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsTooExpensiveMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsTooExpensiveMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsUnusedMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsUnusedMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsOtherMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CanceledSubscriptionsOtherMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py ChurnedSubscriptionsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py ChurnedSubscriptionsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CostsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CostsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CumulativeCostsMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py CumulativeCostsMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py AverageRevenuePerUserMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py AverageRevenuePerUserMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CostPerUserMetric.get_sql_expression 3 3 0 0 0 0%
polar/metrics/metrics.py CostPerUserMetric.get_cumulative 3 3 0 0 0 0%
polar/metrics/metrics.py GrossMarginMetric.compute_from_period 3 3 0 0 0 0%
polar/metrics/metrics.py GrossMarginMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py GrossMarginPercentageMetric.compute_from_period 3 3 0 0 0 0%
polar/metrics/metrics.py GrossMarginPercentageMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py CashflowMetric.compute_from_period 3 3 0 0 0 0%
polar/metrics/metrics.py CashflowMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py ChurnRateMetric.compute_from_period 6 6 0 0 0 0%
polar/metrics/metrics.py ChurnRateMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py LTVMetric.compute_from_period 8 8 0 2 0 0%
polar/metrics/metrics.py LTVMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py ActiveUserMetric.get_sql_expression 1 1 0 0 0 0%
polar/metrics/metrics.py ActiveUserMetric.get_cumulative 1 1 0 0 0 0%
polar/metrics/metrics.py (no function) 410 1 0 4 3 99%
polar/metrics/queries.py _get_metrics_columns 1 1 0 0 0 0%
polar/metrics/queries.py QueryCallable.__call__ 0 0 0 0 0 100%
polar/metrics/queries.py _get_readable_orders_statement 14 14 0 12 0 0%
polar/metrics/queries.py get_orders_metrics_cte 15 15 0 4 0 0%
polar/metrics/queries.py get_active_subscriptions_cte 4 4 0 0 0 0%
polar/metrics/queries.py _get_readable_subscriptions_statement 14 14 0 12 0 0%
polar/metrics/queries.py get_checkouts_cte 16 16 0 12 0 0%
polar/metrics/queries.py get_canceled_subscriptions_cte 4 4 0 0 0 0%
polar/metrics/queries.py get_churned_subscriptions_cte 4 4 0 0 0 0%
polar/metrics/queries.py _get_readable_cost_events_statement 10 10 0 8 0 0%
polar/metrics/queries.py get_events_metrics_cte 6 6 0 0 0 0%
polar/metrics/queries.py _get_readable_events_statement 10 10 0 8 0 0%
polar/metrics/queries.py (no function) 33 1 0 4 2 92%
polar/metrics/schemas.py Metrics.__getattr__ 1 1 0 2 0 0%
polar/metrics/schemas.py MetricsPeriod.__getattr__ 1 1 0 2 0 0%
polar/metrics/schemas.py MetricsTotals.__getattr__ 1 1 0 2 0 0%
polar/metrics/schemas.py (no function) 37 3 0 6 3 86%
polar/metrics/service.py MetricsService.get_metrics 39 39 0 14 0 0%
polar/metrics/service.py (no function) 18 0 0 0 0 100%
polar/middlewares.py LogCorrelationIdMiddleware.__init__ 1 0 0 0 0 100%
polar/middlewares.py LogCorrelationIdMiddleware.__call__ 5 0 0 2 0 100%
polar/middlewares.py FlushEnqueuedWorkerJobsMiddleware.__init__ 1 0 0 0 0 100%
polar/middlewares.py FlushEnqueuedWorkerJobsMiddleware.__call__ 5 1 0 2 0 86%
polar/middlewares.py PathRewriteMiddleware.__init__ 4 0 0 0 0 100%
polar/middlewares.py PathRewriteMiddleware.__call__ 8 2 0 4 1 75%
polar/middlewares.py PathRewriteMiddleware.send 8 1 0 4 1 83%
polar/middlewares.py SandboxResponseHeaderMiddleware.__init__ 1 1 0 0 0 0%
polar/middlewares.py SandboxResponseHeaderMiddleware.__call__ 5 5 0 2 0 0%
polar/middlewares.py SandboxResponseHeaderMiddleware.__call__.send_wrapper 5 5 0 2 0 0%
polar/middlewares.py (no function) 21 0 0 0 0 100%
polar/models/__init__.py (no function) 71 0 0 0 0 100%
polar/models/account.py Account.Status.get_display_name 1 1 0 0 0 0%
polar/models/account.py Account.admin 1 0 0 0 0 100%
polar/models/account.py Account.users 1 0 0 0 0 100%
polar/models/account.py Account.all_organizations 1 0 0 0 0 100%
polar/models/account.py Account.organizations 1 0 0 0 0 100%
polar/models/account.py Account.is_active 1 1 0 0 0 0%
polar/models/account.py Account.is_under_review 1 1 0 0 0 0%
polar/models/account.py Account.is_payout_ready 1 1 0 0 0 0%
polar/models/account.py Account.get_associations_names 6 6 0 4 0 0%
polar/models/account.py Account.platform_fee 7 7 0 4 0 0%
polar/models/account.py Account.calculate_fee_in_cents 3 3 0 0 0 0%
polar/models/account.py (no function) 64 2 0 2 1 95%
polar/models/benefit.py TaxApplicationMustBeSpecified.__init__ 3 3 0 0 0 0%
polar/models/benefit.py BenefitType.get_display_name 1 1 0 0 0 0%
polar/models/benefit.py BenefitType.is_tax_applicable 5 5 0 0 0 0%
polar/models/benefit.py Benefit.properties 1 0 0 0 0 100%
polar/models/benefit.py Benefit.organization 1 0 0 0 0 100%
polar/models/benefit.py Benefit.grants 1 0 0 0 0 100%
polar/models/benefit.py (no function) 38 2 0 2 1 92%
polar/models/benefit_grant.py BenefitGrantScopeComparator.__eq__ 7 7 0 4 0 0%
polar/models/benefit_grant.py BenefitGrant.customer 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.member 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.benefit 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.subscription 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.order 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.properties 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.error 1 0 0 0 0 100%
polar/models/benefit_grant.py BenefitGrant.is_granted 1 1 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant._is_granted_expression 1 1 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant.is_revoked 1 1 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant._is_revoked_expression 1 1 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant.set_granted 3 3 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant.set_revoked 2 2 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant.set_grant_failed 3 3 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant.previous_properties 1 1 0 0 0 0%
polar/models/benefit_grant.py BenefitGrant.previous_properties 1 1 0 0 0 0%
polar/models/benefit_grant.py (no function) 76 12 0 8 2 79%
polar/models/billing_entry.py BillingEntry.customer 1 0 0 0 0 100%
polar/models/billing_entry.py BillingEntry.product_price 1 0 0 0 0 100%
polar/models/billing_entry.py BillingEntry.subscription 1 0 0 0 0 100%
polar/models/billing_entry.py BillingEntry.discount 1 0 0 0 0 100%
polar/models/billing_entry.py BillingEntry.event 1 0 0 0 0 100%
polar/models/billing_entry.py BillingEntry.order_item 1 0 0 0 0 100%
polar/models/billing_entry.py BillingEntry.from_metered_event 1 1 0 0 0 0%
polar/models/billing_entry.py (no function) 50 1 0 2 1 96%
polar/models/campaign.py (no function) 15 0 0 0 0 100%
polar/models/checkout.py get_expires_at 1 1 0 0 0 0%
polar/models/checkout.py Checkout.organization 1 0 0 0 0 100%
polar/models/checkout.py Checkout.product 1 0 0 0 0 100%
polar/models/checkout.py Checkout.product_price 1 0 0 0 0 100%
polar/models/checkout.py Checkout.discount 1 0 0 0 0 100%
polar/models/checkout.py Checkout.customer 1 0 0 0 0 100%
polar/models/checkout.py Checkout.subscription 1 0 0 0 0 100%
polar/models/checkout.py Checkout.is_expired 1 1 0 0 0 0%
polar/models/checkout.py Checkout._is_expired_expression 1 1 0 0 0 0%
polar/models/checkout.py Checkout.customer_ip_address 1 1 0 0 0 0%
polar/models/checkout.py Checkout._customer_ip_address_setter 1 1 0 0 0 0%
polar/models/checkout.py Checkout.success_url 6 6 0 2 0 0%
polar/models/checkout.py Checkout.success_url 1 1 0 0 0 0%
polar/models/checkout.py Checkout.customer_tax_id_number 1 1 0 0 0 0%
polar/models/checkout.py Checkout.discount_amount 1 1 0 0 0 0%
polar/models/checkout.py Checkout.net_amount 1 1 0 0 0 0%
polar/models/checkout.py Checkout.total_amount 1 1 0 0 0 0%
polar/models/checkout.py Checkout.is_discount_applicable 3 3 0 2 0 0%
polar/models/checkout.py Checkout.is_free_product_price 3 3 0 2 0 0%
polar/models/checkout.py Checkout.has_metered_prices 3 3 0 2 0 0%
polar/models/checkout.py Checkout.is_payment_required 1 1 0 0 0 0%
polar/models/checkout.py Checkout.is_payment_setup_required 3 3 0 2 0 0%
polar/models/checkout.py Checkout.should_save_payment_method 1 1 0 0 0 0%
polar/models/checkout.py Checkout.is_payment_form_required 1 1 0 0 0 0%
polar/models/checkout.py Checkout.url 1 1 0 0 0 0%
polar/models/checkout.py Checkout.customer_session_token 1 1 0 0 0 0%
polar/models/checkout.py Checkout.customer_session_token 1 1 0 0 0 0%
polar/models/checkout.py Checkout.customer_billing_address_fields 5 5 0 0 0 0%
polar/models/checkout.py Checkout.billing_address_fields 5 5 0 0 0 0%
polar/models/checkout.py Checkout.active_trial_interval 5 5 0 4 0 0%
polar/models/checkout.py Checkout.active_trial_interval_count 5 5 0 4 0 0%
polar/models/checkout.py Checkout.price_per_seat 5 5 0 4 0 0%
polar/models/checkout.py Checkout.description 3 3 0 2 0 0%
polar/models/checkout.py Checkout.prices 6 6 0 4 0 0%
polar/models/checkout.py Checkout.product_prices 3 3 0 2 0 0%
polar/models/checkout.py check_expiration 2 2 0 2 0 0%
polar/models/checkout.py (no function) 163 2 0 2 1 98%
polar/models/checkout_link.py CheckoutLink.discount 1 0 0 0 0 100%
polar/models/checkout_link.py CheckoutLink.organization 1 0 0 0 0 100%
polar/models/checkout_link.py CheckoutLink.success_url 1 1 0 0 0 0%
polar/models/checkout_link.py CheckoutLink.success_url 1 1 0 0 0 0%
polar/models/checkout_link.py (no function) 34 2 0 2 1 92%
polar/models/checkout_link_product.py CheckoutLinkProduct.checkout_link 1 0 0 0 0 100%
polar/models/checkout_link_product.py CheckoutLinkProduct.product 1 0 0 0 0 100%
polar/models/checkout_link_product.py (no function) 17 1 0 2 1 89%
polar/models/checkout_product.py CheckoutProduct.checkout 1 0 0 0 0 100%
polar/models/checkout_product.py CheckoutProduct.product 1 0 0 0 0 100%
polar/models/checkout_product.py CheckoutProduct.ad_hoc_prices 1 0 0 0 0 100%
polar/models/checkout_product.py (no function) 19 1 0 2 1 90%
polar/models/custom_field.py CustomFieldType.get_model 1 1 0 0 0 0%
polar/models/custom_field.py validate_ge_le 4 4 0 2 0 0%
polar/models/custom_field.py CustomField.organization 1 0 0 0 0 100%
polar/models/custom_field.py CustomField.get_field_definition 1 1 0 0 0 0%
polar/models/custom_field.py CustomFieldText.get_field_definition 1 1 0 0 0 0%
polar/models/custom_field.py CustomFieldNumber.get_field_definition 1 1 0 0 0 0%
polar/models/custom_field.py CustomFieldDate.get_field_definition 5 5 0 0 0 0%
polar/models/custom_field.py CustomFieldCheckbox.get_field_definition 1 1 0 0 0 0%
polar/models/custom_field.py CustomFieldSelect.get_field_definition 2 2 0 0 0 0%
polar/models/custom_field.py (no function) 82 1 0 2 1 98%
polar/models/customer.py short_id_to_base26 7 7 0 2 0 0%
polar/models/customer.py CustomerOAuthPlatform.get_account_key 1 1 0 0 0 0%
polar/models/customer.py CustomerOAuthPlatform.get_account_id 5 5 0 4 0 0%
polar/models/customer.py CustomerOAuthPlatform.get_account_username 5 5 0 4 0 0%
polar/models/customer.py CustomerOAuthAccount.is_expired 3 3 0 2 0 0%
polar/models/customer.py Customer.organization 1 0 0 0 0 100%
polar/models/customer.py Customer.payment_methods 1 0 0 0 0 100%
polar/models/customer.py Customer.members 1 0 0 0 0 100%
polar/models/customer.py Customer.default_payment_method 1 0 0 0 0 100%
polar/models/customer.py Customer.can_authenticate 1 1 0 0 0 0%
polar/models/customer.py Customer._can_authenticate_expression 1 0 0 0 0 100%
polar/models/customer.py Customer.get_oauth_account 4 4 0 2 0 0%
polar/models/customer.py Customer.set_oauth_account 2 2 0 0 0 0%
polar/models/customer.py Customer.remove_oauth_account 2 2 0 0 0 0%
polar/models/customer.py Customer.oauth_accounts 1 1 0 0 0 0%
polar/models/customer.py Customer.short_id_str 1 1 0 0 0 0%
polar/models/customer.py Customer.legacy_user_id 1 1 0 0 0 0%
polar/models/customer.py Customer.legacy_user_public_name 3 3 0 2 0 0%
polar/models/customer.py Customer.active_subscriptions 1 1 0 0 0 0%
polar/models/customer.py Customer.active_subscriptions 1 1 0 0 0 0%
polar/models/customer.py Customer.granted_benefits 1 1 0 0 0 0%
polar/models/customer.py Customer.granted_benefits 1 1 0 0 0 0%
polar/models/customer.py Customer.active_meters 1 1 0 0 0 0%
polar/models/customer.py Customer.active_meters 1 1 0 0 0 0%
polar/models/customer.py Customer.billing_name 1 1 0 0 0 0%
polar/models/customer.py Customer.billing_name 1 1 0 0 0 0%
polar/models/customer.py Customer.actual_billing_name 1 1 0 0 0 0%
polar/models/customer.py Customer.touch_meters_dirtied_at 1 1 0 0 0 0%
polar/models/customer.py (no function) 104 6 0 2 1 93%
polar/models/customer_meter.py CustomerMeter.customer 1 0 0 0 0 100%
polar/models/customer_meter.py CustomerMeter.meter 1 0 0 0 0 100%
polar/models/customer_meter.py CustomerMeter.last_balanced_event 1 0 0 0 0 100%
polar/models/customer_meter.py (no function) 28 4 0 2 1 83%
polar/models/customer_seat.py CustomerSeat.subscription 1 0 0 0 0 100%
polar/models/customer_seat.py CustomerSeat.order 1 0 0 0 0 100%
polar/models/customer_seat.py CustomerSeat.customer 1 0 0 0 0 100%
polar/models/customer_seat.py CustomerSeat.is_pending 1 1 0 0 0 0%
polar/models/customer_seat.py CustomerSeat.is_claimed 1 1 0 0 0 0%
polar/models/customer_seat.py CustomerSeat.is_revoked 1 1 0 0 0 0%
polar/models/customer_seat.py CustomerSeat.has_metered_pricing 3 3 0 2 0 0%
polar/models/customer_seat.py (no function) 39 3 0 2 1 90%
polar/models/customer_session.py get_expires_at 1 1 0 0 0 0%
polar/models/customer_session.py CustomerSession.customer 1 0 0 0 0 100%
polar/models/customer_session.py CustomerSession.raw_token 1 1 0 0 0 0%
polar/models/customer_session.py CustomerSession.raw_token 1 1 0 0 0 0%
polar/models/customer_session.py CustomerSession.customer_portal_url 2 2 0 0 0 0%
polar/models/customer_session.py (no function) 24 0 0 0 0 100%
polar/models/customer_session_code.py get_expires_at 1 1 0 0 0 0%
polar/models/customer_session_code.py CustomerSessionCode.customer 1 0 0 0 0 100%
polar/models/customer_session_code.py (no function) 17 0 0 0 0 100%
polar/models/discount.py DiscountType.get_model 1 1 0 0 0 0%
polar/models/discount.py Discount.__table_args__ 4 0 0 2 0 100%
polar/models/discount.py Discount.organization 1 0 0 0 0 100%
polar/models/discount.py Discount.redemptions_count 2 0 0 0 0 100%
polar/models/discount.py Discount.get_discount_amount 1 1 0 0 0 0%
polar/models/discount.py Discount.get_stripe_coupon_params 4 4 0 2 0 0%
polar/models/discount.py Discount.is_applicable 3 3 0 2 0 0%
polar/models/discount.py Discount.is_repetition_expired 8 8 0 6 0 0%
polar/models/discount.py DiscountFixed.get_discount_amount 1 1 0 0 0 0%
polar/models/discount.py DiscountFixed.get_stripe_coupon_params 2 2 0 0 0 0%
polar/models/discount.py DiscountPercentage.get_discount_amount 2 2 0 0 0 0%
polar/models/discount.py DiscountPercentage.get_stripe_coupon_params 2 2 0 0 0 0%
polar/models/discount.py (no function) 62 1 0 2 1 97%
polar/models/discount_product.py DiscountProduct.discount 1 0 0 0 0 100%
polar/models/discount_product.py DiscountProduct.product 1 0 0 0 0 100%
polar/models/discount_product.py (no function) 15 1 0 2 1 88%
polar/models/discount_redemption.py DiscountRedemption.discount 1 0 0 0 0 100%
polar/models/discount_redemption.py DiscountRedemption.checkout 1 0 0 0 0 100%
polar/models/discount_redemption.py DiscountRedemption.subscription 1 0 0 0 0 100%
polar/models/discount_redemption.py (no function) 18 1 0 2 1 90%
polar/models/downloadable.py Downloadable.file 1 0 0 0 0 100%
polar/models/downloadable.py Downloadable.customer 1 0 0 0 0 100%
polar/models/downloadable.py Downloadable.benefit 1 0 0 0 0 100%
polar/models/downloadable.py (no function) 27 0 0 0 0 100%
polar/models/email_verification.py get_expires_at 1 1 0 0 0 0%
polar/models/email_verification.py EmailVerification.user 1 0 0 0 0 100%
polar/models/email_verification.py (no function) 17 0 0 0 0 100%
polar/models/event.py CustomerComparator.__eq__ 6 6 0 4 0 0%
polar/models/event.py CustomerComparator.is_ 3 3 0 2 0 0%
polar/models/event.py CustomerComparator.is_not 3 3 0 2 0 0%
polar/models/event.py Event.parent 1 0 0 0 0 100%
polar/models/event.py Event.customer 1 0 0 0 0 100%
polar/models/event.py Event.organization 1 0 0 0 0 100%
polar/models/event.py Event.event_types 1 0 0 0 0 100%
polar/models/event.py Event.label 11 11 0 8 0 0%
polar/models/event.py Event.is_meter_credit 1 1 0 0 0 0%
polar/models/event.py Event._is_meter_credit_expression 1 1 0 0 0 0%
polar/models/event.py EventClosure.ancestor 1 0 0 0 0 100%
polar/models/event.py EventClosure.descendant 1 0 0 0 0 100%
polar/models/event.py populate_event_closure 13 13 0 6 0 0%
polar/models/event.py (no function) 69 2 0 2 1 96%
polar/models/event_type.py EventType.organization 1 0 0 0 0 100%
polar/models/event_type.py (no function) 16 1 0 2 1 89%
polar/models/external_event.py ExternalEvent.is_handled 1 1 0 0 0 0%
polar/models/external_event.py ExternalEvent._is_handled_expression 1 1 0 0 0 0%
polar/models/external_event.py StripeEvent.stripe_data 1 1 0 0 0 0%
polar/models/external_event.py (no function) 31 0 0 0 0 100%
polar/models/file.py File.organization 1 0 0 0 0 100%
polar/models/file.py (no function) 38 1 0 2 1 95%
polar/models/held_balance.py HeldBalance.organization 1 0 0 0 0 100%
polar/models/held_balance.py HeldBalance.account 1 0 0 0 0 100%
polar/models/held_balance.py HeldBalance.payment_transaction 1 0 0 0 0 100%
polar/models/held_balance.py HeldBalance.pledge 1 0 0 0 0 100%
polar/models/held_balance.py HeldBalance.order 1 0 0 0 0 100%
polar/models/held_balance.py HeldBalance.issue_reward 1 0 0 0 0 100%
polar/models/held_balance.py (no function) 35 1 0 2 1 95%
polar/models/issue_reward.py IssueReward.organization 1 0 0 0 0 100%
polar/models/issue_reward.py IssueReward.user 1 0 0 0 0 100%
polar/models/issue_reward.py IssueReward.pct 1 1 0 0 0 0%
polar/models/issue_reward.py IssueReward.get_share_amount 1 1 0 0 0 0%
polar/models/issue_reward.py IssueReward.get_rewarded 5 5 0 4 0 0%
polar/models/issue_reward.py IssueReward.get_rewarded_account 4 4 0 2 0 0%
polar/models/issue_reward.py (no function) 28 2 0 2 1 90%
polar/models/license_key.py LicenseKey.organization 1 0 0 0 0 100%
polar/models/license_key.py LicenseKey.customer 1 0 0 0 0 100%
polar/models/license_key.py LicenseKey.benefit 1 0 0 0 0 100%
polar/models/license_key.py LicenseKey.all_activations 1 0 0 0 0 100%
polar/models/license_key.py LicenseKey.activations 1 0 0 0 0 100%
polar/models/license_key.py LicenseKey.display_key 3 3 0 0 0 0%
polar/models/license_key.py LicenseKey.activation 1 1 0 0 0 0%
polar/models/license_key.py LicenseKey.activation 1 1 0 0 0 0%
polar/models/license_key.py LicenseKey.mark_revoked 1 1 0 0 0 0%
polar/models/license_key.py LicenseKey.mark_validated 4 4 0 2 0 0%
polar/models/license_key.py LicenseKey.is_active 1 1 0 0 0 0%
polar/models/license_key.py (no function) 49 2 0 2 1 94%
polar/models/license_key_activation.py LicenseKeyActivation.license_key 1 0 0 0 0 100%
polar/models/license_key_activation.py LicenseKeyActivation.mark_deleted 1 1 0 0 0 0%
polar/models/license_key_activation.py (no function) 18 1 0 2 1 90%
polar/models/login_code.py (no function) 15 1 0 2 1 88%
polar/models/member.py Member.customer 1 0 0 0 0 100%
polar/models/member.py (no function) 21 0 0 0 0 100%
polar/models/meter.py Meter.last_billed_event 1 0 0 0 0 100%
polar/models/meter.py Meter.organization 1 0 0 0 0 100%
polar/models/meter.py (no function) 24 2 0 2 1 88%
polar/models/notification.py (no function) 15 1 0 2 1 88%
polar/models/notification_recipient.py NotificationRecipient.user 1 0 0 0 0 100%
polar/models/notification_recipient.py (no function) 15 1 0 2 1 88%
polar/models/oauth2_authorization_code.py (no function) 8 0 0 0 0 100%
polar/models/oauth2_client.py OAuth2Client.user 1 0 0 0 0 100%
polar/models/oauth2_client.py OAuth2Client.default_sub_type 4 4 0 0 0 0%
polar/models/oauth2_client.py (no function) 20 1 0 2 1 91%
polar/models/oauth2_grant.py OAuth2Grant.user 1 0 0 0 0 100%
polar/models/oauth2_grant.py OAuth2Grant.organization 1 0 0 0 0 100%
polar/models/oauth2_grant.py OAuth2Grant.scopes 1 1 0 0 0 0%
polar/models/oauth2_grant.py (no function) 19 0 0 0 0 100%
polar/models/oauth2_token.py OAuth2Token.client 1 0 0 0 0 100%
polar/models/oauth2_token.py OAuth2Token.expires_at 1 1 0 0 0 0%
polar/models/oauth2_token.py OAuth2Token.scopes 1 1 0 0 0 0%
polar/models/oauth2_token.py OAuth2Token.get_introspection_data 1 1 0 0 0 0%
polar/models/oauth2_token.py (no function) 20 1 0 2 1 91%
polar/models/order.py OrderRefundExceedsBalance.__init__ 2 2 0 0 0 0%
polar/models/order.py Order.customer 1 0 0 0 0 100%
polar/models/order.py Order.product 1 0 0 0 0 100%
polar/models/order.py Order.discount 1 0 0 0 0 100%
polar/models/order.py Order.subscription 1 0 0 0 0 100%
polar/models/order.py Order.checkout 1 0 0 0 0 100%
polar/models/order.py Order.customer_seats 1 0 0 0 0 100%
polar/models/order.py Order.legacy_product_price 6 6 0 6 0 0%
polar/models/order.py Order.legacy_product_price_id 4 4 0 2 0 0%
polar/models/order.py Order.paid 1 1 0 0 0 0%
polar/models/order.py Order._paid_expression 1 1 0 0 0 0%
polar/models/order.py Order.net_amount 1 1 0 0 0 0%
polar/models/order.py Order._net_amount_expression 1 1 0 0 0 0%
polar/models/order.py Order.total_amount 1 1 0 0 0 0%
polar/models/order.py Order._total_amount_expression 1 1 0 0 0 0%
polar/models/order.py Order.due_amount 1 1 0 0 0 0%
polar/models/order.py Order._due_amount_expression 1 1 0 0 0 0%
polar/models/order.py Order.payout_amount 1 1 0 0 0 0%
polar/models/order.py Order._payout_amount_expression 1 1 0 0 0 0%
polar/models/order.py Order.taxed 1 1 0 0 0 0%
polar/models/order.py Order.refunded 1 1 0 0 0 0%
polar/models/order.py Order.refundable_amount 1 1 0 0 0 0%
polar/models/order.py Order.refundable_tax_amount 1 1 0 0 0 0%
polar/models/order.py Order.remaining_balance 1 1 0 0 0 0%
polar/models/order.py Order.update_refunds 13 13 0 6 0 0%
polar/models/order.py Order.is_invoice_generated 1 1 0 0 0 0%
polar/models/order.py Order.invoice_filename 1 1 0 0 0 0%
polar/models/order.py Order.statement_descriptor_suffix 3 3 0 2 0 0%
polar/models/order.py Order.description 3 3 0 2 0 0%
polar/models/order.py (no function) 130 1 0 2 1 98%
polar/models/order_item.py OrderItem.product_price 1 0 0 0 0 100%
polar/models/order_item.py OrderItem.order 1 0 0 0 0 100%
polar/models/order_item.py OrderItem.total_amount 1 1 0 0 0 0%
polar/models/order_item.py OrderItem.discountable 1 1 0 0 0 0%
polar/models/order_item.py OrderItem.from_price 10 10 0 8 0 0%
polar/models/order_item.py OrderItem.from_trial 4 4 0 0 0 0%
polar/models/order_item.py OrderItem.from_wallet 2 2 0 0 0 0%
polar/models/order_item.py (no function) 34 1 0 2 1 94%
polar/models/organization.py OrganizationStatus.get_display_name 1 1 0 0 0 0%
polar/models/organization.py OrganizationStatus.review_statuses 1 1 0 0 0 0%
polar/models/organization.py OrganizationStatus.payment_ready_statuses 1 1 0 0 0 0%
polar/models/organization.py Organization.account 1 0 0 0 0 100%
polar/models/organization.py Organization.can_authenticate 1 1 0 0 0 0%
polar/models/organization.py Organization._can_authenticate_expression 1 0 0 0 0 100%
polar/models/organization.py Organization.storefront_enabled 1 1 0 0 0 0%
polar/models/organization.py Organization._storefront_enabled_expression 1 1 0 0 0 0%
polar/models/organization.py Organization.is_under_review 1 1 0 0 0 0%
polar/models/organization.py Organization._is_under_review_expression 1 1 0 0 0 0%
polar/models/organization.py Organization.polar_site_url 1 1 0 0 0 0%
polar/models/organization.py Organization.account_url 1 1 0 0 0 0%
polar/models/organization.py Organization.allow_multiple_subscriptions 1 1 0 0 0 0%
polar/models/organization.py Organization.allow_customer_updates 1 1 0 0 0 0%
polar/models/organization.py Organization.proration_behavior 1 1 0 0 0 0%
polar/models/organization.py Organization.benefit_revocation_grace_period 1 1 0 0 0 0%
polar/models/organization.py Organization.prevent_trial_abuse 1 1 0 0 0 0%
polar/models/organization.py Organization.invoice_numbering 1 1 0 0 0 0%
polar/models/organization.py Organization.all_products 1 0 0 0 0 100%
polar/models/organization.py Organization.products 1 0 0 0 0 100%
polar/models/organization.py Organization.review 1 0 0 0 0 100%
polar/models/organization.py Organization.is_blocked 3 3 0 2 0 0%
polar/models/organization.py Organization.is_active 1 1 0 0 0 0%
polar/models/organization.py Organization.statement_descriptor 5 5 0 2 0 0%
polar/models/organization.py Organization.statement_descriptor_prefixed 1 1 0 0 0 0%
polar/models/organization.py Organization.email_from_reply 1 1 0 0 0 0%
polar/models/organization.py (no function) 144 2 0 2 1 98%
polar/models/organization_access_token.py OrganizationAccessToken.organization 1 0 0 0 0 100%
polar/models/organization_access_token.py OrganizationAccessToken.scopes 1 1 0 0 0 0%
polar/models/organization_access_token.py (no function) 19 0 0 0 0 100%
polar/models/organization_review.py OrganizationReview.organization 1 0 0 0 0 100%
polar/models/organization_review.py OrganizationReview.__repr__ 1 1 0 0 0 0%
polar/models/organization_review.py (no function) 35 1 0 2 1 95%
polar/models/payment.py PaymentStatus.from_stripe_charge 1 1 0 0 0 0%
polar/models/payment.py Payment.organization 1 0 0 0 0 100%
polar/models/payment.py Payment.checkout 1 0 0 0 0 100%
polar/models/payment.py Payment.wallet 1 0 0 0 0 100%
polar/models/payment.py Payment.order 1 0 0 0 0 100%
polar/models/payment.py Payment.is_succeeded 1 1 0 0 0 0%
polar/models/payment.py Payment._is_succeeded_expression 1 1 0 0 0 0%
polar/models/payment.py Payment.is_failed 1 1 0 0 0 0%
polar/models/payment.py Payment._is_failed_expression 1 1 0 0 0 0%
polar/models/payment.py (no function) 59 4 0 2 1 92%
polar/models/payment_method.py PaymentMethod.customer 1 0 0 0 0 100%
polar/models/payment_method.py PaymentMethod.fingerprint 1 1 0 0 0 0%
polar/models/payment_method.py (no function) 22 1 0 2 1 92%
polar/models/payout.py PayoutStatus.from_stripe 5 5 0 4 0 0%
polar/models/payout.py Payout.gross_amount 1 1 0 0 0 0%
polar/models/payout.py Payout.fees_transactions 1 1 0 0 0 0%
polar/models/payout.py Payout.is_invoice_generated 1 1 0 0 0 0%
polar/models/payout.py (no function) 55 2 0 2 1 95%
polar/models/personal_access_token.py PersonalAccessToken.user 1 0 0 0 0 100%
polar/models/personal_access_token.py PersonalAccessToken.scopes 1 0 0 0 0 100%
polar/models/personal_access_token.py (no function) 19 0 0 0 0 100%
polar/models/pledge.py PledgeState.active_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.to_created_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.to_confirmation_pending_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.to_pending_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.to_disputed_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.to_paid_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.to_refunded_states 1 1 0 0 0 0%
polar/models/pledge.py PledgeState.from_str 1 1 0 0 0 0%
polar/models/pledge.py PledgeType.from_str 1 1 0 0 0 0%
polar/models/pledge.py Pledge.organization 1 0 0 0 0 100%
polar/models/pledge.py Pledge.amount_including_fee 1 1 0 0 0 0%
polar/models/pledge.py Pledge.user 1 0 0 0 0 100%
polar/models/pledge.py Pledge.by_organization 1 0 0 0 0 100%
polar/models/pledge.py Pledge.on_behalf_of_organization 1 0 0 0 0 100%
polar/models/pledge.py Pledge.created_by_user 1 0 0 0 0 100%
polar/models/pledge.py Pledge.ready_for_transfer 1 1 0 0 0 0%
polar/models/pledge.py Pledge._ready_for_transfer_expression 1 1 0 0 0 0%
polar/models/pledge.py (no function) 81 0 0 0 0 100%
polar/models/pledge_transaction.py PledgeTransaction.pledge 1 0 0 0 0 100%
polar/models/pledge_transaction.py PledgeTransaction.issue_reward 1 0 0 0 0 100%
polar/models/pledge_transaction.py (no function) 23 0 0 0 0 100%
polar/models/processor_transaction.py ProcessorTransaction.from_stripe 1 1 0 0 0 0%
polar/models/processor_transaction.py (no function) 27 0 0 0 0 100%
polar/models/product.py Product.organization 1 0 0 0 0 100%
polar/models/product.py Product.all_prices 1 0 0 0 0 100%
polar/models/product.py Product.prices 1 0 0 0 0 100%
polar/models/product.py Product.get_stripe_name 1 1 0 0 0 0%
polar/models/product.py Product.get_price 5 5 0 4 0 0%
polar/models/product.py Product.get_static_price 5 5 0 4 0 0%
polar/models/product.py Product.is_legacy_recurring_price 1 1 0 0 0 0%
polar/models/product.py Product.has_seat_based_price 1 1 0 0 0 0%
polar/models/product.py Product.is_recurring 3 3 0 2 0 0%
polar/models/product.py Product._is_recurring_expression 1 1 0 0 0 0%
polar/models/product.py Product.billing_type 3 3 0 2 0 0%
polar/models/product.py Product._billing_type_expression 1 1 0 0 0 0%
polar/models/product.py (no function) 61 2 0 2 1 95%
polar/models/product_benefit.py ProductBenefit.product 1 0 0 0 0 100%
polar/models/product_benefit.py ProductBenefit.benefit 1 0 0 0 0 100%
polar/models/product_benefit.py (no function) 17 1 0 2 1 89%
polar/models/product_custom_field.py ProductCustomField.product 1 0 0 0 0 100%
polar/models/product_custom_field.py (no function) 14 1 0 2 1 88%
polar/models/product_media.py ProductMedia.product 1 0 0 0 0 100%
polar/models/product_media.py ProductMedia.file 1 0 0 0 0 100%
polar/models/product_media.py (no function) 18 2 0 2 1 85%
polar/models/product_price.py ProductPriceType.as_literal 1 1 0 0 0 0%
polar/models/product_price.py HasStripePriceId.get_stripe_price_params 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice.product 1 0 0 0 0 100%
polar/models/product_price.py ProductPrice.checkout_product 1 0 0 0 0 100%
polar/models/product_price.py ProductPrice.is_recurring 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice._is_recurring_expression 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice.is_static 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice._is_static_price_expression 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice.is_metered 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice._is_metered_price_expression 1 1 0 0 0 0%
polar/models/product_price.py ProductPrice.legacy_type 3 3 0 2 0 0%
polar/models/product_price.py ProductPrice.legacy_recurring_interval 1 1 0 0 0 0%
polar/models/product_price.py _ProductPriceFixed.get_stripe_price_params 4 4 0 2 0 0%
polar/models/product_price.py _ProductPriceCustom.get_stripe_price_params 8 8 0 6 0 0%
polar/models/product_price.py _ProductPriceFree.get_stripe_price_params 4 4 0 2 0 0%
polar/models/product_price.py ProductPriceMeteredUnit.meter 1 0 0 0 0 100%
polar/models/product_price.py ProductPriceMeteredUnit.get_amount_and_label 9 9 0 2 0 0%
polar/models/product_price.py ProductPriceSeatUnit.get_tier_for_seats 6 6 0 4 0 0%
polar/models/product_price.py ProductPriceSeatUnit.get_price_per_seat 2 2 0 0 0 0%
polar/models/product_price.py ProductPriceSeatUnit.calculate_amount 1 1 0 0 0 0%
polar/models/product_price.py set_identity 9 9 0 4 0 0%
polar/models/product_price.py (no function) 131 1 0 2 1 98%
polar/models/refund.py RefundReason.from_stripe 7 7 0 6 0 0%
polar/models/refund.py RefundReason.to_stripe 3 3 0 2 0 0%
polar/models/refund.py RefundFailureReason.from_stripe 13 13 0 12 0 0%
polar/models/refund.py Refund.order 1 0 0 0 0 100%
polar/models/refund.py Refund.subscription 1 0 0 0 0 100%
polar/models/refund.py Refund.organization 1 0 0 0 0 100%
polar/models/refund.py Refund.customer 1 0 0 0 0 100%
polar/models/refund.py Refund.pledge 1 0 0 0 0 100%
polar/models/refund.py Refund.succeeded 1 1 0 0 0 0%
polar/models/refund.py Refund._succeeded_expression 1 1 0 0 0 0%
polar/models/refund.py Refund.total_amount 1 1 0 0 0 0%
polar/models/refund.py Refund._total_amount_expression 1 1 0 0 0 0%
polar/models/refund.py (no function) 80 1 0 2 1 98%
polar/models/subscription.py SubscriptionStatus.incomplete_statuses 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.active_statuses 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.revoked_statuses 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.billable_statuses 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.is_incomplete 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.is_active 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.is_revoked 1 1 0 0 0 0%
polar/models/subscription.py SubscriptionStatus.is_billable 1 1 0 0 0 0%
polar/models/subscription.py Subscription.customer 1 0 0 0 0 100%
polar/models/subscription.py Subscription.payment_method 1 0 0 0 0 100%
polar/models/subscription.py Subscription.product 1 0 0 0 0 100%
polar/models/subscription.py Subscription.discount 1 0 0 0 0 100%
polar/models/subscription.py Subscription.checkout 1 0 0 0 0 100%
polar/models/subscription.py Subscription.grants 1 0 0 0 0 100%
polar/models/subscription.py Subscription.customer_seats 1 0 0 0 0 100%
polar/models/subscription.py Subscription.is_incomplete 1 1 0 0 0 0%
polar/models/subscription.py Subscription.trialing 1 1 0 0 0 0%
polar/models/subscription.py Subscription._trialing_expression 1 1 0 0 0 0%
polar/models/subscription.py Subscription.active 1 1 0 0 0 0%
polar/models/subscription.py Subscription._active_expression 1 1 0 0 0 0%
polar/models/subscription.py Subscription.revoked 1 1 0 0 0 0%
polar/models/subscription.py Subscription._revoked_expression 1 1 0 0 0 0%
polar/models/subscription.py Subscription.canceled 1 1 0 0 0 0%
polar/models/subscription.py Subscription._canceled_expression 1 1 0 0 0 0%
polar/models/subscription.py Subscription.billable 1 1 0 0 0 0%
polar/models/subscription.py Subscription._billable_expression 1 1 0 0 0 0%
polar/models/subscription.py Subscription.can_cancel 9 9 0 8 0 0%
polar/models/subscription.py Subscription.can_uncancel 1 1 0 0 0 0%
polar/models/subscription.py Subscription.set_started_at 2 2 0 2 0 0%
polar/models/subscription.py Subscription.update_amount_and_currency 10 10 0 6 0 0%
polar/models/subscription.py Subscription.update_meters 11 11 0 6 0 0%
polar/models/subscription.py Subscription.get_meter 4 4 0 4 0 0%
polar/models/subscription.py _prices_replaced 2 2 0 0 0 0%
polar/models/subscription.py _price_appended 4 4 0 2 0 0%
polar/models/subscription.py _discount_set 1 1 0 0 0 0%
polar/models/subscription.py (no function) 141 1 0 2 1 99%
polar/models/subscription_meter.py SubscriptionMeter.subscription 1 0 0 0 0 100%
polar/models/subscription_meter.py SubscriptionMeter.meter 1 0 0 0 0 100%
polar/models/subscription_meter.py SubscriptionMeter.reset 3 3 0 0 0 0%
polar/models/subscription_meter.py (no function) 23 2 0 2 1 88%
polar/models/subscription_product_price.py SubscriptionProductPrice.product_price 1 0 0 0 0 100%
polar/models/subscription_product_price.py SubscriptionProductPrice.subscription 1 0 0 0 0 100%
polar/models/subscription_product_price.py SubscriptionProductPrice.from_price 9 9 0 6 0 0%
polar/models/subscription_product_price.py (no function) 19 1 0 2 1 90%
polar/models/transaction.py Transaction.account 1 0 0 0 0 100%
polar/models/transaction.py Transaction.payment_customer 1 0 0 0 0 100%
polar/models/transaction.py Transaction.payment_organization 1 0 0 0 0 100%
polar/models/transaction.py Transaction.payment_user 1 0 0 0 0 100%
polar/models/transaction.py Transaction.pledge 1 0 0 0 0 100%
polar/models/transaction.py Transaction.order 1 0 0 0 0 100%
polar/models/transaction.py Transaction.issue_reward 1 0 0 0 0 100%
polar/models/transaction.py Transaction.payment_transaction 1 0 0 0 0 100%
polar/models/transaction.py Transaction.refund 1 0 0 0 0 100%
polar/models/transaction.py Transaction.payout 1 0 0 0 0 100%
polar/models/transaction.py Transaction.balance_transactions 1 0 0 0 0 100%
polar/models/transaction.py Transaction.balance_reversal_transaction 1 0 0 0 0 100%
polar/models/transaction.py Transaction.balance_reversal_transactions 1 0 0 0 0 100%
polar/models/transaction.py Transaction.payout_transaction 1 0 0 0 0 100%
polar/models/transaction.py Transaction.paid_transactions 1 0 0 0 0 100%
polar/models/transaction.py Transaction.incurred_by_transaction 1 0 0 0 0 100%
polar/models/transaction.py Transaction.incurred_transactions 1 0 0 0 0 100%
polar/models/transaction.py Transaction.account_incurred_transactions 1 0 0 0 0 100%
polar/models/transaction.py Transaction.incurred_amount 1 1 0 0 0 0%
polar/models/transaction.py Transaction.gross_amount 2 2 0 0 0 0%
polar/models/transaction.py Transaction.net_amount 2 2 0 0 0 0%
polar/models/transaction.py Transaction.reversed_amount 1 1 0 0 0 0%
polar/models/transaction.py Transaction.transferable_amount 1 1 0 0 0 0%
polar/models/transaction.py Transaction.__repr__ 1 1 0 0 0 0%
polar/models/transaction.py (no function) 198 1 0 2 1 99%
polar/models/trial_redemption.py TrialRedemption.customer 1 0 0 0 0 100%
polar/models/trial_redemption.py TrialRedemption.product 1 0 0 0 0 100%
polar/models/trial_redemption.py (no function) 19 1 0 2 1 90%
polar/models/user.py IdentityVerificationStatus.get_display_name 1 1 0 0 0 0%
polar/models/user.py OAuthAccount.is_access_token_expired 3 3 0 2 0 0%
polar/models/user.py OAuthAccount.should_refresh_access_token 3 3 0 2 0 0%
polar/models/user.py User.account 1 0 0 0 0 100%
polar/models/user.py User.oauth_accounts 1 0 0 0 0 100%
polar/models/user.py User.identity_verified 1 1 0 0 0 0%
polar/models/user.py User.can_authenticate 1 1 0 0 0 0%
polar/models/user.py User._can_authenticate_expression 1 0 0 0 0 100%
polar/models/user.py User.signup_attribution 1 1 0 0 0 0%
polar/models/user.py User.signup_attribution 7 7 0 4 0 0%
polar/models/user.py User.had_creator_signup_intent 1 1 0 0 0 0%
polar/models/user.py User.campaign_code 1 1 0 0 0 0%
polar/models/user.py User.get_oauth_account 1 1 0 0 0 0%
polar/models/user.py User.get_github_account 1 1 0 0 0 0%
polar/models/user.py User.posthog_distinct_id 1 0 0 0 0 100%
polar/models/user.py User.public_name 4 4 0 2 0 0%
polar/models/user.py User.github_username 4 4 0 2 0 0%
polar/models/user.py (no function) 83 1 0 2 1 98%
polar/models/user_notification.py (no function) 8 0 0 0 0 100%
polar/models/user_organization.py UserOrganization.user 1 0 0 0 0 100%
polar/models/user_organization.py UserOrganization.organization 1 0 0 0 0 100%
polar/models/user_organization.py (no function) 14 0 0 0 0 100%
polar/models/user_session.py get_expires_at 1 1 0 0 0 0%
polar/models/user_session.py UserSession.user 1 0 0 0 0 100%
polar/models/user_session.py (no function) 21 0 0 0 0 100%
polar/models/wallet.py Wallet.customer 1 0 0 0 0 100%
polar/models/wallet.py Wallet.balance 2 0 0 0 0 100%
polar/models/wallet.py (no function) 25 2 0 2 1 89%
polar/models/wallet_transaction.py WalletTransaction.wallet 1 0 0 0 0 100%
polar/models/wallet_transaction.py WalletTransaction.order 1 0 0 0 0 100%
polar/models/wallet_transaction.py WalletTransaction.refund 1 0 0 0 0 100%
polar/models/wallet_transaction.py (no function) 28 3 0 2 1 87%
polar/models/webhook_delivery.py WebhookDelivery.webhook_endpoint 1 0 0 0 0 100%
polar/models/webhook_delivery.py WebhookDelivery.webhook_event 1 0 0 0 0 100%
polar/models/webhook_delivery.py (no function) 19 2 0 2 1 86%
polar/models/webhook_endpoint.py WebhookEndpoint.organization 1 0 0 0 0 100%
polar/models/webhook_endpoint.py (no function) 55 1 0 2 1 96%
polar/models/webhook_event.py WebhookEvent.webhook_endpoint 1 0 0 0 0 100%
polar/models/webhook_event.py WebhookEvent.is_archived 1 1 0 0 0 0%
polar/models/webhook_event.py WebhookEvent._is_archived_expression 1 1 0 0 0 0%
polar/models/webhook_event.py (no function) 26 1 0 2 1 93%
polar/notification_recipient/__init__.py (no function) 0 0 0 0 0 100%
polar/notification_recipient/auth.py (no function) 9 0 0 0 0 100%
polar/notification_recipient/repository.py NotificationRecipientRepository.delete 5 5 0 2 0 0%
polar/notification_recipient/repository.py NotificationRecipientRepository.list_by_user 6 6 0 4 0 0%
polar/notification_recipient/repository.py NotificationRecipientRepository.get_by_expo_token 2 2 0 0 0 0%
polar/notification_recipient/repository.py (no function) 11 0 0 0 0 100%
polar/notification_recipient/schemas.py (no function) 16 0 0 0 0 100%
polar/notification_recipient/service.py NotificationRecipientService.list_by_user 2 2 0 0 0 0%
polar/notification_recipient/service.py NotificationRecipientService.create 7 7 0 4 0 0%
polar/notification_recipient/service.py NotificationRecipientService.delete 2 2 0 0 0 0%
polar/notification_recipient/service.py (no function) 14 0 0 0 0 100%
polar/notifications/__init__.py (no function) 0 0 0 0 0 100%
polar/notifications/auth.py (no function) 9 0 0 0 0 100%
polar/notifications/endpoints.py get 3 3 0 0 0 0%
polar/notifications/endpoints.py mark_read 2 2 0 0 0 0%
polar/notifications/endpoints.py create 2 2 0 0 0 0%
polar/notifications/endpoints.py list 2 2 0 0 0 0%
polar/notifications/endpoints.py delete 1 1 0 0 0 0%
polar/notifications/endpoints.py (no function) 25 0 0 0 0 100%
polar/notifications/notification.py NotificationPayloadBase.subject 1 1 0 0 0 0%
polar/notifications/notification.py NotificationPayloadBase.template_name 1 1 0 0 0 0%
polar/notifications/notification.py NotificationPayloadBase.render 2 2 0 0 0 0%
polar/notifications/notification.py MaintainerAccountUnderReviewNotificationPayload.subject 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerAccountUnderReviewNotificationPayload.template_name 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerNewPaidSubscriptionNotificationPayload.formatted_price_amount 3 3 0 2 0 0%
polar/notifications/notification.py MaintainerNewPaidSubscriptionNotificationPayload.subject 4 4 0 2 0 0%
polar/notifications/notification.py MaintainerNewPaidSubscriptionNotificationPayload.template_name 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerNewProductSaleNotificationPayload.formatted_price_amount 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerNewProductSaleNotificationPayload.subject 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerNewProductSaleNotificationPayload.template_name 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerCreateAccountNotificationPayload.subject 1 1 0 0 0 0%
polar/notifications/notification.py MaintainerCreateAccountNotificationPayload.template_name 1 1 0 0 0 0%
polar/notifications/notification.py (no function) 66 0 0 0 0 100%
polar/notifications/schemas.py (no function) 8 0 0 0 0 100%
polar/notifications/service.py NotificationsService.get 3 3 0 0 0 0%
polar/notifications/service.py NotificationsService.get_for_user 3 3 0 0 0 0%
polar/notifications/service.py NotificationsService.send_to_user 6 6 0 0 0 0%
polar/notifications/service.py NotificationsService.send_to_org_members 3 3 0 2 0 0%
polar/notifications/service.py NotificationsService.parse_payload 3 3 0 0 0 0%
polar/notifications/service.py NotificationsService.get_user_last_read 4 4 0 0 0 0%
polar/notifications/service.py NotificationsService.set_user_last_read 2 2 0 0 0 0%
polar/notifications/service.py (no function) 25 0 0 0 0 100%
polar/notifications/tasks/__init__.py (no function) 2 0 0 0 0 100%
polar/notifications/tasks/email.py notifications_send 8 8 0 2 0 0%
polar/notifications/tasks/email.py (no function) 8 0 0 0 0 100%
polar/notifications/tasks/push.py send_push_message 16 16 0 0 0 0%
polar/notifications/tasks/push.py notifications_push 20 20 0 8 0 0%
polar/notifications/tasks/push.py (no function) 14 0 0 0 0 100%
polar/oauth2/__init__.py (no function) 0 0 0 0 0 100%
polar/oauth2/authorization_server.py _get_server_metadata 2 2 0 0 0 0%
polar/oauth2/authorization_server.py _get_server_metadata._dummy_url_for 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.generate_client_registration_info 2 2 0 0 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.generate_client_id 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.generate_client_secret 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.create_registration_response 7 7 0 4 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.get_server_metadata 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.authenticate_token 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientRegistrationEndpoint.save_client 8 8 0 2 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.generate_client_registration_info 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.create_read_client_response 7 7 0 4 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.authenticate_token 9 9 0 6 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.authenticate_client 12 12 0 6 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.revoke_access_token 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.check_permission 1 1 0 0 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.delete_client 2 2 0 0 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.update_client 4 4 0 0 0 0%
polar/oauth2/authorization_server.py ClientConfigurationEndpoint.get_server_metadata 1 1 0 0 0 0%
polar/oauth2/authorization_server.py _QueryTokenMixin.query_token 9 9 0 4 0 0%
polar/oauth2/authorization_server.py RevocationEndpoint.revoke_token 7 7 0 2 0 0%
polar/oauth2/authorization_server.py IntrospectionEndpoint.check_permission 1 1 0 0 0 0%
polar/oauth2/authorization_server.py IntrospectionEndpoint.introspect_token 1 1 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_endpoint_response 0 0 0 0 0 100%
polar/oauth2/authorization_server.py AuthorizationServer.__init__ 4 4 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.build 7 7 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.query_client 3 3 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.save_token 11 11 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.get_error_uri 3 3 0 2 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_oauth2_request 1 1 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_json_request 1 1 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.send_signal 1 1 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.handle_response 3 3 0 2 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_bearer_token_generator 3 3 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_bearer_token_generator._access_token_generator 2 2 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_bearer_token_generator._refresh_token_generator 2 2 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.create_authorization_response 15 15 0 4 0 0%
polar/oauth2/authorization_server.py AuthorizationServer._save_consent 6 6 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.response_types_supported 7 7 0 2 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.response_modes_supported 1 1 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.grant_types_supported 7 7 0 2 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.token_endpoint_auth_methods_supported 1 1 0 0 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.revocation_endpoint_auth_methods_supported 4 4 0 2 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.introspection_endpoint_auth_methods_supported 4 4 0 2 0 0%
polar/oauth2/authorization_server.py AuthorizationServer.code_challenge_methods_supported 6 6 0 6 0 0%
polar/oauth2/authorization_server.py (no function) 89 4 0 4 1 92%
polar/oauth2/constants.py is_registration_token_prefix 1 0 0 0 0 100%
polar/oauth2/constants.py (no function) 16 0 0 0 0 100%
polar/oauth2/dependencies.py get_optional_token 5 5 0 2 0 0%
polar/oauth2/dependencies.py get_token 6 6 0 4 0 0%
polar/oauth2/dependencies.py get_authorization_server 9 9 0 0 0 0%
polar/oauth2/dependencies.py (no function) 16 0 0 0 0 100%
polar/oauth2/endpoints/__init__.py (no function) 0 0 0 0 0 100%
polar/oauth2/endpoints/oauth2.py list 2 2 0 0 0 0%
polar/oauth2/endpoints/oauth2.py create 3 3 0 0 0 0%
polar/oauth2/endpoints/oauth2.py get 2 2 0 0 0 0%
polar/oauth2/endpoints/oauth2.py update 3 3 0 0 0 0%
polar/oauth2/endpoints/oauth2.py delete 2 2 0 0 0 0%
polar/oauth2/endpoints/oauth2.py authorize 15 15 0 6 0 0%
polar/oauth2/endpoints/oauth2.py consent 3 3 0 0 0 0%
polar/oauth2/endpoints/oauth2.py token 2 2 0 0 0 0%
polar/oauth2/endpoints/oauth2.py revoke 2 2 0 0 0 0%
polar/oauth2/endpoints/oauth2.py introspect 2 2 0 0 0 0%
polar/oauth2/endpoints/oauth2.py userinfo_get 1 1 0 0 0 0%
polar/oauth2/endpoints/oauth2.py userinfo_post 1 1 0 0 0 0%
polar/oauth2/endpoints/oauth2.py (no function) 45 0 0 0 0 100%
polar/oauth2/endpoints/well_known.py well_known_jwks 1 1 0 0 0 0%
polar/oauth2/endpoints/well_known.py well_known_openid_configuration 3 3 0 0 0 0%
polar/oauth2/endpoints/well_known.py well_known_openid_configuration._url_for 1 1 0 0 0 0%
polar/oauth2/endpoints/well_known.py (no function) 12 0 0 0 0 100%
polar/oauth2/exception_handlers.py oauth2_error_exception_handler 4 4 0 2 0 0%
polar/oauth2/exception_handlers.py (no function) 5 0 0 0 0 100%
polar/oauth2/exceptions.py InvalidTokenError.__init__ 1 1 0 0 0 0%
polar/oauth2/exceptions.py InsufficientScopeError.__init__ 1 1 0 0 0 0%
polar/oauth2/exceptions.py (no function) 11 0 0 0 0 100%
polar/oauth2/grants/__init__.py register_grants 3 3 0 0 0 0%
polar/oauth2/grants/__init__.py (no function) 8 1 0 2 1 80%
polar/oauth2/grants/authorization_code.py _exists_nonce 3 3 0 0 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.__init__ 3 3 0 0 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.before_validate_authorization_request_payload 4 4 0 2 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.create_authorization_response 7 7 0 2 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.generate_authorization_code 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.save_authorization_code 12 12 0 0 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.query_authorization_code 7 7 0 2 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.delete_authorization_code 2 2 0 0 0 0%
polar/oauth2/grants/authorization_code.py AuthorizationCodeGrant.authenticate_user 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py OpenIDCode.__init__ 2 2 0 0 0 0%
polar/oauth2/grants/authorization_code.py OpenIDCode.exists_nonce 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py OpenIDCode.get_jwt_config 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py OpenIDCode.generate_user_info 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py OpenIDToken.get_jwt_config 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py OpenIDToken.generate_user_info 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt.__init__ 1 1 0 0 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt.__call__ 2 2 0 0 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt._validate 2 2 0 0 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt._validate_sub 25 25 0 10 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt._validate_scope_consent 15 15 0 10 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt._validate_resolved_sub 3 3 0 2 0 0%
polar/oauth2/grants/authorization_code.py ValidateSubAndPrompt._get_organization_admin 3 3 0 0 0 0%
polar/oauth2/grants/authorization_code.py (no function) 56 2 0 2 1 95%
polar/oauth2/grants/refresh_token.py RefreshTokenGrant.authenticate_refresh_token 7 7 0 2 0 0%
polar/oauth2/grants/refresh_token.py RefreshTokenGrant.authenticate_user 1 1 0 0 0 0%
polar/oauth2/grants/refresh_token.py RefreshTokenGrant.revoke_old_credential 3 3 0 0 0 0%
polar/oauth2/grants/refresh_token.py (no function) 17 2 0 2 1 84%
polar/oauth2/grants/web.py WebGrant.validate_token_request 4 4 0 0 0 0%
polar/oauth2/grants/web.py WebGrant.create_token_response 6 6 0 0 0 0%
polar/oauth2/grants/web.py WebGrant._validate_request_client 4 4 0 2 0 0%
polar/oauth2/grants/web.py WebGrant._validate_request_token 42 42 0 18 0 0%
polar/oauth2/grants/web.py WebGrant._get_organization_admin 3 3 0 0 0 0%
polar/oauth2/grants/web.py (no function) 22 0 0 0 0 100%
polar/oauth2/mcp_client.py create_client 16 16 0 2 0 0%
polar/oauth2/mcp_client.py (no function) 16 16 0 2 0 0%
polar/oauth2/metadata.py get_server_metadata 1 1 0 0 0 0%
polar/oauth2/metadata.py (no function) 53 1 0 2 1 96%
polar/oauth2/requests.py RequestPathParamsMixin.path_params 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteOAuth2Payload.__init__ 10 10 0 8 0 0%
polar/oauth2/requests.py StarletteOAuth2Payload.data 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteOAuth2Payload.datalist 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteOAuth2Request.__init__ 5 5 0 0 0 0%
polar/oauth2/requests.py StarletteOAuth2Request.args 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteOAuth2Request.form 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteJsonPayload.__init__ 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteJsonPayload.data 1 1 0 0 0 0%
polar/oauth2/requests.py StarletteJsonRequest.__init__ 4 4 0 0 0 0%
polar/oauth2/requests.py StarletteJsonRequest.url_for 1 1 0 0 0 0%
polar/oauth2/requests.py (no function) 29 1 0 0 0 97%
polar/oauth2/schemas.py _is_localhost 4 4 0 0 0 0%
polar/oauth2/schemas.py _is_https_or_localhost 3 3 0 2 0 0%
polar/oauth2/schemas.py add_oauth2_form_schemas 6 0 0 0 0 100%
polar/oauth2/schemas.py (no function) 117 0 0 2 0 100%
polar/oauth2/service/__init__.py (no function) 0 0 0 0 0 100%
polar/oauth2/service/oauth2_authorization_code.py OAuth2AuthorizationCodeService.revoke_leaked 9 9 0 2 0 0%
polar/oauth2/service/oauth2_authorization_code.py (no function) 13 0 0 0 0 100%
polar/oauth2/service/oauth2_client.py OAuth2ClientService.list 2 2 0 0 0 0%
polar/oauth2/service/oauth2_client.py OAuth2ClientService.get_by_client_id 3 3 0 0 0 0%
polar/oauth2/service/oauth2_client.py OAuth2ClientService.revoke_leaked 23 23 0 12 0 0%
polar/oauth2/service/oauth2_client.py (no function) 25 0 0 2 0 100%
polar/oauth2/service/oauth2_grant.py OAuth2GrantService.create_or_update_grant 12 12 0 6 0 0%
polar/oauth2/service/oauth2_grant.py OAuth2GrantService.has_granted_scope 5 5 0 2 0 0%
polar/oauth2/service/oauth2_grant.py OAuth2GrantService._get_by_sub_and_client_id 8 8 0 4 0 0%
polar/oauth2/service/oauth2_grant.py (no function) 13 0 0 2 0 100%
polar/oauth2/service/oauth2_token.py OAuth2TokenService.get_by_access_token 11 8 0 6 0 18%
polar/oauth2/service/oauth2_token.py OAuth2TokenService.revoke_leaked 26 26 0 12 0 0%
polar/oauth2/service/oauth2_token.py (no function) 23 0 0 2 0 100%
polar/oauth2/sub_type.py is_sub_user 1 1 0 0 0 0%
polar/oauth2/sub_type.py is_sub_organization 1 1 0 0 0 0%
polar/oauth2/sub_type.py SubTypeModelMixin.user 1 0 0 0 0 100%
polar/oauth2/sub_type.py SubTypeModelMixin.organization 1 0 0 0 0 100%
polar/oauth2/sub_type.py SubTypeModelMixin.sub 9 9 0 6 0 0%
polar/oauth2/sub_type.py SubTypeModelMixin._sub_setter 5 5 0 4 0 0%
polar/oauth2/sub_type.py SubTypeModelMixin.get_sub_type_value 1 1 0 0 0 0%
polar/oauth2/sub_type.py (no function) 27 1 0 2 1 93%
polar/oauth2/userinfo.py generate_user_info 17 17 0 14 0 0%
polar/oauth2/userinfo.py (no function) 6 0 0 0 0 100%
polar/openapi.py APITag.metadata 1 0 0 0 0 100%
polar/openapi.py set_openapi_generator 2 0 0 0 0 100%
polar/openapi.py set_openapi_generator._openapi_generator 6 1 0 2 1 75%
polar/openapi.py (no function) 32 0 0 0 0 100%
polar/order/__init__.py (no function) 0 0 0 0 0 100%
polar/order/auth.py (no function) 9 0 0 0 0 100%
polar/order/endpoints.py list 2 2 0 0 0 0%
polar/order/endpoints.py export 3 3 0 0 0 0%
polar/order/endpoints.py export.create_csv 5 5 0 2 0 0%
polar/order/endpoints.py get 4 4 0 2 0 0%
polar/order/endpoints.py update 4 4 0 2 0 0%
polar/order/endpoints.py generate_invoice 4 4 0 2 0 0%
polar/order/endpoints.py invoice 4 4 0 2 0 0%
polar/order/endpoints.py (no function) 35 0 0 0 0 100%
polar/order/repository.py OrderRepository.get_all_by_customer 4 4 0 2 0 0%
polar/order/repository.py OrderRepository.get_by_stripe_invoice_id 2 2 0 0 0 0%
polar/order/repository.py OrderRepository.get_earliest_by_checkout_id 2 2 0 0 0 0%
polar/order/repository.py OrderRepository.get_due_dunning_orders 2 2 0 0 0 0%
polar/order/repository.py OrderRepository.acquire_payment_lock_by_id 3 3 0 0 0 0%
polar/order/repository.py OrderRepository.release_payment_lock 1 1 0 0 0 0%
polar/order/repository.py OrderRepository.get_readable_statement 10 10 0 6 0 0%
polar/order/repository.py OrderRepository.get_eager_options 1 1 0 0 0 0%
polar/order/repository.py OrderRepository.get_sorting_clause 17 17 0 16 0 0%
polar/order/repository.py (no function) 25 1 0 2 1 93%
polar/order/schemas.py OrderBase.serialize_billing_reason 3 3 0 2 0 0%
polar/order/schemas.py OrderBase.amount 1 1 0 0 0 0%
polar/order/schemas.py OrderBase.from_balance_amount 1 1 0 0 0 0%
polar/order/schemas.py OrderBase.get_amount_display 1 1 0 0 0 0%
polar/order/schemas.py OrderBase.get_refunded_amount_display 1 1 0 0 0 0%
polar/order/schemas.py (no function) 84 0 0 4 0 100%
polar/order/service.py RecurringProduct.__init__ 4 4 0 0 0 0%
polar/order/service.py NotRecurringProduct.__init__ 4 4 0 0 0 0%
polar/order/service.py MissingCheckoutCustomer.__init__ 3 3 0 0 0 0%
polar/order/service.py MissingStripeCustomerID.__init__ 4 4 0 0 0 0%
polar/order/service.py NotAnOrderInvoice.__init__ 3 3 0 0 0 0%
polar/order/service.py NotASubscriptionInvoice.__init__ 3 3 0 0 0 0%
polar/order/service.py OrderDoesNotExist.__init__ 3 3 0 0 0 0%
polar/order/service.py DiscountDoesNotExist.__init__ 4 4 0 0 0 0%
polar/order/service.py CheckoutDoesNotExist.__init__ 4 4 0 0 0 0%
polar/order/service.py SubscriptionDoesNotExist.__init__ 4 4 0 0 0 0%
polar/order/service.py AlreadyBalancedOrder.__init__ 4 4 0 0 0 0%
polar/order/service.py NotPaidOrder.__init__ 3 3 0 0 0 0%
polar/order/service.py MissingInvoiceBillingDetails.__init__ 3 3 0 0 0 0%
polar/order/service.py InvoiceDoesNotExist.__init__ 3 3 0 0 0 0%
polar/order/service.py OrderNotEligibleForRetry.__init__ 3 3 0 0 0 0%
polar/order/service.py NoPendingBillingEntries.__init__ 3 3 0 0 0 0%
polar/order/service.py OrderNotPending.__init__ 3 3 0 0 0 0%
polar/order/service.py PaymentAlreadyInProgress.__init__ 3 3 0 0 0 0%
polar/order/service.py CardPaymentFailed.__init__ 4 4 0 0 0 0%
polar/order/service.py InvalidPaymentProcessor.__init__ 3 3 0 0 0 0%
polar/order/service.py PaymentRetryValidationError.__init__ 1 1 0 0 0 0%
polar/order/service.py SubscriptionNotTrialing.__init__ 3 3 0 0 0 0%
polar/order/service.py _is_empty_customer_address 1 1 0 0 0 0%
polar/order/service.py OrderService.acquire_payment_lock 11 11 0 4 0 0%
polar/order/service.py OrderService.list 19 19 0 14 0 0%
polar/order/service.py OrderService.get 3 3 0 0 0 0%
polar/order/service.py OrderService.update 4 4 0 0 0 0%
polar/order/service.py OrderService.trigger_invoice_generation 5 5 0 4 0 0%
polar/order/service.py OrderService.generate_invoice 6 6 0 0 0 0%
polar/order/service.py OrderService.get_order_invoice 4 4 0 2 0 0%
polar/order/service.py OrderService.create_from_checkout_one_time 12 12 0 4 0 0%
polar/order/service.py OrderService.create_from_checkout_subscription 7 7 0 4 0 0%
polar/order/service.py OrderService._create_order_from_checkout 41 41 0 18 0 0%
polar/order/service.py OrderService.create_subscription_order 49 49 0 18 0 0%
polar/order/service.py OrderService.create_trial_order 13 13 0 2 0 0%
polar/order/service.py OrderService.create_wallet_order 31 31 0 6 0 0%
polar/order/service.py OrderService.trigger_payment 26 26 0 10 0 0%
polar/order/service.py OrderService.process_retry_payment 63 63 0 30 0 0%
polar/order/service.py OrderService.handle_payment 23 23 0 16 0 0%
polar/order/service.py OrderService.create_order_from_stripe 100 100 0 48 0 0%
polar/order/service.py OrderService.send_admin_notification 5 5 0 4 0 0%
polar/order/service.py OrderService.update_order_from_stripe 12 12 0 4 0 0%
polar/order/service.py OrderService.send_confirmation_email 47 47 0 16 0 0%
polar/order/service.py OrderService.update_product_benefits_grants 6 6 0 4 0 0%
polar/order/service.py OrderService.update_refunds 3 3 0 0 0 0%
polar/order/service.py OrderService.create_order_balance 25 25 0 8 0 0%
polar/order/service.py OrderService.send_webhook 8 8 0 6 0 0%
polar/order/service.py OrderService._on_order_created 6 6 0 4 0 0%
polar/order/service.py OrderService._on_order_updated 4 4 0 2 0 0%
polar/order/service.py OrderService._on_order_paid 5 5 0 2 0 0%
polar/order/service.py OrderService.handle_payment_failure 14 14 0 10 0 0%
polar/order/service.py OrderService._handle_first_dunning_attempt 6 6 0 0 0 0%
polar/order/service.py OrderService._handle_consecutive_dunning_attempts 16 16 0 6 0 0%
polar/order/service.py OrderService.process_dunning_order 13 13 0 6 0 0%
polar/order/service.py (no function) 152 0 0 2 0 100%
polar/order/sorting.py (no function) 15 0 0 0 0 100%
polar/order/tasks.py SubscriptionDoesNotExist.__init__ 3 3 0 0 0 0%
polar/order/tasks.py ProductDoesNotExist.__init__ 3 3 0 0 0 0%
polar/order/tasks.py OrderDoesNotExist.__init__ 3 3 0 0 0 0%
polar/order/tasks.py PaymentMethodDoesNotExist.__init__ 3 3 0 0 0 0%
polar/order/tasks.py create_subscription_order 9 9 0 2 0 0%
polar/order/tasks.py trigger_payment 21 21 0 6 0 0%
polar/order/tasks.py create_order_balance 11 11 0 4 0 0%
polar/order/tasks.py update_product_benefits_grants 6 6 0 2 0 0%
polar/order/tasks.py order_confirmation_email 6 6 0 2 0 0%
polar/order/tasks.py order_invoice 6 6 0 2 0 0%
polar/order/tasks.py process_dunning 5 5 0 2 0 0%
polar/order/tasks.py process_dunning_order 6 6 0 2 0 0%
polar/order/tasks.py (no function) 44 0 0 2 0 100%
polar/organization/__init__.py (no function) 0 0 0 0 0 100%
polar/organization/ai_validation.py _fetch_policy_content 14 14 0 4 0 0%
polar/organization/ai_validation.py OrganizationAIValidator.__init__ 3 0 0 0 0 100%
polar/organization/ai_validation.py OrganizationAIValidator._validate_input 9 9 0 8 0 0%
polar/organization/ai_validation.py OrganizationAIValidator.validate_organization_details 18 18 0 0 0 0%
polar/organization/ai_validation.py OrganizationAIValidator._prepare_organization_context 11 11 0 8 0 0%
polar/organization/ai_validation.py (no function) 32 0 0 0 0 100%
polar/organization/auth.py (no function) 10 0 0 0 0 100%
polar/organization/endpoints.py list 2 2 0 0 0 0%
polar/organization/endpoints.py get 4 4 0 2 0 0%
polar/organization/endpoints.py create 1 1 0 0 0 0%
polar/organization/endpoints.py update 4 4 0 2 0 0%
polar/organization/endpoints.py delete 5 4 0 2 0 14%
polar/organization/endpoints.py get_account 13 13 0 10 0 0%
polar/organization/endpoints.py get_payment_status 12 12 0 8 0 0%
polar/organization/endpoints.py members 5 5 0 2 0 0%
polar/organization/endpoints.py invite_member 18 18 0 6 0 0%
polar/organization/endpoints.py validate_with_ai 5 5 0 2 0 0%
polar/organization/endpoints.py submit_appeal 8 8 0 2 0 0%
polar/organization/endpoints.py get_review_status 8 8 0 4 0 0%
polar/organization/endpoints.py (no function) 51 0 0 0 0 100%
polar/organization/repository.py OrganizationRepository.get_by_id 4 4 0 2 0 0%
polar/organization/repository.py OrganizationRepository.get_by_slug 2 2 0 0 0 0%
polar/organization/repository.py OrganizationRepository.slug_exists 3 3 0 0 0 0%
polar/organization/repository.py OrganizationRepository.get_by_customer 2 2 0 0 0 0%
polar/organization/repository.py OrganizationRepository.get_all_by_user 2 2 0 0 0 0%
polar/organization/repository.py OrganizationRepository.get_all_by_account 2 2 0 0 0 0%
polar/organization/repository.py OrganizationRepository.get_sorting_clause 11 11 0 10 0 0%
polar/organization/repository.py OrganizationRepository.get_readable_statement 7 2 0 4 1 55%
polar/organization/repository.py OrganizationRepository.get_admin_user 5 5 0 2 0 0%
polar/organization/repository.py OrganizationReviewRepository.get_by_organization 2 2 0 0 0 0%
polar/organization/repository.py (no function) 24 0 0 0 0 100%
polar/organization/resolver.py get_payload_organization 12 12 0 8 0 0%
polar/organization/resolver.py (no function) 13 0 0 0 0 100%
polar/organization/schemas.py validate_reserved_keywords 3 3 0 2 0 0%
polar/organization/schemas.py OrganizationSocialLink.validate_url 10 10 0 6 0 0%
polar/organization/schemas.py LegacyOrganizationStatus.from_status 5 5 0 0 0 0%
polar/organization/schemas.py (no function) 155 0 0 0 0 100%
polar/organization/service.py InvalidAccount.__init__ 3 3 0 0 0 0%
polar/organization/service.py AccountAlreadySet.__init__ 3 3 0 0 0 0%
polar/organization/service.py OrganizationService.list 6 6 0 2 0 0%
polar/organization/service.py OrganizationService.get 3 0 0 0 0 100%
polar/organization/service.py OrganizationService.get_anonymous 3 3 0 0 0 0%
polar/organization/service.py OrganizationService.create 8 8 0 2 0 0%
polar/organization/service.py OrganizationService.update 17 17 0 10 0 0%
polar/organization/service.py OrganizationService.delete 19 19 0 12 0 0%
polar/organization/service.py OrganizationService.check_can_delete 8 8 0 4 0 0%
polar/organization/service.py OrganizationService.request_deletion 18 18 0 8 0 0%
polar/organization/service.py OrganizationService.soft_delete_organization 20 20 0 12 0 0%
polar/organization/service.py OrganizationService._delete_account 12 12 0 6 0 0%
polar/organization/service.py OrganizationService._count_orders_by_organization 3 3 0 0 0 0%
polar/organization/service.py OrganizationService._count_active_subscriptions_by_organization 3 3 0 0 0 0%
polar/organization/service.py OrganizationService.add_user 13 13 0 0 0 0%
polar/organization/service.py OrganizationService.set_account 10 10 0 4 0 0%
polar/organization/service.py OrganizationService.get_next_invoice_number 11 11 0 4 0 0%
polar/organization/service.py OrganizationService._after_update 1 1 0 0 0 0%
polar/organization/service.py OrganizationService.check_review_threshold 10 10 0 4 0 0%
polar/organization/service.py OrganizationService.confirm_organization_reviewed 17 17 0 4 0 0%
polar/organization/service.py OrganizationService.deny_organization 11 11 0 2 0 0%
polar/organization/service.py OrganizationService.set_organization_under_review 6 6 0 0 0 0%
polar/organization/service.py OrganizationService.update_status_from_stripe_account 13 13 0 8 0 0%
polar/organization/service.py OrganizationService._sync_account_status 6 6 0 4 0 0%
polar/organization/service.py OrganizationService.get_payment_status 14 14 0 2 0 0%
polar/organization/service.py OrganizationService._is_account_setup_complete 7 7 0 4 0 0%
polar/organization/service.py OrganizationService.is_organization_ready_for_payment 21 21 0 16 0 0%
polar/organization/service.py OrganizationService.validate_with_ai 10 10 0 4 0 0%
polar/organization/service.py OrganizationService.submit_appeal 13 13 0 6 0 0%
polar/organization/service.py OrganizationService.approve_appeal 16 16 0 6 0 0%
polar/organization/service.py OrganizationService.deny_appeal 12 12 0 6 0 0%
polar/organization/service.py (no function) 98 1 0 4 1 98%
polar/organization/sorting.py (no function) 11 0 0 0 0 100%
polar/organization/tasks.py OrganizationDoesNotExist.__init__ 3 3 0 0 0 0%
polar/organization/tasks.py OrganizationAccountNotSet.__init__ 3 3 0 0 0 0%
polar/organization/tasks.py AccountDoesNotExist.__init__ 3 3 0 0 0 0%
polar/organization/tasks.py UserDoesNotExist.__init__ 3 3 0 0 0 0%
polar/organization/tasks.py organization_created 5 5 0 2 0 0%
polar/organization/tasks.py organization_account_set 12 12 0 6 0 0%
polar/organization/tasks.py organization_under_review 11 11 0 6 0 0%
polar/organization/tasks.py organization_reviewed 15 15 0 10 0 0%
polar/organization/tasks.py organization_deletion_requested 10 10 0 4 0 0%
polar/organization/tasks.py (no function) 33 0 0 2 0 100%
polar/organization_access_token/__init__.py (no function) 0 0 0 0 0 100%
polar/organization_access_token/endpoints.py list 2 2 0 0 0 0%
polar/organization_access_token/endpoints.py create 2 2 0 0 0 0%
polar/organization_access_token/endpoints.py update 4 4 0 2 0 0%
polar/organization_access_token/endpoints.py delete 4 4 0 2 0 0%
polar/organization_access_token/endpoints.py (no function) 24 0 0 0 0 100%
polar/organization_access_token/repository.py OrganizationAccessTokenRepository.get_by_token_hash 4 0 0 2 1 83%
polar/organization_access_token/repository.py OrganizationAccessTokenRepository.record_usage 2 2 0 0 0 0%
polar/organization_access_token/repository.py OrganizationAccessTokenRepository.get_readable_statement 4 4 0 0 0 0%
polar/organization_access_token/repository.py OrganizationAccessTokenRepository.count_by_organization_id 2 2 0 0 0 0%
polar/organization_access_token/repository.py (no function) 15 0 0 0 0 100%
polar/organization_access_token/schemas.py (no function) 25 0 0 0 0 100%
polar/organization_access_token/service.py OrganizationAccessTokenService.list 17 17 0 12 0 0%
polar/organization_access_token/service.py OrganizationAccessTokenService.get 3 3 0 0 0 0%
polar/organization_access_token/service.py OrganizationAccessTokenService.get_by_token 3 0 0 0 0 100%
polar/organization_access_token/service.py OrganizationAccessTokenService.create 8 8 0 0 0 0%
polar/organization_access_token/service.py OrganizationAccessTokenService.update 5 5 0 2 0 0%
polar/organization_access_token/service.py OrganizationAccessTokenService.delete 2 2 0 0 0 0%
polar/organization_access_token/service.py OrganizationAccessTokenService.revoke_leaked 12 12 0 4 0 0%
polar/organization_access_token/service.py (no function) 36 0 0 0 0 100%
polar/organization_access_token/sorting.py (no function) 10 0 0 0 0 100%
polar/organization_access_token/tasks.py record_usage 3 3 0 0 0 0%
polar/organization_access_token/tasks.py (no function) 6 0 0 0 0 100%
polar/payment/__init__.py (no function) 0 0 0 0 0 100%
polar/payment/auth.py (no function) 8 0 0 0 0 100%
polar/payment/endpoints.py list 2 2 0 0 0 0%
polar/payment/endpoints.py get 4 4 0 2 0 0%
polar/payment/endpoints.py (no function) 21 0 0 0 0 100%
polar/payment/repository.py PaymentRepository.get_all_by_customer 4 4 0 2 0 0%
polar/payment/repository.py PaymentRepository.get_by_processor_id 2 2 0 0 0 0%
polar/payment/repository.py PaymentRepository.get_readable_statement 7 7 0 4 0 0%
polar/payment/repository.py PaymentRepository.get_sorting_clause 9 9 0 8 0 0%
polar/payment/repository.py PaymentRepository.count_failed_payments_for_order 3 3 0 0 0 0%
polar/payment/repository.py PaymentRepository.get_latest_for_order 2 2 0 0 0 0%
polar/payment/repository.py (no function) 17 0 0 0 0 100%
polar/payment/schemas.py (no function) 28 0 0 0 0 100%
polar/payment/service.py UnlinkedPaymentError.__init__ 3 3 0 0 0 0%
polar/payment/service.py UnhandledPaymentIntent.__init__ 3 3 0 0 0 0%
polar/payment/service.py PaymentService.list 16 16 0 12 0 0%
polar/payment/service.py PaymentService.get 3 3 0 0 0 0%
polar/payment/service.py PaymentService.upsert_from_stripe_charge 31 31 0 14 0 0%
polar/payment/service.py PaymentService.upsert_from_stripe_payment_intent 25 25 0 8 0 0%
polar/payment/service.py (no function) 25 0 0 2 0 100%
polar/payment/sorting.py (no function) 10 0 0 0 0 100%
polar/payment_method/__init__.py (no function) 0 0 0 0 0 100%
polar/payment_method/repository.py PaymentMethodRepository.get_by_id_and_customer 2 2 0 0 0 0%
polar/payment_method/repository.py PaymentMethodRepository.get_by_customer_and_processor_id 2 2 0 0 0 0%
polar/payment_method/repository.py PaymentMethodRepository.list_by_customer 6 6 0 2 0 0%
polar/payment_method/repository.py PaymentMethodRepository.soft_delete 3 3 0 0 0 0%
polar/payment_method/repository.py PaymentMethodRepository.get_eager_options 1 1 0 0 0 0%
polar/payment_method/repository.py (no function) 13 0 0 0 0 100%
polar/payment_method/schemas.py (no function) 20 0 0 0 0 100%
polar/payment_method/service.py NoPaymentMethodOnIntent.__init__ 3 3 0 0 0 0%
polar/payment_method/service.py PaymentMethodInUseByActiveSubscription.__init__ 3 3 0 0 0 0%
polar/payment_method/service.py PaymentMethodService.upsert_from_stripe 8 8 0 2 0 0%
polar/payment_method/service.py PaymentMethodService.upsert_from_stripe_intent 5 5 0 2 0 0%
polar/payment_method/service.py PaymentMethodService.upsert_from_stripe_payment_intent_for_order 9 9 0 4 0 0%
polar/payment_method/service.py PaymentMethodService.get_customer_payment_method 7 7 0 4 0 0%
polar/payment_method/service.py PaymentMethodService._get_active_subscription_ids 4 4 0 0 0 0%
polar/payment_method/service.py PaymentMethodService._get_alternative_payment_method 12 12 0 8 0 0%
polar/payment_method/service.py PaymentMethodService._reassign_subscriptions_payment_method 8 8 0 4 0 0%
polar/payment_method/service.py PaymentMethodService.delete 10 10 0 6 0 0%
polar/payment_method/service.py (no function) 27 0 0 2 0 100%
polar/payout/__init__.py (no function) 0 0 0 0 0 100%
polar/payout/auth.py (no function) 9 0 0 0 0 100%
polar/payout/endpoints.py list 2 2 0 0 0 0%
polar/payout/endpoints.py get_estimate 4 4 0 2 0 0%
polar/payout/endpoints.py create 5 5 0 2 0 0%
polar/payout/endpoints.py get_csv 6 6 0 2 0 0%
polar/payout/endpoints.py generate_invoice 4 4 0 2 0 0%
polar/payout/endpoints.py invoice 4 4 0 2 0 0%
polar/payout/endpoints.py (no function) 33 0 0 0 0 100%
polar/payout/repository.py PayoutRepository.count_by_account 2 2 0 0 0 0%
polar/payout/repository.py PayoutRepository.get_by_processor_id 2 2 0 0 0 0%
polar/payout/repository.py PayoutRepository.get_all_stripe_pending 2 2 0 0 0 0%
polar/payout/repository.py PayoutRepository.get_by_account_and_invoice_number 2 2 0 0 0 0%
polar/payout/repository.py PayoutRepository.get_eager_options 1 1 0 0 0 0%
polar/payout/repository.py PayoutRepository.get_readable_statement 7 7 0 4 0 0%
polar/payout/repository.py PayoutRepository.get_sorting_clause 13 13 0 12 0 0%
polar/payout/repository.py (no function) 23 0 0 0 0 100%
polar/payout/schemas.py (no function) 32 0 0 0 0 100%
polar/payout/service.py InsufficientBalance.__init__ 4 4 0 0 0 0%
polar/payout/service.py UnderReviewAccount.__init__ 3 3 0 0 0 0%
polar/payout/service.py NotReadyAccount.__init__ 3 3 0 0 0 0%
polar/payout/service.py PendingPayoutCreation.__init__ 3 3 0 0 0 0%
polar/payout/service.py PayoutDoesNotExist.__init__ 3 3 0 0 0 0%
polar/payout/service.py InvoiceAlreadyExists.__init__ 3 3 0 0 0 0%
polar/payout/service.py PayoutNotSucceeded.__init__ 3 3 0 0 0 0%
polar/payout/service.py MissingInvoiceBillingDetails.__init__ 3 3 0 0 0 0%
polar/payout/service.py InvoiceDoesNotExist.__init__ 3 3 0 0 0 0%
polar/payout/service.py PayoutAlreadyTriggered.__init__ 3 3 0 0 0 0%
polar/payout/service.py PayoutService.list 8 8 0 4 0 0%
polar/payout/service.py PayoutService.get 3 3 0 0 0 0%
polar/payout/service.py PayoutService.estimate 12 12 0 6 0 0%
polar/payout/service.py PayoutService.create 22 22 0 10 0 0%
polar/payout/service.py PayoutService.transfer_stripe 19 19 0 4 0 0%
polar/payout/service.py PayoutService.update_from_stripe 9 9 0 4 0 0%
polar/payout/service.py PayoutService.trigger_stripe_payouts 3 3 0 2 0 0%
polar/payout/service.py PayoutService.trigger_stripe_payout 11 11 0 4 0 0%
polar/payout/service.py PayoutService.trigger_invoice_generation 15 15 0 10 0 0%
polar/payout/service.py PayoutService.generate_invoice 8 8 0 2 0 0%
polar/payout/service.py PayoutService.get_invoice 4 4 0 2 0 0%
polar/payout/service.py PayoutService.get_csv 21 21 0 10 0 0%
polar/payout/service.py PayoutService._get_next_invoice_number 7 7 0 2 0 0%
polar/payout/service.py (no function) 70 0 0 2 0 100%
polar/payout/sorting.py (no function) 12 0 0 0 0 100%
polar/payout/tasks.py PayoutDoesNotExist.__init__ 3 3 0 0 0 0%
polar/payout/tasks.py payout_created 7 7 0 4 0 0%
polar/payout/tasks.py trigger_stripe_payouts 2 2 0 0 0 0%
polar/payout/tasks.py trigger_payout 12 12 0 2 0 0%
polar/payout/tasks.py order_invoice 6 6 0 2 0 0%
polar/payout/tasks.py (no function) 23 0 0 2 0 100%
polar/personal_access_token/__init__.py (no function) 0 0 0 0 0 100%
polar/personal_access_token/endpoints.py list_personal_access_tokens 2 2 0 0 0 0%
polar/personal_access_token/endpoints.py delete_personal_access_token 4 4 0 2 0 0%
polar/personal_access_token/endpoints.py (no function) 15 0 0 0 0 100%
polar/personal_access_token/schemas.py (no function) 13 0 0 0 0 100%
polar/personal_access_token/service.py PersonalAccessTokenService.list 2 2 0 0 0 0%
polar/personal_access_token/service.py PersonalAccessTokenService.get_by_id 3 3 0 0 0 0%
polar/personal_access_token/service.py PersonalAccessTokenService.get_by_token 6 1 0 2 1 75%
polar/personal_access_token/service.py PersonalAccessTokenService.delete 2 2 0 0 0 0%
polar/personal_access_token/service.py PersonalAccessTokenService.record_usage 2 2 0 0 0 0%
polar/personal_access_token/service.py PersonalAccessTokenService.revoke_leaked 10 10 0 2 0 0%
polar/personal_access_token/service.py PersonalAccessTokenService._get_readable_order_statement 1 1 0 0 0 0%
polar/personal_access_token/service.py (no function) 30 0 0 0 0 100%
polar/personal_access_token/tasks.py record_usage 2 2 0 0 0 0%
polar/personal_access_token/tasks.py (no function) 6 0 0 0 0 100%
polar/pledge/__init__.py (no function) 0 0 0 0 0 100%
polar/pledge/hooks.py (no function) 17 0 0 0 0 100%
polar/pledge/service.py PledgeService.get_with_loaded 3 3 0 0 0 0%
polar/pledge/service.py PledgeService.get_by_payment_id 3 3 0 0 0 0%
polar/pledge/service.py PledgeService.list_by 14 14 0 10 0 0%
polar/pledge/service.py PledgeService.get_by_issue_reference 3 3 0 0 0 0%
polar/pledge/service.py PledgeService.list_by_pledging_user 1 1 0 0 0 0%
polar/pledge/service.py PledgeService.connect_backer 7 7 0 4 0 0%
polar/pledge/service.py PledgeService.handle_payment_intent_success 9 9 0 4 0 0%
polar/pledge/service.py PledgeService.handle_paid_invoice 12 12 0 6 0 0%
polar/pledge/service.py PledgeService.refund_by_payment_id 14 14 0 8 0 0%
polar/pledge/service.py PledgeService.mark_charge_disputed_by_payment_id 8 8 0 2 0 0%
polar/pledge/service.py PledgeService.get_reward 3 3 0 0 0 0%
polar/pledge/service.py PledgeService.get_transaction 9 9 0 6 0 0%
polar/pledge/service.py PledgeService.transfer 34 34 0 22 0 0%
polar/pledge/service.py PledgeService.admin_transfer 17 17 0 10 0 0%
polar/pledge/service.py PledgeService.mark_disputed 10 10 0 4 0 0%
polar/pledge/service.py PledgeService.after_pledge_updated 3 3 0 0 0 0%
polar/pledge/service.py PledgeService.user_can_admin_sender_pledge 7 7 0 8 0 0%
polar/pledge/service.py PledgeService.sum_pledges_period 11 11 0 4 0 0%
polar/pledge/service.py PledgeService.month_range 5 5 0 0 0 0%
polar/pledge/service.py (no function) 45 0 0 0 0 100%
polar/postgres.py create_async_engine 1 0 0 0 0 100%
polar/postgres.py create_async_read_engine 1 0 0 0 0 100%
polar/postgres.py create_sync_engine 1 0 0 0 0 100%
polar/postgres.py AsyncSessionMiddleware.__init__ 1 0 0 0 0 100%
polar/postgres.py AsyncSessionMiddleware.__call__ 6 0 0 2 0 100%
polar/postgres.py get_db_sessionmaker 1 1 0 0 0 0%
polar/postgres.py get_db_session 10 3 0 0 0 70%
polar/postgres.py get_db_read_session 3 3 0 0 0 0%
polar/postgres.py (no function) 19 0 0 0 0 100%
polar/posthog.py _build_event_key 1 1 0 0 0 0%
polar/posthog.py Service.configure 7 4 0 2 1 44%
polar/posthog.py Service.has_feature_flag 5 5 0 4 0 0%
polar/posthog.py Service.capture 3 3 0 2 0 0%
polar/posthog.py Service.auth_subject_event 5 5 0 4 0 0%
polar/posthog.py Service.anonymous_event 1 1 0 0 0 0%
polar/posthog.py Service.user_event 1 1 0 0 0 0%
polar/posthog.py Service.organization_event 1 1 0 0 0 0%
polar/posthog.py Service.identify 3 3 0 2 0 0%
polar/posthog.py Service.user_login 2 2 0 0 0 0%
polar/posthog.py Service.user_signup 2 2 0 0 0 0%
polar/posthog.py Service._get_common_properties 1 1 0 0 0 0%
polar/posthog.py Service._get_user_properties 8 8 0 4 0 0%
polar/posthog.py configure_posthog 1 0 0 0 0 100%
polar/posthog.py (no function) 27 0 0 0 0 100%
polar/processor_transaction/__init__.py (no function) 0 0 0 0 0 100%
polar/processor_transaction/repository.py ProcessorTransactionRepository.get_latest_by_processor 6 6 0 2 0 0%
polar/processor_transaction/repository.py (no function) 7 0 0 0 0 100%
polar/processor_transaction/service.py ProcessorTransactionService.sync_stripe 8 8 0 4 0 0%
polar/processor_transaction/service.py (no function) 8 0 0 0 0 100%
polar/processor_transaction/tasks.py sync_stripe 2 2 0 0 0 0%
polar/processor_transaction/tasks.py (no function) 4 0 0 0 0 100%
polar/product/__init__.py (no function) 0 0 0 0 0 100%
polar/product/auth.py (no function) 9 0 0 0 0 100%
polar/product/endpoints.py list 2 2 0 0 0 0%
polar/product/endpoints.py get 4 4 0 2 0 0%
polar/product/endpoints.py create 1 1 0 0 0 0%
polar/product/endpoints.py update 4 4 0 2 0 0%
polar/product/endpoints.py update_benefits 5 5 0 2 0 0%
polar/product/endpoints.py (no function) 31 0 0 0 0 100%
polar/product/guard.py is_legacy_price 1 1 0 0 0 0%
polar/product/guard.py is_currency_price 1 1 0 0 0 0%
polar/product/guard.py is_fixed_price 1 1 0 0 0 0%
polar/product/guard.py is_custom_price 1 1 0 0 0 0%
polar/product/guard.py is_free_price 1 1 0 0 0 0%
polar/product/guard.py is_static_price 1 1 0 0 0 0%
polar/product/guard.py is_metered_price 1 1 0 0 0 0%
polar/product/guard.py is_seat_price 1 1 0 0 0 0%
polar/product/guard.py is_discount_applicable 1 1 0 0 0 0%
polar/product/guard.py (no function) 19 0 0 0 0 100%
polar/product/repository.py ProductRepository.get_by_id_and_organization 2 2 0 0 0 0%
polar/product/repository.py ProductRepository.get_by_id_and_checkout 2 2 0 0 0 0%
polar/product/repository.py ProductRepository.get_eager_options 1 1 0 0 0 0%
polar/product/repository.py ProductRepository.get_readable_statement 7 7 0 4 0 0%
polar/product/repository.py ProductRepository.count_by_organization_id 5 5 0 2 0 0%
polar/product/repository.py ProductRepository.get_sorting_clause 9 9 0 8 0 0%
polar/product/repository.py ProductPriceRepository.get_readable_by_id 2 2 0 0 0 0%
polar/product/repository.py ProductPriceRepository.get_by_stripe_price_id 2 2 0 0 0 0%
polar/product/repository.py ProductPriceRepository.get_eager_options 1 1 0 0 0 0%
polar/product/repository.py ProductPriceRepository.get_readable_statement 7 7 0 4 0 0%
polar/product/repository.py (no function) 23 0 0 0 0 100%
polar/product/schemas.py ProductPriceCreateBase.get_model_class 1 1 0 0 0 0%
polar/product/schemas.py ProductPriceFixedCreate.get_model_class 1 1 0 0 0 0%
polar/product/schemas.py ProductPriceCustomCreate.get_model_class 1 1 0 0 0 0%
polar/product/schemas.py ProductPriceFreeCreate.get_model_class 1 1 0 0 0 0%
polar/product/schemas.py ProductPriceSeatTiers.validate_tiers 16 16 0 12 0 0%
polar/product/schemas.py ProductPriceSeatBasedCreate.get_model_class 1 1 0 0 0 0%
polar/product/schemas.py ProductPriceMeteredUnitCreate.get_model_class 1 1 0 0 0 0%
polar/product/schemas.py ProductPriceSeatBasedBase.price_per_seat 3 3 0 2 0 0%
polar/product/schemas.py LegacyRecurringProductPriceMixin.legacy 1 1 0 0 0 0%
polar/product/schemas.py _get_discriminator_value 4 4 0 2 0 0%
polar/product/schemas.py (no function) 173 0 0 0 0 100%
polar/product/service.py ProductService.list 19 19 0 14 0 0%
polar/product/service.py ProductService.get 3 3 0 0 0 0%
polar/product/service.py ProductService.get_embed 3 3 0 0 0 0%
polar/product/service.py ProductService.create 33 33 0 16 0 0%
polar/product/service.py ProductService.update 74 74 0 46 0 0%
polar/product/service.py ProductService.update_benefits 26 26 0 12 0 0%
polar/product/service.py ProductService.get_validated_prices 37 37 0 20 0 0%
polar/product/service.py ProductService._archive 6 6 0 2 0 0%
polar/product/service.py ProductService._unarchive 4 4 0 2 0 0%
polar/product/service.py ProductService._after_product_created 4 4 0 2 0 0%
polar/product/service.py ProductService._after_product_updated 1 1 0 0 0 0%
polar/product/service.py ProductService._send_webhook 4 4 0 2 0 0%
polar/product/service.py (no function) 48 0 0 2 0 100%
polar/product/sorting.py (no function) 10 0 0 0 0 100%
polar/rate_limit.py _authenticate 8 8 0 2 0 0%
polar/rate_limit.py get_middleware 8 2 0 4 2 67%
polar/rate_limit.py (no function) 16 0 0 0 0 100%
polar/redis.py create_redis 1 0 0 0 0 100%
polar/redis.py get_redis 1 0 0 0 0 100%
polar/redis.py (no function) 16 1 0 2 1 89%
polar/refund/__init__.py (no function) 0 0 0 0 0 100%
polar/refund/auth.py (no function) 7 0 0 0 0 100%
polar/refund/endpoints.py list 2 2 0 0 0 0%
polar/refund/endpoints.py create 1 1 0 0 0 0%
polar/refund/endpoints.py (no function) 22 0 0 0 0 100%
polar/refund/schemas.py Refund.get_amount_display 1 1 0 0 0 0%
polar/refund/schemas.py InternalRefundCreate.from_stripe 12 12 0 4 0 0%
polar/refund/schemas.py (no function) 52 0 0 0 0 100%
polar/refund/service.py RefundUnknownPayment.__init__ 3 3 0 0 0 0%
polar/refund/service.py RefundedAlready.__init__ 3 3 0 0 0 0%
polar/refund/service.py RefundAmountTooHigh.__init__ 3 3 0 0 0 0%
polar/refund/service.py RevokeSubscriptionBenefitsProhibited.__init__ 2 2 0 0 0 0%
polar/refund/service.py RefundService.get_list 22 22 0 18 0 0%
polar/refund/service.py RefundService.user_create 5 5 0 2 0 0%
polar/refund/service.py RefundService.create 28 28 0 10 0 0%
polar/refund/service.py RefundService.upsert_from_stripe 4 4 0 2 0 0%
polar/refund/service.py RefundService.create_from_stripe 4 4 0 0 0 0%
polar/refund/service.py RefundService.update_from_stripe 28 28 0 10 0 0%
polar/refund/service.py RefundService.enqueue_benefits_revokation 7 7 0 4 0 0%
polar/refund/service.py RefundService.calculate_tax 7 7 0 4 0 0%
polar/refund/service.py RefundService.calculate_tax_from_stripe 7 7 0 4 0 0%
polar/refund/service.py RefundService.build_create_schema_from_stripe 15 15 0 2 0 0%
polar/refund/service.py RefundService.build_instance_from_stripe 3 3 0 0 0 0%
polar/refund/service.py RefundService._create 16 16 0 8 0 0%
polar/refund/service.py RefundService._create_refund_transaction 16 16 0 8 0 0%
polar/refund/service.py RefundService._revert_refund_transaction 7 7 0 2 0 0%
polar/refund/service.py RefundService._on_created 1 1 0 0 0 0%
polar/refund/service.py RefundService._on_succeeded 6 6 0 2 0 0%
polar/refund/service.py RefundService._on_updated 1 1 0 0 0 0%
polar/refund/service.py RefundService._get_resources 19 19 0 12 0 0%
polar/refund/service.py RefundService._get_readable_refund_statement 7 7 0 4 0 0%
polar/refund/service.py (no function) 72 0 0 2 0 100%
polar/refund/sorting.py (no function) 8 0 0 0 0 100%
polar/routing.py (no function) 6 0 0 0 0 100%
polar/sentry.py DramatiqIntegration.setup_once 3 3 0 0 0 0%
polar/sentry.py configure_sentry 1 0 0 0 0 100%
polar/sentry.py set_sentry_user 4 0 0 2 0 100%
polar/sentry.py (no function) 14 0 0 0 0 100%
polar/storefront/__init__.py (no function) 0 0 0 0 0 100%
polar/storefront/endpoints.py get 9 9 0 6 0 0%
polar/storefront/endpoints.py get_organization_slug_by_product_id 4 4 0 2 0 0%
polar/storefront/endpoints.py get_organization_slug_by_subscription_id 4 4 0 2 0 0%
polar/storefront/endpoints.py (no function) 17 0 0 0 0 100%
polar/storefront/schemas.py (no function) 22 0 0 0 0 100%
polar/storefront/service.py StorefrontService.get 3 3 0 0 0 0%
polar/storefront/service.py StorefrontService.get_organization_slug_by_product_id 3 3 0 0 0 0%
polar/storefront/service.py StorefrontService.get_organization_slug_by_subscription_id 3 3 0 0 0 0%
polar/storefront/service.py StorefrontService.list_customers 3 3 0 0 0 0%
polar/storefront/service.py (no function) 12 0 0 0 0 100%
polar/subscription/__init__.py (no function) 0 0 0 0 0 100%
polar/subscription/auth.py (no function) 9 0 0 0 0 100%
polar/subscription/endpoints.py list 2 2 0 0 0 0%
polar/subscription/endpoints.py export 3 3 0 0 0 0%
polar/subscription/endpoints.py export.create_csv 5 5 0 2 0 0%
polar/subscription/endpoints.py get 4 4 0 2 0 0%
polar/subscription/endpoints.py get_charge_preview 9 9 0 8 0 0%
polar/subscription/endpoints.py create 1 1 0 0 0 0%
polar/subscription/endpoints.py update 6 6 0 2 0 0%
polar/subscription/endpoints.py revoke 6 6 0 2 0 0%
polar/subscription/endpoints.py (no function) 39 0 0 0 0 100%
polar/subscription/repository.py SubscriptionRepository.list_active_by_customer 2 2 0 0 0 0%
polar/subscription/repository.py SubscriptionRepository.get_by_id_and_organization 2 2 0 0 0 0%
polar/subscription/repository.py SubscriptionRepository.get_by_checkout_id 3 3 0 0 0 0%
polar/subscription/repository.py SubscriptionRepository.get_by_stripe_subscription_id 2 2 0 0 0 0%
polar/subscription/repository.py SubscriptionRepository.get_eager_options 3 3 0 2 0 0%
polar/subscription/repository.py SubscriptionRepository.get_readable_statement 10 10 0 6 0 0%
polar/subscription/repository.py SubscriptionRepository.get_claimed_subscriptions_statement 3 3 0 0 0 0%
polar/subscription/repository.py SubscriptionRepository.get_sorting_clause 15 15 0 14 0 0%
polar/subscription/repository.py SubscriptionProductPriceRepository.get_by_customer_and_meter 4 4 0 2 0 0%
polar/subscription/repository.py SubscriptionProductPriceRepository._get_direct_subscription_price 5 5 0 2 0 0%
polar/subscription/repository.py SubscriptionProductPriceRepository._get_seat_subscription_price 8 8 0 4 0 0%
polar/subscription/repository.py SubscriptionProductPriceRepository._get_active_seat_for_customer 2 2 0 0 0 0%
polar/subscription/repository.py SubscriptionProductPriceRepository._find_metered_price_in_subscription 4 4 0 4 0 0%
polar/subscription/repository.py (no function) 39 1 0 2 1 95%
polar/subscription/scheduler.py enqueue_subscription_cycle 2 2 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.__init__ 3 3 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.shutdown 2 2 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.lookup_job 1 1 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.get_due_jobs 4 4 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.get_next_run_time 6 6 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.get_all_jobs 4 4 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.remove_job 4 4 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.add_job 1 1 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.update_job 1 1 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore.remove_all_jobs 1 1 0 0 0 0%
polar/subscription/scheduler.py SubscriptionJobStore._list_jobs_from_statement 10 10 0 2 0 0%
polar/subscription/scheduler.py (no function) 26 26 0 0 0 0%
polar/subscription/schemas.py SubscriptionBase.get_amount_display 3 3 0 2 0 0%
polar/subscription/schemas.py (no function) 99 0 0 2 0 100%
polar/subscription/service.py NotARecurringProduct.__init__ 4 4 0 0 0 0%
polar/subscription/service.py MissingCheckoutCustomer.__init__ 3 3 0 0 0 0%
polar/subscription/service.py InactiveSubscription.__init__ 3 3 0 0 0 0%
polar/subscription/service.py SubscriptionDoesNotExist.__init__ 3 3 0 0 0 0%
polar/subscription/service.py AlreadyCanceledSubscription.__init__ 3 3 0 0 0 0%
polar/subscription/service.py TrialingSubscription.__init__ 3 3 0 0 0 0%
polar/subscription/service.py SubscriptionNotActiveOnStripe.__init__ 3 3 0 0 0 0%
polar/subscription/service.py SubscriptionLocked.__init__ 3 3 0 0 0 0%
polar/subscription/service.py MissingStripeCustomerID.__init__ 4 4 0 0 0 0%
polar/subscription/service.py SubscriptionManagedByStripe.__init__ 3 3 0 0 0 0%
polar/subscription/service.py SubscriptionNotReadyForMigration.__init__ 3 3 0 0 0 0%
polar/subscription/service.py NotASeatBasedSubscription.__init__ 3 3 0 0 0 0%
polar/subscription/service.py SeatsAlreadyAssigned.__init__ 5 5 0 0 0 0%
polar/subscription/service.py BelowMinimumSeats.__init__ 5 5 0 0 0 0%
polar/subscription/service.py OneTimeOrderNotSupported.__init__ 1 1 0 0 0 0%
polar/subscription/service.py _from_timestamp 1 0 0 2 1 67%
polar/subscription/service.py _from_timestamp 1 0 0 2 1 67%
polar/subscription/service.py _from_timestamp 3 3 0 2 0 0%
polar/subscription/service.py SubscriptionService._get_seat_based_price 4 4 0 4 0 0%
polar/subscription/service.py SubscriptionService._get_minimum_seats_from_tiers 7 7 0 4 0 0%
polar/subscription/service.py SubscriptionService._calculate_time_proration 5 5 0 2 0 0%
polar/subscription/service.py SubscriptionService._calculate_proration_factor 7 7 0 4 0 0%
polar/subscription/service.py SubscriptionService.list 23 23 0 18 0 0%
polar/subscription/service.py SubscriptionService.get 3 3 0 0 0 0%
polar/subscription/service.py SubscriptionService.create 44 44 0 16 0 0%
polar/subscription/service.py SubscriptionService.create_or_update_from_checkout 65 65 0 16 0 0%
polar/subscription/service.py SubscriptionService.create_or_update_from_checkout_stripe 83 83 0 28 0 0%
polar/subscription/service.py SubscriptionService.cycle 36 36 0 18 0 0%
polar/subscription/service.py SubscriptionService.reset_meters 6 6 0 4 0 0%
polar/subscription/service.py SubscriptionService._after_subscription_created 4 4 0 2 0 0%
polar/subscription/service.py SubscriptionService.lock 5 5 0 2 0 0%
polar/subscription/service.py SubscriptionService.update 17 17 0 16 0 0%
polar/subscription/service.py SubscriptionService.update_product 90 90 0 46 0 0%
polar/subscription/service.py SubscriptionService.update_discount 13 13 0 8 0 0%
polar/subscription/service.py SubscriptionService.update_discount._update_discount 6 6 0 2 0 0%
polar/subscription/service.py SubscriptionService.update_trial 22 22 0 12 0 0%
polar/subscription/service.py SubscriptionService.update_seats 33 33 0 14 0 0%
polar/subscription/service.py SubscriptionService.update_currrent_billing_period_end 19 19 0 10 0 0%
polar/subscription/service.py SubscriptionService._create_seat_proration_entry 34 34 0 14 0 0%
polar/subscription/service.py SubscriptionService.uncancel 17 17 0 6 0 0%
polar/subscription/service.py SubscriptionService.revoke 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService.cancel 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService.cancel_customer 4 4 0 2 0 0%
polar/subscription/service.py SubscriptionService.update_from_stripe 25 25 0 8 0 0%
polar/subscription/service.py SubscriptionService._perform_cancellation 28 28 0 12 0 0%
polar/subscription/service.py SubscriptionService.update_cancellation_from_stripe 16 16 0 8 0 0%
polar/subscription/service.py SubscriptionService.update_meters 13 13 0 8 0 0%
polar/subscription/service.py SubscriptionService.calculate_charge_preview 21 21 0 10 0 0%
polar/subscription/service.py SubscriptionService._after_subscription_updated 18 18 0 10 0 0%
polar/subscription/service.py SubscriptionService._on_subscription_updated 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService._on_subscription_activated 3 3 0 2 0 0%
polar/subscription/service.py SubscriptionService._on_subscription_past_due 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService._on_subscription_uncanceled 2 2 0 0 0 0%
polar/subscription/service.py SubscriptionService._on_subscription_canceled 3 3 0 2 0 0%
polar/subscription/service.py SubscriptionService._on_subscription_revoked 3 3 0 2 0 0%
polar/subscription/service.py SubscriptionService._send_new_subscription_notification 3 3 0 2 0 0%
polar/subscription/service.py SubscriptionService._send_webhook 6 6 0 2 0 0%
polar/subscription/service.py SubscriptionService._is_within_revocation_grace_period 13 13 0 8 0 0%
polar/subscription/service.py SubscriptionService.enqueue_benefits_grants 17 17 0 10 0 0%
polar/subscription/service.py SubscriptionService.update_product_benefits_grants 4 4 0 2 0 0%
polar/subscription/service.py SubscriptionService.send_uncanceled_email 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService.send_cancellation_email 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService.send_revoked_email 1 1 0 0 0 0%
polar/subscription/service.py SubscriptionService.send_past_due_email 15 15 0 8 0 0%
polar/subscription/service.py SubscriptionService.send_subscription_updated_email 4 4 0 2 0 0%
polar/subscription/service.py SubscriptionService._send_customer_email 17 17 0 2 0 0%
polar/subscription/service.py SubscriptionService._get_outdated_grants 4 4 0 0 0 0%
polar/subscription/service.py SubscriptionService.mark_past_due 10 10 0 2 0 0%
polar/subscription/service.py SubscriptionService.mark_active 7 7 0 0 0 0%
polar/subscription/service.py SubscriptionService.update_payment_method_from_retry 5 5 0 2 0 0%
polar/subscription/service.py SubscriptionService.migrate_stripe_subscription 41 41 0 16 0 0%
polar/subscription/service.py (no function) 153 0 0 2 0 100%
polar/subscription/sorting.py (no function) 13 0 0 0 0 100%
polar/subscription/tasks.py SubscriptionDoesNotExist.__init__ 3 3 0 0 0 0%
polar/subscription/tasks.py SubscriptionTierDoesNotExist.__init__ 3 3 0 0 0 0%
polar/subscription/tasks.py subscription_cycle 17 17 0 6 0 0%
polar/subscription/tasks.py subscription_update_product_benefits_grants 6 6 0 2 0 0%
polar/subscription/tasks.py subscription_update_meters 6 6 0 2 0 0%
polar/subscription/tasks.py subscription_cancel_customer 2 2 0 0 0 0%
polar/subscription/tasks.py enqueue_stripe_subscription_migrate 6 6 0 2 0 0%
polar/subscription/tasks.py migrate_stripe_subscription 9 9 0 2 0 0%
polar/subscription/tasks.py (no function) 32 0 0 2 0 100%
polar/tasks.py (no function) 26 0 0 0 0 100%
polar/transaction/__init__.py (no function) 0 0 0 0 0 100%
polar/transaction/auth.py (no function) 9 0 0 0 0 100%
polar/transaction/endpoints.py search_transactions 2 2 0 0 0 0%
polar/transaction/endpoints.py lookup_transaction 1 1 0 0 0 0%
polar/transaction/endpoints.py get_summary 4 4 0 2 0 0%
polar/transaction/endpoints.py (no function) 23 0 0 0 0 100%
polar/transaction/fees/__init__.py (no function) 0 0 0 0 0 100%
polar/transaction/fees/stripe/__init__.py _load_country_fees 8 0 0 2 0 100%
polar/transaction/fees/stripe/__init__.py round_stripe 1 1 0 0 0 0%
polar/transaction/fees/stripe/__init__.py get_stripe_international_fee 1 1 0 0 0 0%
polar/transaction/fees/stripe/__init__.py get_stripe_subscription_fee 1 1 0 0 0 0%
polar/transaction/fees/stripe/__init__.py get_stripe_invoice_fee 1 1 0 0 0 0%
polar/transaction/fees/stripe/__init__.py get_stripe_account_fee 1 1 0 0 0 0%
polar/transaction/fees/stripe/__init__.py get_reverse_stripe_payout_fees 10 10 0 2 0 0%
polar/transaction/fees/stripe/__init__.py (no function) 20 0 0 0 0 100%
polar/transaction/repository.py TransactionRepository.get_all_paid_transactions_by_payout 2 2 0 0 0 0%
polar/transaction/repository.py TransactionRepository.get_paid_transactions_statement 1 1 0 0 0 0%
polar/transaction/repository.py PaymentTransactionRepository.get_base_statement 1 1 0 0 0 0%
polar/transaction/repository.py BalanceTransactionRepository.get_all_unpaid_by_account 2 2 0 0 0 0%
polar/transaction/repository.py BalanceTransactionRepository.get_base_statement 1 1 0 0 0 0%
polar/transaction/repository.py RefundTransactionRepository.get_by_refund_id 2 2 0 0 0 0%
polar/transaction/repository.py RefundTransactionRepository.get_base_statement 1 1 0 0 0 0%
polar/transaction/repository.py PayoutTransactionRepository.get_by_payout_id 2 2 0 0 0 0%
polar/transaction/repository.py PayoutTransactionRepository.get_base_statement 1 1 0 0 0 0%
polar/transaction/repository.py (no function) 22 0 0 0 0 100%
polar/transaction/schemas.py (no function) 57 0 0 0 0 100%
polar/transaction/service/__init__.py (no function) 0 0 0 0 0 100%
polar/transaction/service/balance.py PaymentTransactionForChargeDoesNotExist.__init__ 3 3 0 0 0 0%
polar/transaction/service/balance.py BalanceTransactionService.create_balance 13 13 0 4 0 0%
polar/transaction/service/balance.py BalanceTransactionService.create_balance_from_charge 4 4 0 2 0 0%
polar/transaction/service/balance.py BalanceTransactionService.create_balance_from_payment_intent 4 4 0 0 0 0%
polar/transaction/service/balance.py BalanceTransactionService.create_reversal_balance 14 14 0 0 0 0%
polar/transaction/service/balance.py (no function) 23 0 0 2 0 100%
polar/transaction/service/base.py BaseTransactionService._get_balance_transactions_for_payment 4 4 0 0 0 0%
polar/transaction/service/base.py (no function) 10 0 0 2 0 100%
polar/transaction/service/dispute.py DisputeClosed.__init__ 3 3 0 0 0 0%
polar/transaction/service/dispute.py DisputeNotResolved.__init__ 3 3 0 0 0 0%
polar/transaction/service/dispute.py DisputeUnknownPaymentTransaction.__init__ 4 4 0 0 0 0%
polar/transaction/service/dispute.py NotBalancedPaymentTransaction.__init__ 3 3 0 0 0 0%
polar/transaction/service/dispute.py DisputeTransactionService.create_dispute 32 32 0 12 0 0%
polar/transaction/service/dispute.py DisputeTransactionService.create_reversal_balances_for_payment 10 10 0 4 0 0%
polar/transaction/service/dispute.py DisputeTransactionService._create_reversal_balances 8 8 0 2 0 0%
polar/transaction/service/dispute.py DisputeTransactionService._create_dispute_fees_balances 4 4 0 2 0 0%
polar/transaction/service/dispute.py (no function) 29 0 0 2 0 100%
polar/transaction/service/payment.py PaymentTransactionService.get_by_charge_id 3 3 0 0 0 0%
polar/transaction/service/payment.py PaymentTransactionService.get_by_order_id 1 1 0 0 0 0%
polar/transaction/service/payment.py PaymentTransactionService.create_payment 28 28 0 12 0 0%
polar/transaction/service/payment.py (no function) 18 0 0 2 0 100%
polar/transaction/service/payout.py PayoutTransactionService.create 18 18 0 10 0 0%
polar/transaction/service/payout.py (no function) 12 0 0 2 0 100%
polar/transaction/service/platform_fee.py PayoutAmountTooLow.__init__ 3 3 0 0 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService.create_fees_reversal_balances 1 1 0 0 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService.create_dispute_fees_balances 6 6 0 2 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService.get_payout_fees 19 19 0 10 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService.create_payout_fees_balances 7 7 0 2 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService._create_payment_fees 28 28 0 10 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService._is_international_payment_transaction 14 14 0 10 0 0%
polar/transaction/service/platform_fee.py PlatformFeeTransactionService._get_last_payout 3 3 0 0 0 0%
polar/transaction/service/platform_fee.py (no function) 27 0 0 2 0 100%
polar/transaction/service/processor_fee.py BalanceTransactionNotFound.__init__ 2 2 0 0 0 0%
polar/transaction/service/processor_fee.py UnsupportedStripeFeeType.__init__ 3 3 0 0 0 0%
polar/transaction/service/processor_fee.py _get_stripe_processor_fee_type 32 32 0 30 0 0%
polar/transaction/service/processor_fee.py ProcessorFeeTransactionService.create_payment_fees 14 14 0 6 0 0%
polar/transaction/service/processor_fee.py ProcessorFeeTransactionService.create_refund_fees 15 15 0 6 0 0%
polar/transaction/service/processor_fee.py ProcessorFeeTransactionService.create_dispute_fees 13 13 0 8 0 0%
polar/transaction/service/processor_fee.py ProcessorFeeTransactionService.sync_stripe_fees 14 14 0 6 0 0%
polar/transaction/service/processor_fee.py (no function) 21 0 0 2 0 100%
polar/transaction/service/refund.py NotSucceededRefundError.__init__ 2 2 0 0 0 0%
polar/transaction/service/refund.py RefundTransactionAlreadyExistsError.__init__ 2 2 0 0 0 0%
polar/transaction/service/refund.py NotCanceledRefundError.__init__ 2 2 0 0 0 0%
polar/transaction/service/refund.py RefundTransactionDoesNotExistError.__init__ 2 2 0 0 0 0%
polar/transaction/service/refund.py RefundTransactionService.create 11 11 0 4 0 0%
polar/transaction/service/refund.py RefundTransactionService.revert 10 10 0 4 0 0%
polar/transaction/service/refund.py RefundTransactionService.create_reversal_balances_for_payment 7 7 0 2 0 0%
polar/transaction/service/refund.py RefundTransactionService._create_reversal_balances 8 8 0 2 0 0%
polar/transaction/service/refund.py RefundTransactionService._create_revert_reversal_balances 14 14 0 2 0 0%
polar/transaction/service/refund.py RefundTransactionService._get_reverse_balance_transactions_for_payment 5 5 0 0 0 0%
polar/transaction/service/refund.py (no function) 29 0 0 2 0 100%
polar/transaction/service/transaction.py TransactionService.search 24 24 0 18 0 0%
polar/transaction/service/transaction.py TransactionService.lookup 6 6 0 2 0 0%
polar/transaction/service/transaction.py TransactionService.get_summary 13 13 0 0 0 0%
polar/transaction/service/transaction.py TransactionService.get_transactions_sum 5 5 0 2 0 0%
polar/transaction/service/transaction.py TransactionService._get_readable_transactions_statement 3 3 0 0 0 0%
polar/transaction/service/transaction.py (no function) 27 0 0 0 0 100%
polar/transaction/tasks.py PaymentTransactionDoesNotExist.__init__ 3 3 0 0 0 0%
polar/transaction/tasks.py sync_stripe_fees 2 2 0 0 0 0%
polar/transaction/tasks.py create_payment_fees 11 11 0 4 0 0%
polar/transaction/tasks.py (no function) 14 0 0 2 0 100%
polar/trial_redemption/__init__.py (no function) 0 0 0 0 0 100%
polar/trial_redemption/repository.py TrialRedemptionRepository.get_all_by_organization_and_hints 11 11 0 8 0 0%
polar/trial_redemption/repository.py (no function) 8 0 0 0 0 100%
polar/trial_redemption/service.py TrialRedemptionService.check_trial_already_redeemed 3 3 0 0 0 0%
polar/trial_redemption/service.py TrialRedemptionService.create_trial_redemption 2 2 0 0 0 0%
polar/trial_redemption/service.py TrialRedemptionService._get_unaliased_email 2 2 0 0 0 0%
polar/trial_redemption/service.py (no function) 9 0 0 0 0 100%
polar/types.py (no function) 5 0 0 0 0 100%
polar/user/__init__.py (no function) 0 0 0 0 0 100%
polar/user/endpoints.py get_authenticated 1 1 0 0 0 0%
polar/user/endpoints.py scopes 1 1 0 0 0 0%
polar/user/endpoints.py create_identity_verification 1 1 0 0 0 0%
polar/user/endpoints.py delete_authenticated_user 1 1 0 0 0 0%
polar/user/endpoints.py disconnect_oauth_account 2 2 0 0 0 0%
polar/user/endpoints.py (no function) 30 0 0 0 0 100%
polar/user/oauth_service.py OAuthAccountNotFound.__init__ 3 3 0 0 0 0%
polar/user/oauth_service.py CannotDisconnectLastAuthMethod.__init__ 2 2 0 0 0 0%
polar/user/oauth_service.py OAuthAccountService.get_by_platform_and_account_id 3 3 0 0 0 0%
polar/user/oauth_service.py OAuthAccountService.disconnect_platform 14 14 0 6 0 0%
polar/user/oauth_service.py (no function) 18 0 0 2 0 100%
polar/user/repository.py UserRepository.get_by_email 4 4 0 2 0 0%
polar/user/repository.py UserRepository.get_by_stripe_customer_id 4 4 0 2 0 0%
polar/user/repository.py UserRepository.get_by_oauth_account 4 4 0 2 0 0%
polar/user/repository.py UserRepository.get_by_identity_verification_id 4 4 0 2 0 0%
polar/user/repository.py UserRepository.get_all_by_organization 4 4 0 2 0 0%
polar/user/repository.py UserRepository.is_organization_member 3 3 0 0 0 0%
polar/user/repository.py UserRepository.get_sorting_clause 5 5 0 4 0 0%
polar/user/repository.py (no function) 17 0 0 0 0 100%
polar/user/schemas.py UserRead.email_hash 4 4 0 2 0 0%
polar/user/schemas.py get_signup_attribution 3 3 0 2 0 0%
polar/user/schemas.py (no function) 63 0 0 0 0 100%
polar/user/service.py IdentityAlreadyVerified.__init__ 3 3 0 0 0 0%
polar/user/service.py IdentityVerificationProcessing.__init__ 3 3 0 0 0 0%
polar/user/service.py IdentityVerificationDoesNotExist.__init__ 3 3 0 0 0 0%
polar/user/service.py InvalidAccount.__init__ 3 3 0 0 0 0%
polar/user/service.py UserService.get_by_email_or_create 7 7 0 2 0 0%
polar/user/service.py UserService.create_by_email 4 4 0 0 0 0%
polar/user/service.py UserService.create_identity_verification 13 13 0 8 0 0%
polar/user/service.py UserService.identity_verification_verified 6 6 0 2 0 0%
polar/user/service.py UserService.identity_verification_pending 8 8 0 4 0 0%
polar/user/service.py UserService.identity_verification_failed 5 5 0 2 0 0%
polar/user/service.py UserService.check_can_delete 9 9 0 4 0 0%
polar/user/service.py UserService.request_deletion 5 5 0 2 0 0%
polar/user/service.py UserService.soft_delete_user 12 12 0 4 0 0%
polar/user/service.py UserService._delete_oauth_accounts 3 3 0 0 0 0%
polar/user/service.py (no function) 37 0 0 2 0 100%
polar/user/sorting.py (no function) 8 0 0 0 0 100%
polar/user/tasks.py UserDoesNotExist.__init__ 3 3 0 0 0 0%
polar/user/tasks.py user_on_after_signup 5 5 0 2 0 0%
polar/user/tasks.py (no function) 9 0 0 2 0 100%
polar/user_organization/__init__.py (no function) 0 0 0 0 0 100%
polar/user_organization/schemas.py (no function) 9 0 0 0 0 100%
polar/user_organization/service.py OrganizationNotFound.__init__ 3 3 0 0 0 0%
polar/user_organization/service.py UserNotMemberOfOrganization.__init__ 4 4 0 0 0 0%
polar/user_organization/service.py CannotRemoveOrganizationAdmin.__init__ 4 4 0 0 0 0%
polar/user_organization/service.py UserOrganizationService.list_by_org 3 3 0 0 0 0%
polar/user_organization/service.py UserOrganizationService.list_by_user_id 3 3 0 0 0 0%
polar/user_organization/service.py UserOrganizationService.get_user_organization_count 6 6 0 2 0 0%
polar/user_organization/service.py UserOrganizationService.get_by_user_and_org 3 3 0 0 0 0%
polar/user_organization/service.py UserOrganizationService.remove_member 2 2 0 0 0 0%
polar/user_organization/service.py UserOrganizationService.remove_member_safe 13 13 0 8 0 0%
polar/user_organization/service.py UserOrganizationService._get_list_by_user_id_query 4 4 0 2 0 0%
polar/user_organization/service.py (no function) 24 0 0 2 0 100%
polar/wallet/__init__.py (no function) 0 0 0 0 0 100%
polar/wallet/auth.py (no function) 9 0 0 0 0 100%
polar/wallet/endpoints.py list 2 2 0 0 0 0%
polar/wallet/endpoints.py get 4 4 0 2 0 0%
polar/wallet/endpoints.py top_up 5 5 0 2 0 0%
polar/wallet/endpoints.py (no function) 23 0 0 0 0 100%
polar/wallet/repository.py WalletRepository.get_by_type_currency_customer 2 2 0 0 0 0%
polar/wallet/repository.py WalletRepository.get_readable_statement 7 7 0 4 0 0%
polar/wallet/repository.py WalletRepository.get_eager_options 1 1 0 0 0 0%
polar/wallet/repository.py WalletRepository.get_sorting_clause 5 5 0 4 0 0%
polar/wallet/repository.py WalletTransactionRepository.get_balance 3 3 0 0 0 0%
polar/wallet/repository.py WalletTransactionRepository.get_eager_options 1 1 0 0 0 0%
polar/wallet/repository.py (no function) 18 0 0 0 0 100%
polar/wallet/schemas.py (no function) 16 0 0 0 0 100%
polar/wallet/service.py WalletAlreadyExistsError.__init__ 3 3 0 0 0 0%
polar/wallet/service.py MissingPaymentMethodError.__init__ 3 3 0 0 0 0%
polar/wallet/service.py InvalidPaymentMethodError.__init__ 4 4 0 0 0 0%
polar/wallet/service.py PaymentIntentFailedError.__init__ 4 4 0 0 0 0%
polar/wallet/service.py WalletService.list 10 10 0 6 0 0%
polar/wallet/service.py WalletService.get 3 3 0 0 0 0%
polar/wallet/service.py WalletService.top_up 26 26 0 12 0 0%
polar/wallet/service.py WalletService.create_transaction 2 2 0 0 0 0%
polar/wallet/service.py WalletService.get_billing_wallet_balance 6 6 0 2 0 0%
polar/wallet/service.py WalletService.get_or_create_billing_wallet 5 5 0 2 0 0%
polar/wallet/service.py WalletService.create_balance_transaction 2 2 0 0 0 0%
polar/wallet/service.py (no function) 35 0 0 2 0 100%
polar/wallet/sorting.py (no function) 8 0 0 0 0 100%
polar/webhook/__init__.py (no function) 0 0 0 0 0 100%
polar/webhook/auth.py (no function) 9 0 0 0 0 100%
polar/webhook/endpoints.py list_webhook_endpoints 2 2 0 0 0 0%
polar/webhook/endpoints.py get_webhook_endpoint 4 4 0 2 0 0%
polar/webhook/endpoints.py create_webhook_endpoint 1 1 0 0 0 0%
polar/webhook/endpoints.py update_webhook_endpoint 4 4 0 2 0 0%
polar/webhook/endpoints.py reset_webhook_endpoint_secret 4 4 0 2 0 0%
polar/webhook/endpoints.py delete_webhook_endpoint 4 4 0 2 0 0%
polar/webhook/endpoints.py list_webhook_deliveries 2 2 0 0 0 0%
polar/webhook/endpoints.py redeliver_webhook_event 1 1 0 0 0 0%
polar/webhook/endpoints.py (no function) 35 0 0 0 0 100%
polar/webhook/repository.py WebhookEventRepository.get_all_undelivered 4 4 0 2 0 0%
polar/webhook/repository.py WebhookEventRepository.get_recent_by_endpoint 2 2 0 0 0 0%
polar/webhook/repository.py WebhookDeliveryRepository.get_all_by_event 2 2 0 0 0 0%
polar/webhook/repository.py (no function) 16 0 0 0 0 100%
polar/webhook/schemas.py (no function) 41 0 0 0 0 100%
polar/webhook/service.py EventDoesNotExist.__init__ 3 3 0 0 0 0%
polar/webhook/service.py EventNotSuccessul.__init__ 3 3 0 0 0 0%
polar/webhook/service.py WebhookService.list_endpoints 6 6 0 2 0 0%
polar/webhook/service.py WebhookService.get_endpoint 3 3 0 0 0 0%
polar/webhook/service.py WebhookService.create_endpoint 10 10 0 4 0 0%
polar/webhook/service.py WebhookService.update_endpoint 4 4 0 2 0 0%
polar/webhook/service.py WebhookService.reset_endpoint_secret 3 3 0 0 0 0%
polar/webhook/service.py WebhookService.delete_endpoint 3 3 0 0 0 0%
polar/webhook/service.py WebhookService.list_deliveries 9 9 0 6 0 0%
polar/webhook/service.py WebhookService.redeliver_event 7 7 0 2 0 0%
polar/webhook/service.py WebhookService.on_event_success 15 15 0 10 0 0%
polar/webhook/service.py WebhookService.on_event_failed 24 24 0 12 0 0%
polar/webhook/service.py WebhookService.get_event_by_id 3 3 0 0 0 0%
polar/webhook/service.py WebhookService.is_latest_event 5 5 0 0 0 0%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 0 0 0 0 0 100%
polar/webhook/service.py WebhookService.send 17 17 0 2 0 0%
polar/webhook/service.py WebhookService.archive_events 10 10 0 2 0 0%
polar/webhook/service.py WebhookService._get_readable_endpoints_statement 7 7 0 4 0 0%
polar/webhook/service.py WebhookService._get_event_target_endpoints 3 3 0 0 0 0%
polar/webhook/service.py (no function) 116 0 0 62 30 83%
polar/webhook/slack.py get_branded_slack_payload 1 1 0 0 0 0%
polar/webhook/slack.py (no function) 11 0 0 0 0 100%
polar/webhook/sorting.py (no function) 3 0 0 0 0 100%
polar/webhook/tasks.py webhook_event_send 2 2 0 0 0 0%
polar/webhook/tasks.py _webhook_event_send 50 50 0 16 0 0%
polar/webhook/tasks.py webhook_event_success 2 2 0 0 0 0%
polar/webhook/tasks.py webhook_event_failed 2 2 0 0 0 0%
polar/webhook/tasks.py webhook_event_archive 2 2 0 0 0 0%
polar/webhook/tasks.py (no function) 26 0 0 0 0 100%
polar/webhook/webhooks.py UnsupportedTarget.__init__ 4 4 0 0 0 0%
polar/webhook/webhooks.py SkipEvent.__init__ 4 4 0 0 0 0%
polar/webhook/webhooks.py BaseWebhookPayload.get_payload 9 9 0 6 0 0%
polar/webhook/webhooks.py BaseWebhookPayload.get_raw_payload 1 1 0 0 0 0%
polar/webhook/webhooks.py BaseWebhookPayload.get_discord_payload 7 7 0 4 0 0%
polar/webhook/webhooks.py BaseWebhookPayload.get_slack_payload 7 7 0 4 0 0%
polar/webhook/webhooks.py BaseWebhookPayload.__get_pydantic_json_schema__ 7 0 0 2 1 89%
polar/webhook/webhooks.py WebhookOrderPayloadBase.get_discord_payload 8 8 0 4 0 0%
polar/webhook/webhooks.py WebhookOrderPayloadBase.get_slack_payload 8 8 0 4 0 0%
polar/webhook/webhooks.py WebhookOrderRefundedPayload.get_discord_payload 10 10 0 6 0 0%
polar/webhook/webhooks.py WebhookOrderRefundedPayload.get_slack_payload 10 10 0 6 0 0%
polar/webhook/webhooks.py WebhookSubscriptionCreatedPayload.get_discord_payload 6 6 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionCreatedPayload.get_slack_payload 6 6 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_active_discord_payload 3 3 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_active_slack_payload 3 3 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_canceled_discord_payload 7 7 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_canceled_slack_payload 7 7 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_uncanceled_discord_payload 2 2 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_uncanceled_slack_payload 2 2 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_revoked_discord_payload 2 2 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_revoked_slack_payload 2 2 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_discord_fields 3 3 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayloadBase._get_slack_fields 3 3 0 0 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayload.get_discord_payload 7 7 0 6 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUpdatedPayload.get_slack_payload 7 7 0 6 0 0%
polar/webhook/webhooks.py WebhookSubscriptionActivePayload.get_discord_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionActivePayload.get_slack_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionCanceledPayload.get_discord_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionCanceledPayload.get_slack_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUncanceledPayload.get_discord_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionUncanceledPayload.get_slack_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionRevokedPayload.get_discord_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookSubscriptionRevokedPayload.get_slack_payload 3 3 0 2 0 0%
polar/webhook/webhooks.py WebhookRefundBase._get_discord_fields 3 3 0 0 0 0%
polar/webhook/webhooks.py WebhookRefundBase._get_slack_fields 3 3 0 0 0 0%
polar/webhook/webhooks.py WebhookRefundCreatedPayload.get_discord_payload 4 4 0 2 0 0%
polar/webhook/webhooks.py WebhookRefundCreatedPayload.get_slack_payload 4 4 0 2 0 0%
polar/webhook/webhooks.py WebhookRefundUpdatedPayload.get_discord_payload 4 4 0 2 0 0%
polar/webhook/webhooks.py WebhookRefundUpdatedPayload.get_slack_payload 4 4 0 2 0 0%
polar/webhook/webhooks.py WebhookAPIRoute.__init__ 3 0 0 2 1 80%
polar/webhook/webhooks.py document_webhooks 7 0 0 2 0 100%
polar/webhook/webhooks.py document_webhooks._endpoint 1 0 0 2 1 67%
polar/webhook/webhooks.py (no function) 180 0 0 0 0 100%
polar/worker/__init__.py MaxRetriesMiddleware.before_process_message 3 3 0 0 0 0%
polar/worker/__init__.py get_retries 3 3 0 0 0 0%
polar/worker/__init__.py can_retry 3 3 0 0 0 0%
polar/worker/__init__.py SchedulerMiddleware.__init__ 1 0 0 0 0 100%
polar/worker/__init__.py SchedulerMiddleware.actor_options 1 0 0 0 0 100%
polar/worker/__init__.py SchedulerMiddleware.after_declare_actor 2 0 0 2 0 100%
polar/worker/__init__.py LogContextMiddleware.before_process_message 1 1 0 0 0 0%
polar/worker/__init__.py LogContextMiddleware.after_process_message 1 1 0 0 0 0%
polar/worker/__init__.py LogContextMiddleware.after_skip_message 1 1 0 0 0 0%
polar/worker/__init__.py LogfireMiddleware.before_worker_boot 1 1 0 0 0 0%
polar/worker/__init__.py LogfireMiddleware.before_process_message 6 6 0 2 0 0%
polar/worker/__init__.py LogfireMiddleware.after_process_message 4 4 0 2 0 0%
polar/worker/__init__.py LogfireMiddleware.after_skip_message 1 1 0 0 0 0%
polar/worker/__init__.py actor 5 0 0 2 1 86%
polar/worker/__init__.py actor.decorator 3 0 0 0 0 100%
polar/worker/__init__.py actor.decorator._wrapped_fn 2 2 0 0 0 0%
polar/worker/__init__.py (no function) 62 0 0 0 0 100%
polar/worker/_encoder.py _json_obj_serializer 3 1 0 2 1 60%
polar/worker/_encoder.py JSONEncoder.encode 1 0 0 0 0 100%
polar/worker/_encoder.py (no function) 7 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.__init__ 2 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.enqueue_job 2 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.enqueue_events 1 1 0 0 0 0%
polar/worker/_enqueue.py JobQueueManager.flush 21 1 0 12 1 94%
polar/worker/_enqueue.py JobQueueManager._batch_hset_messages 2 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager._batch_rpush_queue 2 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.reset 2 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.set 3 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.close 3 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.open 5 0 0 0 0 100%
polar/worker/_enqueue.py JobQueueManager.get 4 1 0 2 1 67%
polar/worker/_enqueue.py enqueue_job 2 0 0 0 0 100%
polar/worker/_enqueue.py enqueue_events 2 2 0 0 0 0%
polar/worker/_enqueue.py (no function) 35 0 0 0 0 100%
polar/worker/_health.py HealthMiddleware.forks 1 1 0 0 0 0%
polar/worker/_health.py health 6 6 0 0 0 0%
polar/worker/_health.py webhooks 7 7 0 2 0 0%
polar/worker/_health.py external_events 7 7 0 2 0 0%
polar/worker/_health.py lifespan 8 8 0 2 0 0%
polar/worker/_health.py create_app 2 2 0 0 0 0%
polar/worker/_health.py _run_exposition_server 9 9 0 0 0 0%
polar/worker/_health.py (no function) 40 0 0 0 0 100%
polar/worker/_redis.py _close_redis 4 4 0 2 0 0%
polar/worker/_redis.py RedisMiddleware.get 3 3 0 2 0 0%
polar/worker/_redis.py RedisMiddleware.before_worker_boot 2 2 0 0 0 0%
polar/worker/_redis.py RedisMiddleware.after_worker_shutdown 3 3 0 0 0 0%
polar/worker/_redis.py (no function) 13 0 0 0 0 100%
polar/worker/_sqlalchemy.py dispose_sqlalchemy_engine 4 4 0 2 0 0%
polar/worker/_sqlalchemy.py SQLAlchemyMiddleware.get_async_session 3 3 0 2 0 0%
polar/worker/_sqlalchemy.py SQLAlchemyMiddleware.before_worker_boot 4 4 0 0 0 0%
polar/worker/_sqlalchemy.py SQLAlchemyMiddleware.after_worker_shutdown 3 3 0 0 0 0%
polar/worker/_sqlalchemy.py AsyncSessionMaker 7 7 0 0 0 0%
polar/worker/_sqlalchemy.py (no function) 21 0 0 0 0 100%
polar/worker/run.py (no function) 9 9 0 0 0 0%
polar/worker/scheduler.py LogfireBlockingScheduler._main_loop 6 6 0 2 0 0%
polar/worker/scheduler.py start 10 10 0 2 0 0%
polar/worker/scheduler.py (no function) 18 18 0 0 0 0%
Total   31464 14458 0 6282 269 47%

No items found using the specified filter.