We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f413d commit 9379affCopy full SHA for 9379aff
1 file changed
src/dashboard/data_fetcher.py
@@ -7,6 +7,7 @@ def __init__(self, url):
7
self.url = url
8
9
def fetch_data(self, retries=3, delay=2):
10
+ """Fetch data from the specified URL with retry logic."""
11
for attempt in range(retries):
12
try:
13
response = requests.get(self.url)
0 commit comments