@@ -170,10 +170,14 @@ def set_priority_order(self, number, priority):
170
170
171
171
def set_tracking_order (self , number , tracking_number , tracking_url ):
172
172
url = self .base_url + "orders/%d/tracking" % number
173
- contents = self .put (url , tracking_number = tracking_number , tracking_url = tracking_url )
173
+ contents = self .put (
174
+ url , tracking_number = tracking_number , tracking_url = tracking_url
175
+ )
174
176
return contents
175
177
176
- def set_return_tracking_order (self , number , return_tracking_number , return_tracking_url ):
178
+ def set_return_tracking_order (
179
+ self , number , return_tracking_number , return_tracking_url
180
+ ):
177
181
url = self .base_url + "orders/%d/return_tracking" % number
178
182
contents = self .put (
179
183
url ,
@@ -194,7 +198,9 @@ def unset_return_tracking_order(self, number):
194
198
195
199
def precustomization_order (self , number , tracking_number , tracking_url ):
196
200
url = self .base_url + "orders/%d/tracking" % number
197
- contents = self .put (url , tracking_number = tracking_number , tracking_url = tracking_url )
201
+ contents = self .put (
202
+ url , tracking_number = tracking_number , tracking_url = tracking_url
203
+ )
198
204
return contents
199
205
200
206
def get_subscription_order (self , number ):
@@ -234,22 +240,30 @@ def price_order(self, number, currency=None):
234
240
235
241
def produce_order (self , number , justification = None , notify = False , strict = True ):
236
242
url = self .base_url + "orders/%d/produce" % number
237
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
243
+ contents = self .put (
244
+ url , justification = justification , notify = notify , strict = strict
245
+ )
238
246
return contents
239
247
240
248
def quality_assure_order (self , number , justification = None , notify = False , strict = True ):
241
249
url = self .base_url + "orders/%d/quality_assure" % number
242
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
250
+ contents = self .put (
251
+ url , justification = justification , notify = notify , strict = strict
252
+ )
243
253
return contents
244
254
245
255
def reject_order (self , number , justification = None , notify = False , strict = True ):
246
256
url = self .base_url + "orders/%d/reject" % number
247
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
257
+ contents = self .put (
258
+ url , justification = justification , notify = notify , strict = strict
259
+ )
248
260
return contents
249
261
250
262
def ready_order (self , number , justification = None , notify = False , strict = True ):
251
263
url = self .base_url + "orders/%d/ready" % number
252
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
264
+ contents = self .put (
265
+ url , justification = justification , notify = notify , strict = strict
266
+ )
253
267
return contents
254
268
255
269
def send_order (
@@ -274,22 +288,30 @@ def send_order(
274
288
275
289
def block_order (self , number , justification = None , notify = False , strict = True ):
276
290
url = self .base_url + "orders/%d/block" % number
277
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
291
+ contents = self .put (
292
+ url , justification = justification , notify = notify , strict = strict
293
+ )
278
294
return contents
279
295
280
296
def receive_order (self , number , justification = None , notify = False , strict = True ):
281
297
url = self .base_url + "orders/%d/receive" % number
282
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
298
+ contents = self .put (
299
+ url , justification = justification , notify = notify , strict = strict
300
+ )
283
301
return contents
284
302
285
303
def return_order (self , number , justification = None , notify = False , strict = True ):
286
304
url = self .base_url + "orders/%d/return" % number
287
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
305
+ contents = self .put (
306
+ url , justification = justification , notify = notify , strict = strict
307
+ )
288
308
return contents
289
309
290
310
def cancel_order (self , number , justification = None , notify = False , strict = True ):
291
311
url = self .base_url + "orders/%d/cancel" % number
292
- contents = self .put (url , justification = justification , notify = notify , strict = strict )
312
+ contents = self .put (
313
+ url , justification = justification , notify = notify , strict = strict
314
+ )
293
315
return contents
294
316
295
317
def report_pdf (self , number , key ):
0 commit comments