tgshops-integrations 2.2__py3-none-any.whl → 2.4__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.
- tgshops_integrations/nocodb_connector/categories.py +3 -3
- tgshops_integrations/nocodb_connector/products.py +1 -1
- {tgshops_integrations-2.2.dist-info → tgshops_integrations-2.4.dist-info}/METADATA +1 -1
- {tgshops_integrations-2.2.dist-info → tgshops_integrations-2.4.dist-info}/RECORD +6 -6
- {tgshops_integrations-2.2.dist-info → tgshops_integrations-2.4.dist-info}/WHEEL +0 -0
- {tgshops_integrations-2.2.dist-info → tgshops_integrations-2.4.dist-info}/top_level.txt +0 -0
@@ -125,9 +125,9 @@ class CategoryManager(NocodbClient):
|
|
125
125
|
new_category= await self.create_product_category(table_id=self.categories_table,category_name=category,category_id=new_id,table_name=PRODUCT_NAME_FIELD)
|
126
126
|
if self.logging:
|
127
127
|
logger.info(f"New Category {new_category}")
|
128
|
-
|
129
|
-
|
130
|
-
|
128
|
+
if self.filter_buttons:
|
129
|
+
#Rewind categories
|
130
|
+
await self.link_categories(parent_id=parent_id,child_id=new_id)
|
131
131
|
new_id+=1
|
132
132
|
|
133
133
|
async def link_categories(self,parent_id:int,child_id:int):
|
@@ -160,7 +160,7 @@ class ProductManager(NocodbClient):
|
|
160
160
|
|
161
161
|
#TODO Requires Validation
|
162
162
|
for attribute_name in system_attributes:
|
163
|
-
if
|
163
|
+
if attribute_name.lower() not in self.columns:
|
164
164
|
response =await self.create_table_column(table_name=self.products_table,name=attribute_name)
|
165
165
|
logger.info(f"Created attribute: {attribute_name}")
|
166
166
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tgshops-integrations
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.4
|
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
|
@@ -5,12 +5,12 @@ tgshops_integrations/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
5
5
|
tgshops_integrations/models/categories.py,sha256=EG6C8g5dOfXB2MH-vtqH13aqB7_VyOobY2FHpDb-fsY,977
|
6
6
|
tgshops_integrations/models/products.py,sha256=i0vP_eJMVCB-W25BCoodIB0AhsMTqYiDO48N-B6Ueo0,1379
|
7
7
|
tgshops_integrations/nocodb_connector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
tgshops_integrations/nocodb_connector/categories.py,sha256=
|
8
|
+
tgshops_integrations/nocodb_connector/categories.py,sha256=eoAWRA0aSE84_ONrwflM1ZFXLSCFjYl_CFqUf7lA_EU,9063
|
9
9
|
tgshops_integrations/nocodb_connector/client.py,sha256=RD8UDS4AXrN1GFmjakZsdTGbP_u2bsoxfopq7UV6MT0,11725
|
10
10
|
tgshops_integrations/nocodb_connector/model_mapping.py,sha256=nsul7OjUHgGhpV-iwwaAvb9SnBlwj4evHDcXSd-v1zk,8919
|
11
|
-
tgshops_integrations/nocodb_connector/products.py,sha256=
|
11
|
+
tgshops_integrations/nocodb_connector/products.py,sha256=kAp7lUaRO7CkU_SumbIdLOJf38SmDBEyBBZCYyyyOFM,9313
|
12
12
|
tgshops_integrations/nocodb_connector/tables.py,sha256=ha_QXZXd93mht0fR5E1nM0wUpz1ePon-pIdO2HI67l8,356
|
13
|
-
tgshops_integrations-2.
|
14
|
-
tgshops_integrations-2.
|
15
|
-
tgshops_integrations-2.
|
16
|
-
tgshops_integrations-2.
|
13
|
+
tgshops_integrations-2.4.dist-info/METADATA,sha256=aDJyso77_TGjthlxfi-BIduQkt1643LBK9fTB0KWCIg,2774
|
14
|
+
tgshops_integrations-2.4.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
15
|
+
tgshops_integrations-2.4.dist-info/top_level.txt,sha256=HFNtxqDpzmlF4ZLnMiwhbU7pOa_YozxU2zBl0bnUmcY,21
|
16
|
+
tgshops_integrations-2.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|