Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: reuse type definition for Job from event_manager #72706

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/sentry/grouping/ingest/hashing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import copy
import logging
from collections.abc import MutableMapping, Sequence
from typing import TYPE_CHECKING, Any
from collections.abc import Sequence
from typing import TYPE_CHECKING

import sentry_sdk

Expand Down Expand Up @@ -35,12 +35,11 @@
from sentry.utils.tag_normalization import normalized_sdk_tag_from_event

if TYPE_CHECKING:
from sentry.event_manager import Job
from sentry.eventstore.models import Event

logger = logging.getLogger("sentry.events.grouping")

Job = MutableMapping[str, Any]


def _calculate_event_grouping(
project: Project, event: Event, grouping_config: GroupingConfig
Expand Down
Loading