queue-local 0.0.52__tar.gz → 0.0.54__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.52
3
+ Version: 0.0.54
4
4
  Home-page: https://github.com/circles-zone/queue-local-python-package
5
5
  Author: Circles
6
6
  Author-email: info@circles.life
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [tool.poetry]
8
8
  name = "queue-local"
9
- version = "0.0.1" # https://pypi.org/project/queue-local
9
+ version = "0.0.2" # https://pypi.org/project/queue-local
10
10
  description = "queue-local Python Package"
11
11
  readme = "README.md"
12
12
  authors = [
@@ -65,6 +65,7 @@ class DatabaseQueue(OurQueue, GenericCRUD, metaclass=MetaLogger, object=queue_lo
65
65
  is_test_data=is_test_data)
66
66
  self.user_context = UserContext()
67
67
 
68
+ # TODO queue_data_dict
68
69
  def push(self, data_dict: dict) -> int:
69
70
  """Pushes a new entry to the queue and returns the new queue id.
70
71
  data_dict consists of columns and values to insert into the queue table."""
@@ -72,6 +73,7 @@ class DatabaseQueue(OurQueue, GenericCRUD, metaclass=MetaLogger, object=queue_lo
72
73
 
73
74
  self._fix_parameters_json(data_dict)
74
75
 
76
+ # TODO data_dict -> queue_dict
75
77
  data_dict["queue_status_id"] = QueueStatusEnum.NEW.value
76
78
  data_dict["created_user_id"] = created_user_id
77
79
 
@@ -82,6 +84,7 @@ class DatabaseQueue(OurQueue, GenericCRUD, metaclass=MetaLogger, object=queue_lo
82
84
  push_result = column_value
83
85
  else:
84
86
  push_result = self.insert(data_dict=data_dict)
87
+ # TODO What we return? queue_id, message_id ...? Can we give it more meaningful name?
85
88
  return push_result
86
89
  # TODO Can we do this everywhere? [I will make it auto in the meta logger]
87
90
  # TODO logger.end("...", {'push_result': push_result} )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: queue-local
3
- Version: 0.0.52
3
+ Version: 0.0.54
4
4
  Home-page: https://github.com/circles-zone/queue-local-python-package
5
5
  Author: Circles
6
6
  Author-email: info@circles.life
@@ -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-local
8
- version='0.0.52',
8
+ version='0.0.54',
9
9
  author="Circles",
10
10
  author_email="info@circles.life",
11
11
  url=f"https://github.com/circles-zone/{PACKAGE_NAME}-python-package",
File without changes
File without changes