You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Define request field extractor function (`example <https://github.snooguts.net/reddit/reddit-service-graphql/blob/master/graphql-py/graphql_api/models/experiment.py#L67-L92>`_)
108
126
@@ -132,7 +150,7 @@ Make sure :code:`EdgeContext` is accessible on :code:`request` object like so:
132
150
133
151
Basic Usage
134
152
-----------
135
-
Use the attached :py:class:`~reddit_decider.Decider` object in request to call
153
+
Use the attached :py:class:`~reddit_decider.Decider` instance in request to call
136
154
:code:`decider.get_variant()` (automatically sends an expose event)::
137
155
138
156
def my_method(request):
@@ -146,12 +164,13 @@ or optionally, if manual exposure is necessary, use::
0 commit comments