Skip to content

Commit be4de4e

Browse files
committed
better text
1 parent bb0f657 commit be4de4e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

develop-docs/backend/application-domains/options.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Follow these rules when adding new options:
2323
The value of an option can be any pickleable value.
2424

2525
<Alert level="info">
26-
It is safe to declare and use an option in the same pull request, you don't need to
27-
split them up.
26+
It is safe to declare and use an option in the same pull request, you don't
27+
need to split them up.
2828
</Alert>
2929

3030
## Using Options
@@ -56,8 +56,8 @@ options.set("performance.some-feature-rate", 0.01)
5656
```
5757

5858
<Alert level="info">
59-
If you do not have access to the shell, you'll need to contact OPS to set the option
60-
value for you.
59+
If you do not have access to the shell, you'll need to contact OPS to set the
60+
option value for you.
6161
</Alert>
6262

6363
### Options UI
@@ -75,7 +75,7 @@ if in_random_rollout("performance.some-feature-rate"):
7575
do_feature_stuff()
7676
```
7777

78-
However, be careful! Using `in_random_rollout` uses `random.random` under the hood, and will cause your feature to be enabled and disabled randomly between page requests. This may be unacceptable for user-facing features. To avoid this, you can use the `sample_modulo` helper. e.g.,
78+
However, be careful! `in_random_rollout` uses `random.random` under the hood, and will cause your feature to be enabled and disabled randomly between page requests. This may be unacceptable for user-facing features. To avoid this, you can use the `sample_modulo` helper. e.g.,
7979

8080
```python
8181
from sentry.utils.options import sample_modulo
@@ -124,6 +124,6 @@ options.delete("performance.some-feature-rate")
124124
```
125125

126126
<Alert level="info">
127-
If you do not have access to the shell, you'll need to contact OPS to remove the option
128-
for you.
127+
If you do not have access to the shell, you'll need to contact OPS to remove
128+
the option for you.
129129
</Alert>

0 commit comments

Comments
 (0)