bugsnag / bugsnag-python

Official BugSnag error monitoring and error reporting for django, flask, tornado and other python apps.
https://docs.bugsnag.com/platforms/python/
MIT License
84 stars 42 forks source link

Implement __repr__ for FeatureFlag #359

Closed imjoehaines closed 1 year ago

imjoehaines commented 1 year ago

Goal

Implement __repr__ for the FeatureFlag class to help with debugging. e.g.:

repr(FeatureFlag('abc', 'xyz'))
# => "FeatureFlag('abc', 'xyz')"
repr(FeatureFlag('xyz'))
# => "FeatureFlag('xyz', None)"