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

Make sentry init more configurable #25

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

deiferni
Copy link
Contributor

@deiferni deiferni commented Oct 30, 2023

  • Provide some more defaults values
  • Allow to override default easily with dynamic values from factory methods
  • Unfortunately this seems necessary as overriding them with an @property does not work correctly when the attributes are accessed without an instance of the class, e.g. inside @classmethod
  • Provide option to override init kwargs

Overrides can be seen in https://github.com/4teamwork/ris/pull/3236/files

  • Changelog: ✅
  • Testing: 🤷
  • README.md: ❌

@deiferni deiferni requested review from a team and bierik October 30, 2023 13:53
Copy link

@RychenerLorenz RychenerLorenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐎 but lets wait for @bierik feedback

- Provide some more defaults values
- Allow to override default easily with dynamic values from factory
  methods
- Unfortunately this seems necessary as overriding them with an
  `@property` does not work correctly when the attributes are accessed
  without an instance of the class, e.g. inside `@classmethod`
- Provide option to override init kwargs
@deiferni deiferni force-pushed the deif/HG-3984-make-sentry-init-configurable branch from 6f80678 to 072f19a Compare October 31, 2023 16:44
@deiferni deiferni merged commit ab30742 into main Oct 31, 2023
@deiferni deiferni deleted the deif/HG-3984-make-sentry-init-configurable branch October 31, 2023 16:48
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.

3 participants