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 2e7d4c6 commit 95b98feCopy full SHA for 95b98fe
1 file changed
add_to_pydotorg.py
@@ -30,6 +30,7 @@
30
import subprocess
31
import sys
32
from collections.abc import Generator
33
+from functools import cache
34
from os import path
35
from typing import Any, NoReturn
36
@@ -293,6 +294,7 @@ def list_files(
293
294
continue
295
296
297
+@cache
298
def query_object(base_url: str, objtype: str, **params: Any) -> int:
299
"""Find an API object by query parameters."""
300
uri = base_url + f"downloads/{objtype}/"
0 commit comments