Skip to content

Commit

Permalink
Merge pull request #11 from digitalfortress-dev/feat/allow-to-get-que…
Browse files Browse the repository at this point in the history
…ue-name-of-task

feat: allow to get queue name of task
  • Loading branch information
haihuynhDF authored May 6, 2024
2 parents 95a2090 + 3e302c4 commit 97800cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sqs-client"
version = "0.1.4"
version = "0.1.5"
authors = [
{name="Digital Fortress", email="[email protected]" },
]
Expand Down
8 changes: 8 additions & 0 deletions sqs_client/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ def get_id(self):
"""
return self._id

def get_queue_name(self):
"""
This function retrieves the queue name of task
Returns:
The queue name of task.
"""
return self._queue_name

def _get_message_processing(self):
"""
This function retrieves the message processing for the task
Expand Down

0 comments on commit 97800cb

Please sign in to comment.