Skip to content

Out of date with ddtrace library #88

@westfarn

Description

@westfarn

When installing any version of ddtrace>=1.0.0, 0.2.0 of this library will fail on load because ddtrace has been updated. Specifically when trying to do from ddtrace.contrib.util import requires_modules, will fail because requires_module was moved in version 1.0.0 of ddtrace. So the line needs to be updated to from ddtrace.contrib import require_modules.

Other import lines to be updated are:
from ddtrace.ext import errors as ddtrace_errors -> from ddtrace.constants import ERROR_MSG, ERROR_STACK, ERROR_TYPE
from ddtrace.util import unwrap -> from ddtrace.internal.utils.wrappers import unwrap
Remove import graphql.backend.core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions