| Line 46... |
Line 46... |
| 46 |
get_flipkart_inventory_for_Item, get_oos_statuses_for_x_days, \
|
46 |
get_flipkart_inventory_for_Item, get_oos_statuses_for_x_days, \
|
| 47 |
get_all_vendor_item_pricing, get_state_master, update_snapdeal_stock_at_eod, \
|
47 |
get_all_vendor_item_pricing, get_state_master, update_snapdeal_stock_at_eod, \
|
| 48 |
update_flipkart_stock_at_eod, get_wanlc_for_source, \
|
48 |
update_flipkart_stock_at_eod, get_wanlc_for_source, \
|
| 49 |
get_all_available_amazon_inventory, _task_update_item_availability_cache, \
|
49 |
get_all_available_amazon_inventory, _task_update_item_availability_cache, \
|
| 50 |
add_vendor_item_pricing_in_bulk, add_inventory_in_bulk, \
|
50 |
add_vendor_item_pricing_in_bulk, add_inventory_in_bulk, \
|
| 51 |
get_item_pincode_availability, get_fofo_availability
|
51 |
get_item_pincode_availability, get_fofo_availability, \
|
| - |
|
52 |
get_fofo_fulfilment_warehouse_map
|
| 52 |
from shop2020.model.v1.inventory.impl.DataService import Warehouse, \
|
53 |
from shop2020.model.v1.inventory.impl.DataService import Warehouse, \
|
| 53 |
MissedInventoryUpdate, VendorItemMapping
|
54 |
MissedInventoryUpdate, VendorItemMapping
|
| 54 |
from shop2020.thriftpy.model.v1.inventory.ttypes import \
|
55 |
from shop2020.thriftpy.model.v1.inventory.ttypes import \
|
| 55 |
InventoryServiceException, WarehouseType, InventoryType, \
|
56 |
InventoryServiceException, WarehouseType, InventoryType, \
|
| 56 |
AvailableAndReservedStock
|
57 |
AvailableAndReservedStock
|
| Line 989... |
Line 990... |
| 989 |
|
990 |
|
| 990 |
def getFofoAvailability(self, itemIds):
|
991 |
def getFofoAvailability(self, itemIds):
|
| 991 |
try:
|
992 |
try:
|
| 992 |
return get_fofo_availability(itemIds)
|
993 |
return get_fofo_availability(itemIds)
|
| 993 |
finally:
|
994 |
finally:
|
| - |
|
995 |
close_session()
|
| - |
|
996 |
|
| - |
|
997 |
def getFofoFulFillmentWarehouseMap(self, itemIds):
|
| - |
|
998 |
try:
|
| - |
|
999 |
return get_fofo_fulfilment_warehouse_map(itemIds)
|
| - |
|
1000 |
finally:
|
| 994 |
close_session()
|
1001 |
close_session()
|
| 995 |
|
1002 |
|