rats-apps 0.2.0.dev20240903103355__py3-none-any.whl → 0.2.0.dev20240904170114__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.
- rats/apps/_container.py +8 -4
- {rats_apps-0.2.0.dev20240903103355.dist-info → rats_apps-0.2.0.dev20240904170114.dist-info}/METADATA +1 -1
- {rats_apps-0.2.0.dev20240903103355.dist-info → rats_apps-0.2.0.dev20240904170114.dist-info}/RECORD +5 -5
- {rats_apps-0.2.0.dev20240903103355.dist-info → rats_apps-0.2.0.dev20240904170114.dist-info}/WHEEL +0 -0
- {rats_apps-0.2.0.dev20240903103355.dist-info → rats_apps-0.2.0.dev20240904170114.dist-info}/entry_points.txt +0 -0
rats/apps/_container.py
CHANGED
@@ -125,10 +125,14 @@ class Container(Protocol):
|
|
125
125
|
groups = tates.with_group(namespace, cast(NamedTuple, group_id))
|
126
126
|
|
127
127
|
for annotation in groups.annotations:
|
128
|
-
if not hasattr(self, f"__rats_cache_{annotation.name}"):
|
129
|
-
setattr(
|
128
|
+
if not hasattr(self, f"__rats_cache_{annotation.name}_{group_id.name}"):
|
129
|
+
setattr(
|
130
|
+
self,
|
131
|
+
f"__rats_cache_{annotation.name}_{group_id.name}",
|
132
|
+
getattr(self, annotation.name)(),
|
133
|
+
)
|
130
134
|
|
131
|
-
yield getattr(self, f"__rats_cache_{annotation.name}")
|
135
|
+
yield getattr(self, f"__rats_cache_{annotation.name}_{group_id.name}")
|
132
136
|
|
133
137
|
for annotation in containers.annotations:
|
134
138
|
if not hasattr(self, f"__rats_container_cache_{annotation.name}"):
|
@@ -138,7 +142,7 @@ class Container(Protocol):
|
|
138
142
|
getattr(self, annotation.name)(),
|
139
143
|
)
|
140
144
|
|
141
|
-
c = getattr(self, f"__rats_container_cache_{annotation.name}")
|
145
|
+
c: Container = getattr(self, f"__rats_container_cache_{annotation.name}")
|
142
146
|
yield from c.get_namespaced_group(namespace, group_id)
|
143
147
|
|
144
148
|
|
{rats_apps-0.2.0.dev20240903103355.dist-info → rats_apps-0.2.0.dev20240904170114.dist-info}/RECORD
RENAMED
@@ -6,7 +6,7 @@ rats/apps/__init__.py,sha256=KtAsBY62BS5lYom6j5x69BDItfEYeOxu5EY0kbRWC0g,1601
|
|
6
6
|
rats/apps/__main__.py,sha256=KjdadN4rdP0xhWiLzdmtCsXejWx_gxOK-ah-L1r1dTI,1818
|
7
7
|
rats/apps/_annotations.py,sha256=yOf4MKFGQz3x4hpaWgMf2y2GlbXtbIh4uED15voXzyY,2566
|
8
8
|
rats/apps/_composite_container.py,sha256=s_of6NyyrjFVYWGVehyEHe9WJIPRCnbB-tyWyNF8zyc,585
|
9
|
-
rats/apps/_container.py,sha256=
|
9
|
+
rats/apps/_container.py,sha256=rLUPnsDfLR26YjFUGGu3YYpqIta1l0q8p077Hzfflwo,5989
|
10
10
|
rats/apps/_executables.py,sha256=QJ5_UPdZPmDQ1a3cLRJDUoeUMzNMwa3ZHYhYeS3AVq4,971
|
11
11
|
rats/apps/_ids.py,sha256=T8Onrj79t8NPfBMQBk0xI6fIWDKF0m2JfFNrdtXAbWg,353
|
12
12
|
rats/apps/_namespaces.py,sha256=THUV_Xj5PtweC23Ob-zsSpk8exC4fT-qRwjpQ6IDm0U,188
|
@@ -27,7 +27,7 @@ rats/cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
rats/logs/__init__.py,sha256=fCn4pfpYiAcTtt5CsnUZX68CjOB3KJHxMSiYxsma4qE,183
|
28
28
|
rats/logs/_plugin.py,sha256=eAAG4ci-XS9A9ituXj9PrcI6zH-xlCqhJlUbSGC-MYM,2175
|
29
29
|
rats/logs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
|
-
rats_apps-0.2.0.
|
31
|
-
rats_apps-0.2.0.
|
32
|
-
rats_apps-0.2.0.
|
33
|
-
rats_apps-0.2.0.
|
30
|
+
rats_apps-0.2.0.dev20240904170114.dist-info/METADATA,sha256=MbekP29Jvud3udbD7O3YU986gUyhy7d61wtIsx9KlIM,774
|
31
|
+
rats_apps-0.2.0.dev20240904170114.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
32
|
+
rats_apps-0.2.0.dev20240904170114.dist-info/entry_points.txt,sha256=9oOvf2loQr5ACWQgvuu9Q3KZIVIxKE5Aa-rLuUII5WQ,91
|
33
|
+
rats_apps-0.2.0.dev20240904170114.dist-info/RECORD,,
|
{rats_apps-0.2.0.dev20240903103355.dist-info → rats_apps-0.2.0.dev20240904170114.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|