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

chore(tracing): Refactor tracing_utils.py #2

Closed
wants to merge 2 commits into from

Conversation

rominf
Copy link
Owner

@rominf rominf commented Aug 20, 2024

Preparation for:
getsentry#3313
Proposed in:
getsentry#3313 (comment)

Note that the _module_in_list function returns False if name is
None or items are falsy, hence extra check before function call can
be omitted to simplify code.


Thank you for contributing to sentry-python! Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.

Preparation for:
getsentry#3313
Proposed in:
getsentry#3313 (comment)

Note that the `_module_in_list` function returns `False` if `name` is
`None` or `items` are falsy, hence extra check before function call can
be omitted to simplify code.
@rominf rominf force-pushed the rominf-tracing-refactor-logic-in_app branch from 4b7ee78 to db40dfc Compare August 20, 2024 07:22
@rominf rominf closed this Sep 5, 2024
@rominf rominf deleted the rominf-tracing-refactor-logic-in_app branch September 5, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants