| 5944 |
mandeep.dh |
1 |
#!/usr/bin/env python
|
|
|
2 |
#
|
|
|
3 |
# Autogenerated by Thrift Compiler (0.7.0)
|
|
|
4 |
#
|
|
|
5 |
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
6 |
#
|
|
|
7 |
|
|
|
8 |
import sys
|
|
|
9 |
import pprint
|
|
|
10 |
from urlparse import urlparse
|
|
|
11 |
from thrift.transport import TTransport
|
|
|
12 |
from thrift.transport import TSocket
|
|
|
13 |
from thrift.transport import THttpClient
|
|
|
14 |
from thrift.protocol import TBinaryProtocol
|
|
|
15 |
|
|
|
16 |
import InventoryService
|
|
|
17 |
from ttypes import *
|
|
|
18 |
|
|
|
19 |
if len(sys.argv) <= 1 or sys.argv[1] == '--help':
|
|
|
20 |
print ''
|
|
|
21 |
print 'Usage: ' + sys.argv[0] + ' [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]'
|
|
|
22 |
print ''
|
|
|
23 |
print 'Functions:'
|
|
|
24 |
print ' i64 addWarehouse(Warehouse warehouse)'
|
|
|
25 |
print ' i64 addVendor(Vendor vendor)'
|
|
|
26 |
print ' void updateInventoryHistory(i64 warehouse_id, string timestamp, availability)'
|
|
|
27 |
print ' void updateInventory(i64 warehouse_id, string timestamp, availability)'
|
|
|
28 |
print ' void addInventory(i64 itemId, i64 warehouseId, i64 quantity)'
|
|
|
29 |
print ' void retireWarehouse(i64 warehouse_id)'
|
|
|
30 |
print ' ItemInventory getItemInventoryByItemId(i64 item_id)'
|
|
|
31 |
print ' i64 getItemAvailibilityAtWarehouse(i64 warehouse_id, i64 item_id)'
|
| 5978 |
rajveer |
32 |
print ' getItemAvailabilityAtLocation(i64 itemId, i64 sourceId)'
|
| 5944 |
mandeep.dh |
33 |
print ' getAllWarehouses(bool isActive)'
|
|
|
34 |
print ' Warehouse getWarehouse(i64 warehouse_id)'
|
|
|
35 |
print ' getAllItemsForWarehouse(i64 warehouse_id)'
|
| 5966 |
rajveer |
36 |
print ' bool isOrderBillable(i64 itemId, i64 warehouseId, i64 sourceId, i64 orderId)'
|
|
|
37 |
print ' bool reserveItemInWarehouse(i64 itemId, i64 warehouseId, i64 sourceId, i64 orderId, i64 createdTimestamp, i64 promisedShippingTimestamp, double quantity)'
|
| 8282 |
kshitij.so |
38 |
print ' bool updateReservationForOrder(i64 itemId, i64 warehouseId, i64 sourceId, i64 orderId, i64 createdTimestamp, i64 promisedShippingTimestamp, double quantity)'
|
| 5966 |
rajveer |
39 |
print ' bool reduceReservationCount(i64 itemId, i64 warehouseId, i64 sourceId, i64 orderId, double quantity)'
|
| 5944 |
mandeep.dh |
40 |
print ' VendorItemPricing getItemPricing(i64 itemId, i64 vendorId)'
|
|
|
41 |
print ' getAllItemPricing(i64 itemId)'
|
|
|
42 |
print ' void addVendorItemPricing(VendorItemPricing vendorItemPricing)'
|
|
|
43 |
print ' Vendor getVendor(i64 vendorId)'
|
|
|
44 |
print ' getAllVendors()'
|
|
|
45 |
print ' void addVendorItemMapping(string key, VendorItemMapping vendorItemMapping)'
|
|
|
46 |
print ' getVendorItemMappings(i64 itemId)'
|
|
|
47 |
print ' getPendingOrdersInventory(i64 vendorid)'
|
|
|
48 |
print ' getWarehouses(WarehouseType warehouseType, InventoryType inventoryType, i64 vendorId, i64 billingWarehouseId, i64 shippingWarehouseId)'
|
|
|
49 |
print ' void resetAvailability(string itemKey, i64 vendorId, i64 quantity, i64 warehouseId)'
|
|
|
50 |
print ' void resetAvailabilityForWarehouse(i64 warehouseId)'
|
|
|
51 |
print ' getItemKeysToBeProcessed(i64 warehouseId)'
|
|
|
52 |
print ' void markMissedInventoryUpdatesAsProcessed(string itemKey, i64 warehouseId)'
|
|
|
53 |
print ' getIgnoredItemKeys()'
|
|
|
54 |
print ' void addBadInventory(i64 itemId, i64 warehouseId, i64 quantity)'
|
|
|
55 |
print ' getShippingLocations()'
|
|
|
56 |
print ' getAllVendorItemMappings()'
|
|
|
57 |
print ' getInventorySnapshot(i64 warehouseId)'
|
|
|
58 |
print ' void clearItemAvailabilityCache()'
|
|
|
59 |
print ' void updateVendorString(i64 warehouseId, string vendorString)'
|
| 6096 |
amit.gupta |
60 |
print ' void clearItemAvailabilityCacheForItem(i64 item_id)'
|
| 7808 |
anupam.sin |
61 |
print ' i64 getOurWarehouseIdForVendor(i64 vendorId, i64 billingWarehouseId)'
|
| 6531 |
vikram.rag |
62 |
print ' getItemAvailabilitiesAtOurWarehouses( item_ids)'
|
|
|
63 |
print ' getMonitoredWarehouseForVendors( vendorIds)'
|
|
|
64 |
print ' getIgnoredWarehouseidsAndItemids()'
|
|
|
65 |
print ' bool insertItemtoIgnoreInventoryUpdatelist(i64 item_id, i64 warehouse_id)'
|
|
|
66 |
print ' bool deleteItemFromIgnoredInventoryUpdateList(i64 item_id, i64 warehouse_id)'
|
|
|
67 |
print ' i32 getAllIgnoredInventoryupdateItemsCount()'
|
|
|
68 |
print ' getIgnoredInventoryUpdateItemids(i32 offset, i32 limit)'
|
| 7330 |
amit.gupta |
69 |
print ' void updateItemStockPurchaseParams(i64 item_id, i32 numOfDaysStock, i64 minStockLevel)'
|
|
|
70 |
print ' ItemStockPurchaseParams getItemStockPurchaseParams(i64 itemId)'
|
|
|
71 |
print ' void addOosStatusForItem( oosStatusMap, i64 date)'
|
| 9665 |
rajveer |
72 |
print ' getOosStatusesForXDaysForItem(i64 itemId, i32 sourceId, i32 days)'
|
| 10450 |
vikram.rag |
73 |
print ' getOosStatusesForXDays(i32 sourceId, i32 days)'
|
|
|
74 |
print ' getAllVendorItemPricing(i64 itemId, i64 vendorId)'
|
| 7330 |
amit.gupta |
75 |
print ' getNonZeroItemStockPurchaseParams()'
|
|
|
76 |
print ' getBillableInventoryAndPendingOrders()'
|
|
|
77 |
print ' string getWarehouseName(i64 warehouse_id)'
|
|
|
78 |
print ' AmazonInventorySnapshot getAmazonInventoryForItem(i64 item_id)'
|
|
|
79 |
print ' getAllAmazonInventory()'
|
| 10450 |
vikram.rag |
80 |
print ' void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, i64 time)'
|
| 8282 |
kshitij.so |
81 |
print ' string getLastNdaySaleForItem(i64 itemId, i64 numberOfDays)'
|
|
|
82 |
print ' void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot)'
|
|
|
83 |
print ' void addUpdateHoldInventory(i64 itemId, i64 warehouseId, i64 holdQuantity, i64 source)'
|
| 11173 |
vikram.rag |
84 |
print ' getAmazonFbaItemInventory(i64 itemId)'
|
| 8955 |
vikram.rag |
85 |
print ' getAllAmazonFbaItemInventory()'
|
|
|
86 |
print ' getOursGoodWarehouseIdsForLocation(i64 state_id)'
|
|
|
87 |
print ' i64 getHoldInventoryDetailForItemForWarehouseIdExceptSource(i64 id, i64 warehouse_id, i64 source)'
|
| 9404 |
vikram.rag |
88 |
print ' SnapdealInventoryItem getSnapdealInventoryForItem(i64 item_id)'
|
|
|
89 |
print ' void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem)'
|
|
|
90 |
print ' double getNlcForWarehouse(i64 warehouse_id, i64 item_id)'
|
| 9665 |
rajveer |
91 |
print ' getHeldInventoryMapForItem(i64 item_id, i64 warehouse_id)'
|
| 9482 |
vikram.rag |
92 |
print ' void addOrUpdateAllAmazonFbaInventory( allamazonfbainventorysnapshot)'
|
| 9495 |
vikram.rag |
93 |
print ' void addOrUpdateAllSnapdealInventory( allsnapdealinventorysnapshot)'
|
|
|
94 |
print ' getSnapdealInventorySnapshot()'
|
| 10050 |
vikram.rag |
95 |
print ' getHoldInventoryDetails(i64 itemId, i64 warehouseId, i64 source)'
|
| 10450 |
vikram.rag |
96 |
print ' void addOrUpdateFlipkartInventorySnapshot( flipkartInventorySnapshot, i64 time)'
|
| 10050 |
vikram.rag |
97 |
print ' getFlipkartInventorySnapshot()'
|
| 10450 |
vikram.rag |
98 |
print ' FlipkartInventorySnapshot getFlipkartlInventoryForItem(i64 item_id)'
|
| 10485 |
vikram.rag |
99 |
print ' getStateMaster()'
|
| 10544 |
vikram.rag |
100 |
print ' void updateSnapdealStockAtEOD( allsnapdealstock)'
|
|
|
101 |
print ' void updateFlipkartStockAtEOD( allflipkartstock)'
|
| 12784 |
manish.sha |
102 |
print ' double getWanNlcForSource(i64 item_id, i64 source)'
|
|
|
103 |
print ' getAllAvailableAmazonFbaItemInventory()'
|
| 19413 |
amit.gupta |
104 |
print ' bool updateItemAvailabilityForItemIds( itemIds)'
|
|
|
105 |
print ' addVendorItemPricingInBulk( vendorItemPricingList)'
|
|
|
106 |
print ' void addInventoryInBulk( bulkInventoryList)'
|
| 22717 |
amit.gupta |
107 |
print ' getFofoAvailability( itemIds)'
|
| 22721 |
amit.gupta |
108 |
print ' getFofoFulFillmentWarehouseMap( itemIds)'
|
| 19413 |
amit.gupta |
109 |
print ' getItemLocationAvailabilityCache( itemLocations)'
|
|
|
110 |
print ' getItemLocationAvailabilityCacheByItemId( itemIds)'
|
| 19416 |
amit.gupta |
111 |
print ' string getItemPincodeAvailability( itempricing, string pincode)'
|
| 5944 |
mandeep.dh |
112 |
print ''
|
|
|
113 |
sys.exit(0)
|
|
|
114 |
|
|
|
115 |
pp = pprint.PrettyPrinter(indent = 2)
|
|
|
116 |
host = 'localhost'
|
|
|
117 |
port = 9090
|
|
|
118 |
uri = ''
|
|
|
119 |
framed = False
|
|
|
120 |
http = False
|
|
|
121 |
argi = 1
|
|
|
122 |
|
|
|
123 |
if sys.argv[argi] == '-h':
|
|
|
124 |
parts = sys.argv[argi+1].split(':')
|
|
|
125 |
host = parts[0]
|
|
|
126 |
port = int(parts[1])
|
|
|
127 |
argi += 2
|
|
|
128 |
|
|
|
129 |
if sys.argv[argi] == '-u':
|
|
|
130 |
url = urlparse(sys.argv[argi+1])
|
|
|
131 |
parts = url[1].split(':')
|
|
|
132 |
host = parts[0]
|
|
|
133 |
if len(parts) > 1:
|
|
|
134 |
port = int(parts[1])
|
|
|
135 |
else:
|
|
|
136 |
port = 80
|
|
|
137 |
uri = url[2]
|
|
|
138 |
if url[4]:
|
|
|
139 |
uri += '?%s' % url[4]
|
|
|
140 |
http = True
|
|
|
141 |
argi += 2
|
|
|
142 |
|
|
|
143 |
if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed':
|
|
|
144 |
framed = True
|
|
|
145 |
argi += 1
|
|
|
146 |
|
|
|
147 |
cmd = sys.argv[argi]
|
|
|
148 |
args = sys.argv[argi+1:]
|
|
|
149 |
|
|
|
150 |
if http:
|
|
|
151 |
transport = THttpClient.THttpClient(host, port, uri)
|
|
|
152 |
else:
|
|
|
153 |
socket = TSocket.TSocket(host, port)
|
|
|
154 |
if framed:
|
|
|
155 |
transport = TTransport.TFramedTransport(socket)
|
|
|
156 |
else:
|
|
|
157 |
transport = TTransport.TBufferedTransport(socket)
|
|
|
158 |
protocol = TBinaryProtocol.TBinaryProtocol(transport)
|
|
|
159 |
client = InventoryService.Client(protocol)
|
|
|
160 |
transport.open()
|
|
|
161 |
|
|
|
162 |
if cmd == 'addWarehouse':
|
|
|
163 |
if len(args) != 1:
|
|
|
164 |
print 'addWarehouse requires 1 args'
|
|
|
165 |
sys.exit(1)
|
|
|
166 |
pp.pprint(client.addWarehouse(eval(args[0]),))
|
|
|
167 |
|
|
|
168 |
elif cmd == 'addVendor':
|
|
|
169 |
if len(args) != 1:
|
|
|
170 |
print 'addVendor requires 1 args'
|
|
|
171 |
sys.exit(1)
|
|
|
172 |
pp.pprint(client.addVendor(eval(args[0]),))
|
|
|
173 |
|
|
|
174 |
elif cmd == 'updateInventoryHistory':
|
|
|
175 |
if len(args) != 3:
|
|
|
176 |
print 'updateInventoryHistory requires 3 args'
|
|
|
177 |
sys.exit(1)
|
|
|
178 |
pp.pprint(client.updateInventoryHistory(eval(args[0]),args[1],eval(args[2]),))
|
|
|
179 |
|
|
|
180 |
elif cmd == 'updateInventory':
|
|
|
181 |
if len(args) != 3:
|
|
|
182 |
print 'updateInventory requires 3 args'
|
|
|
183 |
sys.exit(1)
|
|
|
184 |
pp.pprint(client.updateInventory(eval(args[0]),args[1],eval(args[2]),))
|
|
|
185 |
|
|
|
186 |
elif cmd == 'addInventory':
|
|
|
187 |
if len(args) != 3:
|
|
|
188 |
print 'addInventory requires 3 args'
|
|
|
189 |
sys.exit(1)
|
|
|
190 |
pp.pprint(client.addInventory(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
191 |
|
|
|
192 |
elif cmd == 'retireWarehouse':
|
|
|
193 |
if len(args) != 1:
|
|
|
194 |
print 'retireWarehouse requires 1 args'
|
|
|
195 |
sys.exit(1)
|
|
|
196 |
pp.pprint(client.retireWarehouse(eval(args[0]),))
|
|
|
197 |
|
|
|
198 |
elif cmd == 'getItemInventoryByItemId':
|
|
|
199 |
if len(args) != 1:
|
|
|
200 |
print 'getItemInventoryByItemId requires 1 args'
|
|
|
201 |
sys.exit(1)
|
|
|
202 |
pp.pprint(client.getItemInventoryByItemId(eval(args[0]),))
|
|
|
203 |
|
|
|
204 |
elif cmd == 'getItemAvailibilityAtWarehouse':
|
|
|
205 |
if len(args) != 2:
|
|
|
206 |
print 'getItemAvailibilityAtWarehouse requires 2 args'
|
|
|
207 |
sys.exit(1)
|
|
|
208 |
pp.pprint(client.getItemAvailibilityAtWarehouse(eval(args[0]),eval(args[1]),))
|
|
|
209 |
|
|
|
210 |
elif cmd == 'getItemAvailabilityAtLocation':
|
| 5978 |
rajveer |
211 |
if len(args) != 2:
|
|
|
212 |
print 'getItemAvailabilityAtLocation requires 2 args'
|
| 5944 |
mandeep.dh |
213 |
sys.exit(1)
|
| 5978 |
rajveer |
214 |
pp.pprint(client.getItemAvailabilityAtLocation(eval(args[0]),eval(args[1]),))
|
| 5944 |
mandeep.dh |
215 |
|
|
|
216 |
elif cmd == 'getAllWarehouses':
|
|
|
217 |
if len(args) != 1:
|
|
|
218 |
print 'getAllWarehouses requires 1 args'
|
|
|
219 |
sys.exit(1)
|
|
|
220 |
pp.pprint(client.getAllWarehouses(eval(args[0]),))
|
|
|
221 |
|
|
|
222 |
elif cmd == 'getWarehouse':
|
|
|
223 |
if len(args) != 1:
|
|
|
224 |
print 'getWarehouse requires 1 args'
|
|
|
225 |
sys.exit(1)
|
|
|
226 |
pp.pprint(client.getWarehouse(eval(args[0]),))
|
|
|
227 |
|
|
|
228 |
elif cmd == 'getAllItemsForWarehouse':
|
|
|
229 |
if len(args) != 1:
|
|
|
230 |
print 'getAllItemsForWarehouse requires 1 args'
|
|
|
231 |
sys.exit(1)
|
|
|
232 |
pp.pprint(client.getAllItemsForWarehouse(eval(args[0]),))
|
|
|
233 |
|
| 5966 |
rajveer |
234 |
elif cmd == 'isOrderBillable':
|
|
|
235 |
if len(args) != 4:
|
|
|
236 |
print 'isOrderBillable requires 4 args'
|
|
|
237 |
sys.exit(1)
|
|
|
238 |
pp.pprint(client.isOrderBillable(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
|
|
239 |
|
| 5944 |
mandeep.dh |
240 |
elif cmd == 'reserveItemInWarehouse':
|
| 5966 |
rajveer |
241 |
if len(args) != 7:
|
|
|
242 |
print 'reserveItemInWarehouse requires 7 args'
|
| 5944 |
mandeep.dh |
243 |
sys.exit(1)
|
| 5966 |
rajveer |
244 |
pp.pprint(client.reserveItemInWarehouse(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),eval(args[5]),eval(args[6]),))
|
| 5944 |
mandeep.dh |
245 |
|
| 8282 |
kshitij.so |
246 |
elif cmd == 'updateReservationForOrder':
|
|
|
247 |
if len(args) != 7:
|
|
|
248 |
print 'updateReservationForOrder requires 7 args'
|
|
|
249 |
sys.exit(1)
|
|
|
250 |
pp.pprint(client.updateReservationForOrder(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),eval(args[5]),eval(args[6]),))
|
|
|
251 |
|
| 5944 |
mandeep.dh |
252 |
elif cmd == 'reduceReservationCount':
|
| 5966 |
rajveer |
253 |
if len(args) != 5:
|
|
|
254 |
print 'reduceReservationCount requires 5 args'
|
| 5944 |
mandeep.dh |
255 |
sys.exit(1)
|
| 5966 |
rajveer |
256 |
pp.pprint(client.reduceReservationCount(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),))
|
| 5944 |
mandeep.dh |
257 |
|
|
|
258 |
elif cmd == 'getItemPricing':
|
|
|
259 |
if len(args) != 2:
|
|
|
260 |
print 'getItemPricing requires 2 args'
|
|
|
261 |
sys.exit(1)
|
|
|
262 |
pp.pprint(client.getItemPricing(eval(args[0]),eval(args[1]),))
|
|
|
263 |
|
|
|
264 |
elif cmd == 'getAllItemPricing':
|
|
|
265 |
if len(args) != 1:
|
|
|
266 |
print 'getAllItemPricing requires 1 args'
|
|
|
267 |
sys.exit(1)
|
|
|
268 |
pp.pprint(client.getAllItemPricing(eval(args[0]),))
|
|
|
269 |
|
|
|
270 |
elif cmd == 'addVendorItemPricing':
|
|
|
271 |
if len(args) != 1:
|
|
|
272 |
print 'addVendorItemPricing requires 1 args'
|
|
|
273 |
sys.exit(1)
|
|
|
274 |
pp.pprint(client.addVendorItemPricing(eval(args[0]),))
|
|
|
275 |
|
|
|
276 |
elif cmd == 'getVendor':
|
|
|
277 |
if len(args) != 1:
|
|
|
278 |
print 'getVendor requires 1 args'
|
|
|
279 |
sys.exit(1)
|
|
|
280 |
pp.pprint(client.getVendor(eval(args[0]),))
|
|
|
281 |
|
|
|
282 |
elif cmd == 'getAllVendors':
|
|
|
283 |
if len(args) != 0:
|
|
|
284 |
print 'getAllVendors requires 0 args'
|
|
|
285 |
sys.exit(1)
|
|
|
286 |
pp.pprint(client.getAllVendors())
|
|
|
287 |
|
|
|
288 |
elif cmd == 'addVendorItemMapping':
|
|
|
289 |
if len(args) != 2:
|
|
|
290 |
print 'addVendorItemMapping requires 2 args'
|
|
|
291 |
sys.exit(1)
|
|
|
292 |
pp.pprint(client.addVendorItemMapping(args[0],eval(args[1]),))
|
|
|
293 |
|
|
|
294 |
elif cmd == 'getVendorItemMappings':
|
|
|
295 |
if len(args) != 1:
|
|
|
296 |
print 'getVendorItemMappings requires 1 args'
|
|
|
297 |
sys.exit(1)
|
|
|
298 |
pp.pprint(client.getVendorItemMappings(eval(args[0]),))
|
|
|
299 |
|
|
|
300 |
elif cmd == 'getPendingOrdersInventory':
|
|
|
301 |
if len(args) != 1:
|
|
|
302 |
print 'getPendingOrdersInventory requires 1 args'
|
|
|
303 |
sys.exit(1)
|
|
|
304 |
pp.pprint(client.getPendingOrdersInventory(eval(args[0]),))
|
|
|
305 |
|
|
|
306 |
elif cmd == 'getWarehouses':
|
|
|
307 |
if len(args) != 5:
|
|
|
308 |
print 'getWarehouses requires 5 args'
|
|
|
309 |
sys.exit(1)
|
|
|
310 |
pp.pprint(client.getWarehouses(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),))
|
|
|
311 |
|
|
|
312 |
elif cmd == 'resetAvailability':
|
|
|
313 |
if len(args) != 4:
|
|
|
314 |
print 'resetAvailability requires 4 args'
|
|
|
315 |
sys.exit(1)
|
|
|
316 |
pp.pprint(client.resetAvailability(args[0],eval(args[1]),eval(args[2]),eval(args[3]),))
|
|
|
317 |
|
|
|
318 |
elif cmd == 'resetAvailabilityForWarehouse':
|
|
|
319 |
if len(args) != 1:
|
|
|
320 |
print 'resetAvailabilityForWarehouse requires 1 args'
|
|
|
321 |
sys.exit(1)
|
|
|
322 |
pp.pprint(client.resetAvailabilityForWarehouse(eval(args[0]),))
|
|
|
323 |
|
|
|
324 |
elif cmd == 'getItemKeysToBeProcessed':
|
|
|
325 |
if len(args) != 1:
|
|
|
326 |
print 'getItemKeysToBeProcessed requires 1 args'
|
|
|
327 |
sys.exit(1)
|
|
|
328 |
pp.pprint(client.getItemKeysToBeProcessed(eval(args[0]),))
|
|
|
329 |
|
|
|
330 |
elif cmd == 'markMissedInventoryUpdatesAsProcessed':
|
|
|
331 |
if len(args) != 2:
|
|
|
332 |
print 'markMissedInventoryUpdatesAsProcessed requires 2 args'
|
|
|
333 |
sys.exit(1)
|
|
|
334 |
pp.pprint(client.markMissedInventoryUpdatesAsProcessed(args[0],eval(args[1]),))
|
|
|
335 |
|
|
|
336 |
elif cmd == 'getIgnoredItemKeys':
|
|
|
337 |
if len(args) != 0:
|
|
|
338 |
print 'getIgnoredItemKeys requires 0 args'
|
|
|
339 |
sys.exit(1)
|
|
|
340 |
pp.pprint(client.getIgnoredItemKeys())
|
|
|
341 |
|
|
|
342 |
elif cmd == 'addBadInventory':
|
|
|
343 |
if len(args) != 3:
|
|
|
344 |
print 'addBadInventory requires 3 args'
|
|
|
345 |
sys.exit(1)
|
|
|
346 |
pp.pprint(client.addBadInventory(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
347 |
|
|
|
348 |
elif cmd == 'getShippingLocations':
|
|
|
349 |
if len(args) != 0:
|
|
|
350 |
print 'getShippingLocations requires 0 args'
|
|
|
351 |
sys.exit(1)
|
|
|
352 |
pp.pprint(client.getShippingLocations())
|
|
|
353 |
|
|
|
354 |
elif cmd == 'getAllVendorItemMappings':
|
|
|
355 |
if len(args) != 0:
|
|
|
356 |
print 'getAllVendorItemMappings requires 0 args'
|
|
|
357 |
sys.exit(1)
|
|
|
358 |
pp.pprint(client.getAllVendorItemMappings())
|
|
|
359 |
|
|
|
360 |
elif cmd == 'getInventorySnapshot':
|
|
|
361 |
if len(args) != 1:
|
|
|
362 |
print 'getInventorySnapshot requires 1 args'
|
|
|
363 |
sys.exit(1)
|
|
|
364 |
pp.pprint(client.getInventorySnapshot(eval(args[0]),))
|
|
|
365 |
|
|
|
366 |
elif cmd == 'clearItemAvailabilityCache':
|
|
|
367 |
if len(args) != 0:
|
|
|
368 |
print 'clearItemAvailabilityCache requires 0 args'
|
|
|
369 |
sys.exit(1)
|
|
|
370 |
pp.pprint(client.clearItemAvailabilityCache())
|
|
|
371 |
|
|
|
372 |
elif cmd == 'updateVendorString':
|
|
|
373 |
if len(args) != 2:
|
|
|
374 |
print 'updateVendorString requires 2 args'
|
|
|
375 |
sys.exit(1)
|
|
|
376 |
pp.pprint(client.updateVendorString(eval(args[0]),args[1],))
|
|
|
377 |
|
| 6096 |
amit.gupta |
378 |
elif cmd == 'clearItemAvailabilityCacheForItem':
|
|
|
379 |
if len(args) != 1:
|
|
|
380 |
print 'clearItemAvailabilityCacheForItem requires 1 args'
|
|
|
381 |
sys.exit(1)
|
|
|
382 |
pp.pprint(client.clearItemAvailabilityCacheForItem(eval(args[0]),))
|
|
|
383 |
|
| 6531 |
vikram.rag |
384 |
elif cmd == 'getOurWarehouseIdForVendor':
|
| 7808 |
anupam.sin |
385 |
if len(args) != 2:
|
|
|
386 |
print 'getOurWarehouseIdForVendor requires 2 args'
|
| 6531 |
vikram.rag |
387 |
sys.exit(1)
|
| 7808 |
anupam.sin |
388 |
pp.pprint(client.getOurWarehouseIdForVendor(eval(args[0]),eval(args[1]),))
|
| 6531 |
vikram.rag |
389 |
|
|
|
390 |
elif cmd == 'getItemAvailabilitiesAtOurWarehouses':
|
|
|
391 |
if len(args) != 1:
|
|
|
392 |
print 'getItemAvailabilitiesAtOurWarehouses requires 1 args'
|
|
|
393 |
sys.exit(1)
|
|
|
394 |
pp.pprint(client.getItemAvailabilitiesAtOurWarehouses(eval(args[0]),))
|
|
|
395 |
|
|
|
396 |
elif cmd == 'getMonitoredWarehouseForVendors':
|
|
|
397 |
if len(args) != 1:
|
|
|
398 |
print 'getMonitoredWarehouseForVendors requires 1 args'
|
|
|
399 |
sys.exit(1)
|
|
|
400 |
pp.pprint(client.getMonitoredWarehouseForVendors(eval(args[0]),))
|
|
|
401 |
|
|
|
402 |
elif cmd == 'getIgnoredWarehouseidsAndItemids':
|
|
|
403 |
if len(args) != 0:
|
|
|
404 |
print 'getIgnoredWarehouseidsAndItemids requires 0 args'
|
|
|
405 |
sys.exit(1)
|
|
|
406 |
pp.pprint(client.getIgnoredWarehouseidsAndItemids())
|
|
|
407 |
|
|
|
408 |
elif cmd == 'insertItemtoIgnoreInventoryUpdatelist':
|
|
|
409 |
if len(args) != 2:
|
|
|
410 |
print 'insertItemtoIgnoreInventoryUpdatelist requires 2 args'
|
|
|
411 |
sys.exit(1)
|
|
|
412 |
pp.pprint(client.insertItemtoIgnoreInventoryUpdatelist(eval(args[0]),eval(args[1]),))
|
|
|
413 |
|
|
|
414 |
elif cmd == 'deleteItemFromIgnoredInventoryUpdateList':
|
|
|
415 |
if len(args) != 2:
|
|
|
416 |
print 'deleteItemFromIgnoredInventoryUpdateList requires 2 args'
|
|
|
417 |
sys.exit(1)
|
|
|
418 |
pp.pprint(client.deleteItemFromIgnoredInventoryUpdateList(eval(args[0]),eval(args[1]),))
|
|
|
419 |
|
|
|
420 |
elif cmd == 'getAllIgnoredInventoryupdateItemsCount':
|
|
|
421 |
if len(args) != 0:
|
|
|
422 |
print 'getAllIgnoredInventoryupdateItemsCount requires 0 args'
|
|
|
423 |
sys.exit(1)
|
|
|
424 |
pp.pprint(client.getAllIgnoredInventoryupdateItemsCount())
|
|
|
425 |
|
|
|
426 |
elif cmd == 'getIgnoredInventoryUpdateItemids':
|
|
|
427 |
if len(args) != 2:
|
|
|
428 |
print 'getIgnoredInventoryUpdateItemids requires 2 args'
|
|
|
429 |
sys.exit(1)
|
|
|
430 |
pp.pprint(client.getIgnoredInventoryUpdateItemids(eval(args[0]),eval(args[1]),))
|
|
|
431 |
|
| 7330 |
amit.gupta |
432 |
elif cmd == 'updateItemStockPurchaseParams':
|
|
|
433 |
if len(args) != 3:
|
|
|
434 |
print 'updateItemStockPurchaseParams requires 3 args'
|
|
|
435 |
sys.exit(1)
|
|
|
436 |
pp.pprint(client.updateItemStockPurchaseParams(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
437 |
|
|
|
438 |
elif cmd == 'getItemStockPurchaseParams':
|
|
|
439 |
if len(args) != 1:
|
|
|
440 |
print 'getItemStockPurchaseParams requires 1 args'
|
|
|
441 |
sys.exit(1)
|
|
|
442 |
pp.pprint(client.getItemStockPurchaseParams(eval(args[0]),))
|
|
|
443 |
|
|
|
444 |
elif cmd == 'addOosStatusForItem':
|
|
|
445 |
if len(args) != 2:
|
|
|
446 |
print 'addOosStatusForItem requires 2 args'
|
|
|
447 |
sys.exit(1)
|
|
|
448 |
pp.pprint(client.addOosStatusForItem(eval(args[0]),eval(args[1]),))
|
|
|
449 |
|
|
|
450 |
elif cmd == 'getOosStatusesForXDaysForItem':
|
| 9665 |
rajveer |
451 |
if len(args) != 3:
|
|
|
452 |
print 'getOosStatusesForXDaysForItem requires 3 args'
|
| 7330 |
amit.gupta |
453 |
sys.exit(1)
|
| 9665 |
rajveer |
454 |
pp.pprint(client.getOosStatusesForXDaysForItem(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| 7330 |
amit.gupta |
455 |
|
| 10450 |
vikram.rag |
456 |
elif cmd == 'getOosStatusesForXDays':
|
|
|
457 |
if len(args) != 2:
|
|
|
458 |
print 'getOosStatusesForXDays requires 2 args'
|
|
|
459 |
sys.exit(1)
|
|
|
460 |
pp.pprint(client.getOosStatusesForXDays(eval(args[0]),eval(args[1]),))
|
|
|
461 |
|
|
|
462 |
elif cmd == 'getAllVendorItemPricing':
|
|
|
463 |
if len(args) != 2:
|
|
|
464 |
print 'getAllVendorItemPricing requires 2 args'
|
|
|
465 |
sys.exit(1)
|
|
|
466 |
pp.pprint(client.getAllVendorItemPricing(eval(args[0]),eval(args[1]),))
|
|
|
467 |
|
| 7330 |
amit.gupta |
468 |
elif cmd == 'getNonZeroItemStockPurchaseParams':
|
|
|
469 |
if len(args) != 0:
|
|
|
470 |
print 'getNonZeroItemStockPurchaseParams requires 0 args'
|
|
|
471 |
sys.exit(1)
|
|
|
472 |
pp.pprint(client.getNonZeroItemStockPurchaseParams())
|
|
|
473 |
|
|
|
474 |
elif cmd == 'getBillableInventoryAndPendingOrders':
|
|
|
475 |
if len(args) != 0:
|
|
|
476 |
print 'getBillableInventoryAndPendingOrders requires 0 args'
|
|
|
477 |
sys.exit(1)
|
|
|
478 |
pp.pprint(client.getBillableInventoryAndPendingOrders())
|
|
|
479 |
|
|
|
480 |
elif cmd == 'getWarehouseName':
|
|
|
481 |
if len(args) != 1:
|
|
|
482 |
print 'getWarehouseName requires 1 args'
|
|
|
483 |
sys.exit(1)
|
|
|
484 |
pp.pprint(client.getWarehouseName(eval(args[0]),))
|
|
|
485 |
|
|
|
486 |
elif cmd == 'getAmazonInventoryForItem':
|
|
|
487 |
if len(args) != 1:
|
|
|
488 |
print 'getAmazonInventoryForItem requires 1 args'
|
|
|
489 |
sys.exit(1)
|
|
|
490 |
pp.pprint(client.getAmazonInventoryForItem(eval(args[0]),))
|
|
|
491 |
|
|
|
492 |
elif cmd == 'getAllAmazonInventory':
|
|
|
493 |
if len(args) != 0:
|
|
|
494 |
print 'getAllAmazonInventory requires 0 args'
|
|
|
495 |
sys.exit(1)
|
|
|
496 |
pp.pprint(client.getAllAmazonInventory())
|
|
|
497 |
|
|
|
498 |
elif cmd == 'addOrUpdateAmazonInventoryForItem':
|
| 10450 |
vikram.rag |
499 |
if len(args) != 2:
|
|
|
500 |
print 'addOrUpdateAmazonInventoryForItem requires 2 args'
|
| 7330 |
amit.gupta |
501 |
sys.exit(1)
|
| 10450 |
vikram.rag |
502 |
pp.pprint(client.addOrUpdateAmazonInventoryForItem(eval(args[0]),eval(args[1]),))
|
| 7330 |
amit.gupta |
503 |
|
| 8282 |
kshitij.so |
504 |
elif cmd == 'getLastNdaySaleForItem':
|
|
|
505 |
if len(args) != 2:
|
|
|
506 |
print 'getLastNdaySaleForItem requires 2 args'
|
|
|
507 |
sys.exit(1)
|
|
|
508 |
pp.pprint(client.getLastNdaySaleForItem(eval(args[0]),eval(args[1]),))
|
|
|
509 |
|
|
|
510 |
elif cmd == 'addOrUpdateAmazonFbaInventory':
|
|
|
511 |
if len(args) != 1:
|
|
|
512 |
print 'addOrUpdateAmazonFbaInventory requires 1 args'
|
|
|
513 |
sys.exit(1)
|
|
|
514 |
pp.pprint(client.addOrUpdateAmazonFbaInventory(eval(args[0]),))
|
|
|
515 |
|
|
|
516 |
elif cmd == 'addUpdateHoldInventory':
|
|
|
517 |
if len(args) != 4:
|
|
|
518 |
print 'addUpdateHoldInventory requires 4 args'
|
|
|
519 |
sys.exit(1)
|
|
|
520 |
pp.pprint(client.addUpdateHoldInventory(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
|
|
521 |
|
|
|
522 |
elif cmd == 'getAmazonFbaItemInventory':
|
|
|
523 |
if len(args) != 1:
|
|
|
524 |
print 'getAmazonFbaItemInventory requires 1 args'
|
|
|
525 |
sys.exit(1)
|
|
|
526 |
pp.pprint(client.getAmazonFbaItemInventory(eval(args[0]),))
|
|
|
527 |
|
| 8955 |
vikram.rag |
528 |
elif cmd == 'getAllAmazonFbaItemInventory':
|
| 8282 |
kshitij.so |
529 |
if len(args) != 0:
|
| 8955 |
vikram.rag |
530 |
print 'getAllAmazonFbaItemInventory requires 0 args'
|
| 8282 |
kshitij.so |
531 |
sys.exit(1)
|
| 8955 |
vikram.rag |
532 |
pp.pprint(client.getAllAmazonFbaItemInventory())
|
| 8282 |
kshitij.so |
533 |
|
| 8955 |
vikram.rag |
534 |
elif cmd == 'getOursGoodWarehouseIdsForLocation':
|
|
|
535 |
if len(args) != 1:
|
|
|
536 |
print 'getOursGoodWarehouseIdsForLocation requires 1 args'
|
|
|
537 |
sys.exit(1)
|
|
|
538 |
pp.pprint(client.getOursGoodWarehouseIdsForLocation(eval(args[0]),))
|
|
|
539 |
|
|
|
540 |
elif cmd == 'getHoldInventoryDetailForItemForWarehouseIdExceptSource':
|
|
|
541 |
if len(args) != 3:
|
|
|
542 |
print 'getHoldInventoryDetailForItemForWarehouseIdExceptSource requires 3 args'
|
|
|
543 |
sys.exit(1)
|
|
|
544 |
pp.pprint(client.getHoldInventoryDetailForItemForWarehouseIdExceptSource(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
545 |
|
| 9404 |
vikram.rag |
546 |
elif cmd == 'getSnapdealInventoryForItem':
|
|
|
547 |
if len(args) != 1:
|
|
|
548 |
print 'getSnapdealInventoryForItem requires 1 args'
|
|
|
549 |
sys.exit(1)
|
|
|
550 |
pp.pprint(client.getSnapdealInventoryForItem(eval(args[0]),))
|
|
|
551 |
|
|
|
552 |
elif cmd == 'addOrUpdateSnapdealInventoryForItem':
|
|
|
553 |
if len(args) != 1:
|
|
|
554 |
print 'addOrUpdateSnapdealInventoryForItem requires 1 args'
|
|
|
555 |
sys.exit(1)
|
|
|
556 |
pp.pprint(client.addOrUpdateSnapdealInventoryForItem(eval(args[0]),))
|
|
|
557 |
|
|
|
558 |
elif cmd == 'getNlcForWarehouse':
|
|
|
559 |
if len(args) != 2:
|
|
|
560 |
print 'getNlcForWarehouse requires 2 args'
|
|
|
561 |
sys.exit(1)
|
|
|
562 |
pp.pprint(client.getNlcForWarehouse(eval(args[0]),eval(args[1]),))
|
|
|
563 |
|
| 9665 |
rajveer |
564 |
elif cmd == 'getHeldInventoryMapForItem':
|
|
|
565 |
if len(args) != 2:
|
|
|
566 |
print 'getHeldInventoryMapForItem requires 2 args'
|
|
|
567 |
sys.exit(1)
|
|
|
568 |
pp.pprint(client.getHeldInventoryMapForItem(eval(args[0]),eval(args[1]),))
|
|
|
569 |
|
| 9482 |
vikram.rag |
570 |
elif cmd == 'addOrUpdateAllAmazonFbaInventory':
|
|
|
571 |
if len(args) != 1:
|
|
|
572 |
print 'addOrUpdateAllAmazonFbaInventory requires 1 args'
|
|
|
573 |
sys.exit(1)
|
|
|
574 |
pp.pprint(client.addOrUpdateAllAmazonFbaInventory(eval(args[0]),))
|
|
|
575 |
|
| 9495 |
vikram.rag |
576 |
elif cmd == 'addOrUpdateAllSnapdealInventory':
|
|
|
577 |
if len(args) != 1:
|
|
|
578 |
print 'addOrUpdateAllSnapdealInventory requires 1 args'
|
|
|
579 |
sys.exit(1)
|
|
|
580 |
pp.pprint(client.addOrUpdateAllSnapdealInventory(eval(args[0]),))
|
|
|
581 |
|
|
|
582 |
elif cmd == 'getSnapdealInventorySnapshot':
|
|
|
583 |
if len(args) != 0:
|
|
|
584 |
print 'getSnapdealInventorySnapshot requires 0 args'
|
|
|
585 |
sys.exit(1)
|
|
|
586 |
pp.pprint(client.getSnapdealInventorySnapshot())
|
|
|
587 |
|
| 10050 |
vikram.rag |
588 |
elif cmd == 'getHoldInventoryDetails':
|
|
|
589 |
if len(args) != 3:
|
|
|
590 |
print 'getHoldInventoryDetails requires 3 args'
|
|
|
591 |
sys.exit(1)
|
|
|
592 |
pp.pprint(client.getHoldInventoryDetails(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
593 |
|
|
|
594 |
elif cmd == 'addOrUpdateFlipkartInventorySnapshot':
|
| 10450 |
vikram.rag |
595 |
if len(args) != 2:
|
|
|
596 |
print 'addOrUpdateFlipkartInventorySnapshot requires 2 args'
|
| 10050 |
vikram.rag |
597 |
sys.exit(1)
|
| 10450 |
vikram.rag |
598 |
pp.pprint(client.addOrUpdateFlipkartInventorySnapshot(eval(args[0]),eval(args[1]),))
|
| 10050 |
vikram.rag |
599 |
|
|
|
600 |
elif cmd == 'getFlipkartInventorySnapshot':
|
|
|
601 |
if len(args) != 0:
|
|
|
602 |
print 'getFlipkartInventorySnapshot requires 0 args'
|
|
|
603 |
sys.exit(1)
|
|
|
604 |
pp.pprint(client.getFlipkartInventorySnapshot())
|
|
|
605 |
|
| 10450 |
vikram.rag |
606 |
elif cmd == 'getFlipkartlInventoryForItem':
|
|
|
607 |
if len(args) != 1:
|
|
|
608 |
print 'getFlipkartlInventoryForItem requires 1 args'
|
|
|
609 |
sys.exit(1)
|
|
|
610 |
pp.pprint(client.getFlipkartlInventoryForItem(eval(args[0]),))
|
|
|
611 |
|
| 10485 |
vikram.rag |
612 |
elif cmd == 'getStateMaster':
|
|
|
613 |
if len(args) != 0:
|
|
|
614 |
print 'getStateMaster requires 0 args'
|
|
|
615 |
sys.exit(1)
|
|
|
616 |
pp.pprint(client.getStateMaster())
|
|
|
617 |
|
| 10544 |
vikram.rag |
618 |
elif cmd == 'updateSnapdealStockAtEOD':
|
|
|
619 |
if len(args) != 1:
|
|
|
620 |
print 'updateSnapdealStockAtEOD requires 1 args'
|
|
|
621 |
sys.exit(1)
|
|
|
622 |
pp.pprint(client.updateSnapdealStockAtEOD(eval(args[0]),))
|
|
|
623 |
|
|
|
624 |
elif cmd == 'updateFlipkartStockAtEOD':
|
|
|
625 |
if len(args) != 1:
|
|
|
626 |
print 'updateFlipkartStockAtEOD requires 1 args'
|
|
|
627 |
sys.exit(1)
|
|
|
628 |
pp.pprint(client.updateFlipkartStockAtEOD(eval(args[0]),))
|
|
|
629 |
|
| 12784 |
manish.sha |
630 |
elif cmd == 'getWanNlcForSource':
|
|
|
631 |
if len(args) != 2:
|
|
|
632 |
print 'getWanNlcForSource requires 2 args'
|
|
|
633 |
sys.exit(1)
|
|
|
634 |
pp.pprint(client.getWanNlcForSource(eval(args[0]),eval(args[1]),))
|
|
|
635 |
|
|
|
636 |
elif cmd == 'getAllAvailableAmazonFbaItemInventory':
|
|
|
637 |
if len(args) != 0:
|
|
|
638 |
print 'getAllAvailableAmazonFbaItemInventory requires 0 args'
|
|
|
639 |
sys.exit(1)
|
|
|
640 |
pp.pprint(client.getAllAvailableAmazonFbaItemInventory())
|
|
|
641 |
|
| 19413 |
amit.gupta |
642 |
elif cmd == 'updateItemAvailabilityForItemIds':
|
|
|
643 |
if len(args) != 1:
|
|
|
644 |
print 'updateItemAvailabilityForItemIds requires 1 args'
|
|
|
645 |
sys.exit(1)
|
|
|
646 |
pp.pprint(client.updateItemAvailabilityForItemIds(eval(args[0]),))
|
|
|
647 |
|
|
|
648 |
elif cmd == 'addVendorItemPricingInBulk':
|
|
|
649 |
if len(args) != 1:
|
|
|
650 |
print 'addVendorItemPricingInBulk requires 1 args'
|
|
|
651 |
sys.exit(1)
|
|
|
652 |
pp.pprint(client.addVendorItemPricingInBulk(eval(args[0]),))
|
|
|
653 |
|
|
|
654 |
elif cmd == 'addInventoryInBulk':
|
|
|
655 |
if len(args) != 1:
|
|
|
656 |
print 'addInventoryInBulk requires 1 args'
|
|
|
657 |
sys.exit(1)
|
|
|
658 |
pp.pprint(client.addInventoryInBulk(eval(args[0]),))
|
|
|
659 |
|
| 22717 |
amit.gupta |
660 |
elif cmd == 'getFofoAvailability':
|
|
|
661 |
if len(args) != 1:
|
|
|
662 |
print 'getFofoAvailability requires 1 args'
|
|
|
663 |
sys.exit(1)
|
|
|
664 |
pp.pprint(client.getFofoAvailability(eval(args[0]),))
|
|
|
665 |
|
| 22721 |
amit.gupta |
666 |
elif cmd == 'getFofoFulFillmentWarehouseMap':
|
|
|
667 |
if len(args) != 1:
|
|
|
668 |
print 'getFofoFulFillmentWarehouseMap requires 1 args'
|
|
|
669 |
sys.exit(1)
|
|
|
670 |
pp.pprint(client.getFofoFulFillmentWarehouseMap(eval(args[0]),))
|
|
|
671 |
|
| 19413 |
amit.gupta |
672 |
elif cmd == 'getItemLocationAvailabilityCache':
|
|
|
673 |
if len(args) != 1:
|
|
|
674 |
print 'getItemLocationAvailabilityCache requires 1 args'
|
|
|
675 |
sys.exit(1)
|
|
|
676 |
pp.pprint(client.getItemLocationAvailabilityCache(eval(args[0]),))
|
|
|
677 |
|
|
|
678 |
elif cmd == 'getItemLocationAvailabilityCacheByItemId':
|
|
|
679 |
if len(args) != 1:
|
|
|
680 |
print 'getItemLocationAvailabilityCacheByItemId requires 1 args'
|
|
|
681 |
sys.exit(1)
|
|
|
682 |
pp.pprint(client.getItemLocationAvailabilityCacheByItemId(eval(args[0]),))
|
|
|
683 |
|
|
|
684 |
elif cmd == 'getItemPincodeAvailability':
|
|
|
685 |
if len(args) != 2:
|
|
|
686 |
print 'getItemPincodeAvailability requires 2 args'
|
|
|
687 |
sys.exit(1)
|
|
|
688 |
pp.pprint(client.getItemPincodeAvailability(eval(args[0]),args[1],))
|
|
|
689 |
|
| 5944 |
mandeep.dh |
690 |
else:
|
|
|
691 |
print 'Unrecognized method %s' % cmd
|
|
|
692 |
sys.exit(1)
|
|
|
693 |
|
|
|
694 |
transport.close()
|