channel-app 0.0.157a14__py3-none-any.whl → 0.0.157a16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- channel_app/reports/services.py +2 -4
- {channel_app-0.0.157a14.dist-info → channel_app-0.0.157a16.dist-info}/METADATA +1 -1
- {channel_app-0.0.157a14.dist-info → channel_app-0.0.157a16.dist-info}/RECORD +5 -5
- {channel_app-0.0.157a14.dist-info → channel_app-0.0.157a16.dist-info}/WHEEL +0 -0
- {channel_app-0.0.157a14.dist-info → channel_app-0.0.157a16.dist-info}/top_level.txt +0 -0
channel_app/reports/services.py
CHANGED
@@ -249,7 +249,7 @@ class DashboardService:
|
|
249
249
|
log_service.save()
|
250
250
|
|
251
251
|
@staticmethod
|
252
|
-
def get_product_stocks_from_catalog() -> List[ProductStock]:
|
252
|
+
def get_product_stocks_from_catalog(products: List[Product]) -> List[ProductStock]:
|
253
253
|
"""
|
254
254
|
Get product stocks from catalog.
|
255
255
|
"""
|
@@ -265,9 +265,7 @@ class DashboardService:
|
|
265
265
|
with log_service.step("get_product_stocks_from_catalog"):
|
266
266
|
stocks = omnitron_integration.do_action(
|
267
267
|
key="get_product_stocks",
|
268
|
-
objects=
|
269
|
-
"limit": 9999,
|
270
|
-
},
|
268
|
+
objects=products,
|
271
269
|
)
|
272
270
|
|
273
271
|
return stocks
|
@@ -72,8 +72,8 @@ channel_app/omnitron/commands/tests/test_product_prices.py,sha256=5HPX9PmjGw6gk3
|
|
72
72
|
channel_app/omnitron/commands/tests/test_product_stocks.py,sha256=q4RGlrCNUUJyN5CBL1fzrvdd4Q3xt816mbMRQT0XEd0,3496
|
73
73
|
channel_app/omnitron/commands/tests/test_products.py,sha256=uj5KLaubY3XNu0hidOH-u-Djfboe81Hj7-lP--01Le0,103494
|
74
74
|
channel_app/reports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
75
|
-
channel_app/reports/services.py,sha256=
|
76
|
-
channel_app-0.0.
|
77
|
-
channel_app-0.0.
|
78
|
-
channel_app-0.0.
|
79
|
-
channel_app-0.0.
|
75
|
+
channel_app/reports/services.py,sha256=WhObD_4oASZpQxEFqnh_Me5Mib_KQB-R9kPXMoFLnrM,10938
|
76
|
+
channel_app-0.0.157a16.dist-info/METADATA,sha256=42wsUgBgA6gRtCvaJVMaiVifB5N5Q7QVQolQqrRGGkc,442
|
77
|
+
channel_app-0.0.157a16.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
78
|
+
channel_app-0.0.157a16.dist-info/top_level.txt,sha256=JT-gM6L5Cwxr1xEoN7NHrREDs-d6iGFGfRnK-NrJ3tU,12
|
79
|
+
channel_app-0.0.157a16.dist-info/RECORD,,
|
File without changes
|
File without changes
|