queue-local 0.0.27__tar.gz → 0.0.28__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: queue-local
3
- Version: 0.0.27
3
+ Version: 0.0.28
4
4
  Home-page: https://github.com/circles-zone/queue-local-python-package
5
5
  Author: Circles
6
6
  Author-email: info@circles.life
@@ -101,9 +101,10 @@ class DatabaseQueue(OurQueue, GenericCRUD):
101
101
  if queue_item:
102
102
  # Update the selected queue item
103
103
  query = f"UPDATE {self.default_table_name} " \
104
- f"SET queue_status_id = %s, updated_user_id = %s, start_timestamp = NOW() " \
104
+ f"SET queue_status_id = %s, updated_user_id = %s, user_jwt=%s, start_timestamp = NOW() " \
105
105
  f"WHERE {self.id_column_name} = %s"
106
- params = (StatusEnum.RETRIEVED.value, updated_user_id, queue_item[self.id_column_name])
106
+ params = (StatusEnum.RETRIEVED.value, updated_user_id, self.user.get_user_JWT(),
107
+ queue_item[self.id_column_name])
107
108
  self.cursor.execute(query, params)
108
109
  self.logger.end("Entry retrieved and updated from the queue database successfully",
109
110
  object={k: str(v) for k, v in queue_item.items()}) # contains a datetime object
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: queue-local
3
- Version: 0.0.27
3
+ Version: 0.0.28
4
4
  Home-page: https://github.com/circles-zone/queue-local-python-package
5
5
  Author: Circles
6
6
  Author-email: info@circles.life
@@ -8,7 +8,7 @@ with open('README.md') as f:
8
8
 
9
9
  setuptools.setup(
10
10
  name=PACKAGE_NAME, # https://pypi.org/project/queue-local
11
- version='0.0.27',
11
+ version='0.0.28',
12
12
  author="Circles",
13
13
  author_email="info@circles.life",
14
14
  url=f"https://github.com/circles-zone/{PACKAGE_NAME}-python-package",
File without changes
File without changes