File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
docs/platforms/python/integrations/unleash Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,6 @@ test_flag_enabled = unleash.is_enabled("test-flag")
4646sentry_sdk.capture_exception(Exception (" Something went wrong!" ))
4747```
4848
49- ``` python {tabTitle: Python, using get_variant}
50- import sentry_sdk
51- from UnleashClient import UnleashClient
52-
53- unleash = UnleashClient(... ) # See Unleash quickstart.
54- unleash.initialize_client()
55-
56- test_flag_variant = unleash.get_variant(" test-flag" )
57- test_flag_enabled = test_flag_variant[" enabled" ]
58- sentry_sdk.capture_exception(Exception (" Something went wrong!" ))
59- ```
60-
6149Visit the [ Sentry website] ( https://sentry.io/issues/ ) and confirm that your error
6250event has recorded the feature flag "test-flag", and its value is equal to ` test_flag_enabled ` .
6351
You can’t perform that action at this time.
0 commit comments