Skip to content

Commit

Permalink
run the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
agocs committed Jan 11, 2024
1 parent 4b05375 commit 186bf7f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion ddtrace/contrib/botocore/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
from .services.sqs import inject_trace_to_sqs_or_sns_batch_message
from .services.sqs import inject_trace_to_sqs_or_sns_message
from .services.sqs import patched_sqs_api_call
from .services.stepfunctions import inject_trace_to_stepfunction_input, patched_stepfunction_api_call
from .services.stepfunctions import inject_trace_to_stepfunction_input
from .services.stepfunctions import patched_stepfunction_api_call
from .utils import inject_trace_to_client_context
from .utils import inject_trace_to_eventbridge_detail
from .utils import set_patched_api_call_span_tags
Expand Down
17 changes: 12 additions & 5 deletions ddtrace/contrib/botocore/services/stepfunctions.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
import json
from typing import Any # noqa:F401
from typing import Dict # noqa:F401

import botocore.exceptions

from ddtrace import Span # noqa:F401
from ddtrace import config
from ddtrace.ext import http
from ddtrace.propagation.http import HTTPPropagator
from ..utils import set_patched_api_call_span_tags, set_response_metadata_tags

from ....ext import SpanTypes
from ....internal.logger import get_logger
from typing import Any, Dict # noqa:F401
from ddtrace import Span # noqa:F401
from ....internal.schema import schematize_service_name, SpanDirection, schematize_cloud_messaging_operation
from ddtrace import config
from ....internal.schema import SpanDirection
from ....internal.schema import schematize_cloud_messaging_operation
from ....internal.schema import schematize_service_name
from ..utils import set_patched_api_call_span_tags
from ..utils import set_response_metadata_tags


log = get_logger(__name__)

Expand Down

0 comments on commit 186bf7f

Please sign in to comment.