Spaces:
Sleeping
Sleeping
feat(app): increase number of rows to 1000 in animal fetch request
Browse filesThis commit updates the `numOfRows` parameter in the `fetch_animals()` function in `app.py` to increase the number of rows returned from 200 to 1000. This will allow for more animals to be fetched in a single request, improving the performance of the application. The change was made in response to user feedback requesting more results per page.
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def fetch_animals(service_key, breed_choice, state):
|
|
| 10 |
'kind': breed_choice,
|
| 11 |
'state': state,
|
| 12 |
'pageNo': '1',
|
| 13 |
-
'numOfRows': '
|
| 14 |
'_type': 'json'
|
| 15 |
}
|
| 16 |
|
|
|
|
| 10 |
'kind': breed_choice,
|
| 11 |
'state': state,
|
| 12 |
'pageNo': '1',
|
| 13 |
+
'numOfRows': '1000',
|
| 14 |
'_type': 'json'
|
| 15 |
}
|
| 16 |
|