@@ -121,19 +121,24 @@ def _create_or_update_user(cls, method, **kwargs):
121121
122122 @classmethod
123123 def get_users (cls , ** kwargs ):
124- """ Returns a paginated list of all users in your application on Intercom.
124+ """ Returns a paginated list of all users in your application on
125+ Intercom.
125126
126127 **Arguments**
127128
128129 * ``page``: optional (defaults to 1)
129130 * ``per_page``: optional (defaults to 500, max value of 500)
130- * ``tag_id``: optional — query for users that are tagged with a specific tag.
131- * ``tag_name``: optional — query for users that are tagged with a specific tag.
131+ * ``tag_id``: optional — query for users that are tagged with a
132+ specific tag.
133+ * ``tag_name``: optional — query for users that are tagged with a
134+ specific tag.
132135
133136 **Response**
134137
135- * ``users``: an array of User objects (same as returned by getting a single User)
136- * ``total_count``: the total number of Users tracked in your Intercom application
138+ * ``users``: an array of User objects (same as returned by getting a
139+ single User)
140+ * ``total_count``: the total number of Users tracked in your Intercom
141+ application
137142 * ``page``: the current requested page
138143 * ``next_page``: the next page number, if any
139144 * ``previous_page``: the previous page number, if any
@@ -146,7 +151,8 @@ def get_users(cls, **kwargs):
146151 3
147152
148153 """
149- return Intercom ._call ('GET' , Intercom .api_endpoint + 'users' , params = kwargs )
154+ return Intercom ._call (
155+ 'GET' , Intercom .api_endpoint + 'users' , params = kwargs )
150156
151157 @classmethod
152158 def get_user (cls , email = None , user_id = None ):
@@ -194,7 +200,8 @@ def create_user(cls, **kwargs):
194200 unsubscribed status.
195201
196202
197- >>> user = Intercom.create_user(user_id='7902', email='ben@intercom.io',
203+ >>> user = Intercom.create_user(user_id='7902',
204+ ... email='ben@intercom.io',
198205 ... name='Somebody', created_at=1270000000, last_seen_ip='1.2.3.4',
199206 ... custom_data={ 'app_name': 'Genesis'}, last_request_at=1300000000)
200207 >>> user['name']
0 commit comments