Skip to content

Do not export types behind TYPE_CHECKING #2909

@evanpurkhiser

Description

@evanpurkhiser

Problem Statement

Currently Event and friends are exported behind the TYPE_CHECKING conditional. Meaning imports of these types must also be behind these conditionals.

cc @asottile-sentry

Solution Brainstorm

Export without the TYPE_CHECKING conditional

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions