localstack-core 4.13.2.dev108__py3-none-any.whl → 4.13.2.dev109__py3-none-any.whl
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.
- localstack/services/sqs/provider.py +17 -19
- localstack/version.py +2 -2
- {localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/METADATA +1 -1
- {localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/RECORD +9 -9
- {localstack_core-4.13.2.dev108.data → localstack_core-4.13.2.dev109.data}/scripts/localstack-supervisor +0 -0
- {localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/WHEEL +0 -0
- {localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/entry_points.txt +0 -0
- {localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/licenses/LICENSE.txt +0 -0
- {localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/top_level.txt +0 -0
|
@@ -813,7 +813,7 @@ class SqsProvider(SqsApi, ServiceLifecycleHook):
|
|
|
813
813
|
queue_name, context.region, context.account_id, attributes, tags
|
|
814
814
|
)
|
|
815
815
|
if tags:
|
|
816
|
-
self._tag_queue(
|
|
816
|
+
self._tag_queue(queue, tags)
|
|
817
817
|
|
|
818
818
|
LOG.debug("creating queue key=%s attributes=%s tags=%s", queue_name, attributes, tags)
|
|
819
819
|
|
|
@@ -940,7 +940,7 @@ class SqsProvider(SqsApi, ServiceLifecycleHook):
|
|
|
940
940
|
store.queues[queue.name].shutdown()
|
|
941
941
|
del store.queues[queue.name]
|
|
942
942
|
store.deleted[queue.name] = time.time()
|
|
943
|
-
self._remove_all_queue_tags(
|
|
943
|
+
self._remove_all_queue_tags(queue)
|
|
944
944
|
|
|
945
945
|
def get_queue_attributes(
|
|
946
946
|
self,
|
|
@@ -1492,20 +1492,20 @@ class SqsProvider(SqsApi, ServiceLifecycleHook):
|
|
|
1492
1492
|
return
|
|
1493
1493
|
|
|
1494
1494
|
queue = self._resolve_queue(context, queue_url=queue_url)
|
|
1495
|
-
self._tag_queue(
|
|
1495
|
+
self._tag_queue(queue, tags)
|
|
1496
1496
|
|
|
1497
1497
|
def list_queue_tags(
|
|
1498
1498
|
self, context: RequestContext, queue_url: String, **kwargs
|
|
1499
1499
|
) -> ListQueueTagsResult:
|
|
1500
1500
|
queue = self._resolve_queue(context, queue_url=queue_url)
|
|
1501
|
-
tags = self._get_queue_tags(
|
|
1501
|
+
tags = self._get_queue_tags(queue)
|
|
1502
1502
|
return ListQueueTagsResult(Tags=tags if tags else None)
|
|
1503
1503
|
|
|
1504
1504
|
def untag_queue(
|
|
1505
1505
|
self, context: RequestContext, queue_url: String, tag_keys: TagKeyList, **kwargs
|
|
1506
1506
|
) -> None:
|
|
1507
1507
|
queue = self._resolve_queue(context, queue_url=queue_url)
|
|
1508
|
-
self._untag_queue(
|
|
1508
|
+
self._untag_queue(queue, tag_keys)
|
|
1509
1509
|
|
|
1510
1510
|
def add_permission(
|
|
1511
1511
|
self,
|
|
@@ -1643,23 +1643,21 @@ class SqsProvider(SqsApi, ServiceLifecycleHook):
|
|
|
1643
1643
|
self._cloudwatch_publish_worker.stop()
|
|
1644
1644
|
self._cloudwatch_dispatcher.shutdown()
|
|
1645
1645
|
|
|
1646
|
-
def _get_queue_tags(self,
|
|
1647
|
-
store = self.get_store(account_id, region)
|
|
1648
|
-
return store.tags.get_tags(
|
|
1646
|
+
def _get_queue_tags(self, queue: SqsQueue) -> TagMap:
|
|
1647
|
+
store = self.get_store(queue.account_id, queue.region)
|
|
1648
|
+
return store.tags.get_tags(queue.arn)
|
|
1649
1649
|
|
|
1650
|
-
def _tag_queue(self,
|
|
1651
|
-
store = self.get_store(account_id, region)
|
|
1652
|
-
store.tags.update_tags(
|
|
1650
|
+
def _tag_queue(self, queue: SqsQueue, tags: TagMap) -> None:
|
|
1651
|
+
store = self.get_store(queue.account_id, queue.region)
|
|
1652
|
+
store.tags.update_tags(queue.arn, tags)
|
|
1653
1653
|
|
|
1654
|
-
def _untag_queue(
|
|
1655
|
-
self
|
|
1656
|
-
|
|
1657
|
-
store = self.get_store(account_id, region)
|
|
1658
|
-
store.tags.delete_tags(resource_arn, tag_keys)
|
|
1654
|
+
def _untag_queue(self, queue: SqsQueue, tag_keys: TagKeyList) -> None:
|
|
1655
|
+
store = self.get_store(queue.account_id, queue.region)
|
|
1656
|
+
store.tags.delete_tags(queue.arn, tag_keys)
|
|
1659
1657
|
|
|
1660
|
-
def _remove_all_queue_tags(self,
|
|
1661
|
-
store = self.get_store(account_id, region)
|
|
1662
|
-
store.tags.delete_all_tags(
|
|
1658
|
+
def _remove_all_queue_tags(self, queue: SqsQueue) -> None:
|
|
1659
|
+
store = self.get_store(queue.account_id, queue.region)
|
|
1660
|
+
store.tags.delete_all_tags(queue.arn)
|
|
1663
1661
|
|
|
1664
1662
|
|
|
1665
1663
|
def resolve_queue_location(
|
localstack/version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '4.13.2.
|
|
32
|
-
__version_tuple__ = version_tuple = (4, 13, 2, '
|
|
31
|
+
__version__ = version = '4.13.2.dev109'
|
|
32
|
+
__version_tuple__ = version_tuple = (4, 13, 2, 'dev109')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -4,7 +4,7 @@ localstack/deprecations.py,sha256=g0E-_q3apmHlOET2Gg5_biUtN2b4XygnI5aeeaZm6ZY,15
|
|
|
4
4
|
localstack/openapi.yaml,sha256=jFUzv-NKkJttxb8HRrmKiNYOmJD-zVfPxG3DDMrRwfg,30865
|
|
5
5
|
localstack/plugins.py,sha256=BIJC9dlo0WbP7lLKkCiGtd_2q5oeqiHZohvoRTcejXM,2457
|
|
6
6
|
localstack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
localstack/version.py,sha256=
|
|
7
|
+
localstack/version.py,sha256=MrGT4Kc60AzS0L4YmE8zJ9TdGWOTeQvG0-ppF0AzEag,723
|
|
8
8
|
localstack/aws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
localstack/aws/accounts.py,sha256=102zpGowOxo0S6UGMpfjw14QW7WCLVAGsnFK5xFMLoo,3043
|
|
10
10
|
localstack/aws/app.py,sha256=n9bJCfJRuMz_gLGAH430c3bIQXgUXeWO5NPfcdL2MV8,5145
|
|
@@ -765,7 +765,7 @@ localstack/services/sqs/constants.py,sha256=gD3DdhEa1gVv4vmc12pCd44BLcH4BZ8h6W0t
|
|
|
765
765
|
localstack/services/sqs/developer_api.py,sha256=fNQNMqCkDyvobRm8g4-ErXjSYQ4O-myYobXA_RneC9o,8004
|
|
766
766
|
localstack/services/sqs/exceptions.py,sha256=aMmTD1Mex37NKndt6_hpj_d0JAZeN3eX0g7r8BlNO7M,570
|
|
767
767
|
localstack/services/sqs/models.py,sha256=0zYGersz4W_zYFwavyCKx95_Mkh9cGQ2cPCqjMLB8eU,53809
|
|
768
|
-
localstack/services/sqs/provider.py,sha256=
|
|
768
|
+
localstack/services/sqs/provider.py,sha256=QDLuyXr0amxmJTfuXNijwH8IWGl1AdHmthrN6XCKBLk,66642
|
|
769
769
|
localstack/services/sqs/query_api.py,sha256=5elf1kDdWlUuH5FJzhs8vWdiB85fziYvFsbivuN5OQQ,8655
|
|
770
770
|
localstack/services/sqs/queue.py,sha256=6iDnFagdMYDApSpZCLG8gtb6n8tf7icwH9Y9bJiT3kI,1786
|
|
771
771
|
localstack/services/sqs/utils.py,sha256=L8i7g7FxAlP1RyvFOk_N_NNNO-M8HVYQku-QcqoOVKI,10773
|
|
@@ -1311,10 +1311,10 @@ localstack/utils/server/tcp_proxy.py,sha256=y2NJAmvftTiAYsLU_8qe4W5LGqwUw21i90Pu
|
|
|
1311
1311
|
localstack/utils/xray/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1312
1312
|
localstack/utils/xray/trace_header.py,sha256=ahXk9eonq7LpeENwlqUEPj3jDOCiVRixhntQuxNor-Q,6209
|
|
1313
1313
|
localstack/utils/xray/traceid.py,sha256=GKO-R2sMMjlrH2UaLPXlQlZ6flbE7ZKb6IZMtMu_M5U,1110
|
|
1314
|
-
localstack_core-4.13.2.
|
|
1315
|
-
localstack_core-4.13.2.
|
|
1316
|
-
localstack_core-4.13.2.
|
|
1317
|
-
localstack_core-4.13.2.
|
|
1318
|
-
localstack_core-4.13.2.
|
|
1319
|
-
localstack_core-4.13.2.
|
|
1320
|
-
localstack_core-4.13.2.
|
|
1314
|
+
localstack_core-4.13.2.dev109.data/scripts/localstack-supervisor,sha256=nm1Il2d6ASyOB6Vo4CRHd90w7TK9FdRl9VPp0NN6hUk,6378
|
|
1315
|
+
localstack_core-4.13.2.dev109.dist-info/licenses/LICENSE.txt,sha256=3PC-9Z69UsNARuQ980gNR_JsLx8uvMjdG6C7cc4LBYs,606
|
|
1316
|
+
localstack_core-4.13.2.dev109.dist-info/METADATA,sha256=0biVQyNeAVbPa6_mqhQN2hou7UD1I3LHzXhLHa3rFfE,5868
|
|
1317
|
+
localstack_core-4.13.2.dev109.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
1318
|
+
localstack_core-4.13.2.dev109.dist-info/entry_points.txt,sha256=59aAnn8KVHWAHkMg2dOgmgYtRZ-xTX9T4UiIchWgK6k,20975
|
|
1319
|
+
localstack_core-4.13.2.dev109.dist-info/top_level.txt,sha256=3sqmK2lGac8nCy8nwsbS5SpIY_izmtWtgaTFKHYVHbI,11
|
|
1320
|
+
localstack_core-4.13.2.dev109.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{localstack_core-4.13.2.dev108.dist-info → localstack_core-4.13.2.dev109.dist-info}/top_level.txt
RENAMED
|
File without changes
|