tgshops-integrations 1.6__tar.gz → 1.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/PKG-INFO +1 -1
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/setup.py +1 -1
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/nocodb_connector/client.py +4 -2
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/PKG-INFO +1 -1
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/README.md +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/setup.cfg +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/__init__.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/middlewares/__init__.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/middlewares/gateway.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/models/__init__.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/models/categories.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/models/products.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/nocodb_connector/__init__.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/nocodb_connector/categories.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/nocodb_connector/model_mapping.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/nocodb_connector/products.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/nocodb_connector/tables.py +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/SOURCES.txt +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/dependency_links.txt +0 -0
- {tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tgshops_integrations
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.7
|
4
4
|
Summary: Library is intended to provide the integration of the external service or CRM system with the TelegramShops/It allows to configure the relationship between NocoDB list of the products used further to display in the shop/As a resultss the products can be synchronized and updated uppon the request.
|
5
5
|
Home-page: https://git.the-devs.com/virtual-shops/shop-system/shop-backend-integrations/integration-library/integration-library
|
6
6
|
Author: Dimi Latoff
|
@@ -269,10 +269,12 @@ class NocodbClient:
|
|
269
269
|
if file_size:
|
270
270
|
files = {'file': (image_name, file, 'image/jpeg')}
|
271
271
|
url = f"{self.NOCODB_HOST.replace('/api/v2', '/api/v1')}/db/storage/upload?path=noco/{source_column_id}/{product_table_name}/{images_column_id}"
|
272
|
-
timeout = httpx.Timeout(
|
272
|
+
timeout = httpx.Timeout(200.0)
|
273
273
|
response = await self.httpx_client.post(url,files=files,headers=self.httpx_client.headers,timeout=timeout)
|
274
274
|
if response.status_code == 200:
|
275
275
|
return response.json()[0]['url']
|
276
|
-
|
276
|
+
else:
|
277
|
+
logger.info(f"Error with posting image {image_name}, skipping it.")
|
278
|
+
return ""
|
277
279
|
else:
|
278
280
|
return ""
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tgshops-integrations
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.7
|
4
4
|
Summary: Library is intended to provide the integration of the external service or CRM system with the TelegramShops/It allows to configure the relationship between NocoDB list of the products used further to display in the shop/As a resultss the products can be synchronized and updated uppon the request.
|
5
5
|
Home-page: https://git.the-devs.com/virtual-shops/shop-system/shop-backend-integrations/integration-library/integration-library
|
6
6
|
Author: Dimi Latoff
|
File without changes
|
File without changes
|
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/middlewares/__init__.py
RENAMED
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/middlewares/gateway.py
RENAMED
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/models/__init__.py
RENAMED
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/models/categories.py
RENAMED
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations/models/products.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{tgshops_integrations-1.6 → tgshops_integrations-1.7}/tgshops_integrations.egg-info/top_level.txt
RENAMED
File without changes
|