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.
- {queue-local-0.0.27 → queue-local-0.0.28}/PKG-INFO +1 -1
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local/src/database_queue.py +3 -2
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local.egg-info/PKG-INFO +1 -1
- {queue-local-0.0.27 → queue-local-0.0.28}/setup.py +1 -1
- {queue-local-0.0.27 → queue-local-0.0.28}/README.md +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/pyproject.toml +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local/src/__init__.py +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local/src/our_queue.py +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local.egg-info/SOURCES.txt +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local.egg-info/dependency_links.txt +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local.egg-info/requires.txt +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/queue_local.egg-info/top_level.txt +0 -0
- {queue-local-0.0.27 → queue-local-0.0.28}/setup.cfg +0 -0
|
@@ -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,
|
|
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
|
|
@@ -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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|