Skip to content

Commit 9379aff

Browse files
[Penify]: Documentation for commit - e1f413d
1 parent e1f413d commit 9379aff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dashboard/data_fetcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ def __init__(self, url):
77
self.url = url
88

99
def fetch_data(self, retries=3, delay=2):
10+
"""Fetch data from the specified URL with retry logic."""
1011
for attempt in range(retries):
1112
try:
1213
response = requests.get(self.url)

0 commit comments

Comments
 (0)