We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0941576 commit 4b0bed2Copy full SHA for 4b0bed2
src/posit/connect/packages.py
@@ -30,7 +30,7 @@ class ContentPackages(ActiveFinderMethods["ContentPackage"], ActiveSequence["Con
30
def __init__(self, ctx, path):
31
super().__init__(ctx, path, "name")
32
33
- def _create_instance(self, path, /, **attributes):
+ def _create_instance(self, path, /, **attributes): # noqa: ARG002
34
return ContentPackage(self._ctx, **attributes)
35
36
def fetch(self, **conditions):
@@ -139,7 +139,7 @@ class Packages(ActiveFinderMethods["Package"], ActiveSequence["Package"]):
139
140
141
142
143
return Package(self._ctx, **attributes)
144
145
class _Fetch(TypedDict, total=False):
src/posit/connect/resources.py
@@ -176,7 +176,7 @@ def __len__(self) -> int:
176
return len(list(self.fetch()))
177
178
def __iter__(self):
179
- return iter(self._data)
+ return iter(self.fetch())
180
181
def __str__(self) -> str:
182
return str(list(self.fetch()))
0 commit comments