Skip to content

Use sentry-cli feature from python #2540

Closed as not planned
Closed as not planned
@MartinDelille

Description

@MartinDelille

Problem Statement

I have a python script that is calling python-cli. Since python-cli is a python package, is it possible to use a python api directly ?

Solution Brainstorm

from sentry_cli import Sentry

Sentry.debug_files.upload(
            project=project,
            include_sources=include_sources,
            wait=wait,
            log_level=log_level,
            debug_file_path=debug_file_path
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIProduct areaFeatureIssue type

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions