queue-worker-local 0.0.58__tar.gz → 0.0.59b4832__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_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/PKG-INFO +1 -1
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/README.md +3 -0
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/pyproject.toml +1 -1
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local/src/queue_worker.py +4 -4
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local.egg-info/PKG-INFO +1 -1
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/setup.py +1 -1
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local/src/__init__.py +0 -0
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local.egg-info/SOURCES.txt +0 -0
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local.egg-info/dependency_links.txt +0 -0
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local.egg-info/requires.txt +0 -0
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local.egg-info/top_level.txt +0 -0
- {queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/setup.cfg +0 -0
|
@@ -5,6 +5,9 @@ It allows you to control the delay between task executions and choose which acti
|
|
|
5
5
|
|
|
6
6
|
This README provides instructions on how to use the Queue Worker.
|
|
7
7
|
|
|
8
|
+
## TODOs
|
|
9
|
+
TODO add recommendations to the queue and have a queue worker that process those recommendation using API to get x recommendations and those need moderation reply if approved or to delete. while each item in the queue can update tables in the database.
|
|
10
|
+
|
|
8
11
|
## Preparation Steps
|
|
9
12
|
|
|
10
13
|
- Ensure the desired action is listed in the `action_table` within the `action` database.
|
|
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
|
|
|
11
11
|
# TODO: Please update the name, similar to storage-local (suffix -local)
|
|
12
12
|
name = "queue-worker-local"
|
|
13
13
|
# I believe we are still using the version from setup.py and not from here until potery will work
|
|
14
|
-
version = "0.0.
|
|
14
|
+
version = "0.0.59b4832" # https://pypi.org/project/queue-worker-local
|
|
15
15
|
description = "queue-worker-local Python Package"
|
|
16
16
|
readme = "README.md"
|
|
17
17
|
authors = [
|
{queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local/src/queue_worker.py
RENAMED
|
@@ -13,8 +13,8 @@ from python_sdk_local.utilities import get_ip_v4, get_ip_v6
|
|
|
13
13
|
from database_infrastructure_local.number_generator import NumberGenerator
|
|
14
14
|
from database_mysql_local.utils import get_table_columns
|
|
15
15
|
from logger_local.LoggerComponentEnum import LoggerComponentEnum
|
|
16
|
-
from logger_local
|
|
17
|
-
from logger_local
|
|
16
|
+
from logger_local import MetaLogger
|
|
17
|
+
from logger_local import Logger
|
|
18
18
|
from queue_local.database_queue import DatabaseQueue
|
|
19
19
|
from user_context_remote.user_context import UserContext
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ DEVELOPER_EMAIL = 'akiva.s@circ.zone'
|
|
|
24
24
|
logger_object = {'component_id': QUEUE_WORKER_COMPONENT_ID,
|
|
25
25
|
'component_name': QUEUE_WORKER_COMPONENT_NAME,
|
|
26
26
|
'component_category': LoggerComponentEnum.ComponentCategory.Code.value,
|
|
27
|
-
'
|
|
27
|
+
'developer_email_address': DEVELOPER_EMAIL}
|
|
28
28
|
|
|
29
29
|
SESSION_LENGTH = 32
|
|
30
30
|
DELIMITER = "returned_value: "
|
|
@@ -423,7 +423,7 @@ def main():
|
|
|
423
423
|
process.terminate()
|
|
424
424
|
print("Processes terminated.")
|
|
425
425
|
except Exception as e:
|
|
426
|
-
print(f"An error occurred: {e}")
|
|
426
|
+
print(f"An error occurred: e={e}")
|
|
427
427
|
for process in processes:
|
|
428
428
|
process.terminate()
|
|
429
429
|
print("Processes terminated due to error.")
|
|
@@ -5,7 +5,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name=PACKAGE_NAME, # https://pypi.org/project/queue-worker-local#history
|
|
8
|
-
version='0.0.
|
|
8
|
+
version='0.0.59b4832',
|
|
9
9
|
author="Circles",
|
|
10
10
|
author_email="info@circlez.ai",
|
|
11
11
|
url=f"https://github.com/circles-zone/{PACKAGE_NAME}-python-package",
|
{queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local/src/__init__.py
RENAMED
|
File without changes
|
{queue_worker_local-0.0.58 → queue_worker_local-0.0.59b4832}/queue_worker_local.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|