Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def get_public_holidays(year: int, country_code: str) -> str:
|
|
| 57 |
"""Retrieves public holidays for a given year and country code
|
| 58 |
Args:
|
| 59 |
year: The year (integer e.g., 2023).
|
| 60 |
-
country_code
|
| 61 |
"""
|
| 62 |
url = f"https://date.nager.at/api/v3/PublicHolidays/{year}/{country_code}"
|
| 63 |
try:
|
|
|
|
| 57 |
"""Retrieves public holidays for a given year and country code
|
| 58 |
Args:
|
| 59 |
year: The year (integer e.g., 2023).
|
| 60 |
+
country_code: The ISO country code (e.g., 'IT' for Italy).
|
| 61 |
"""
|
| 62 |
url = f"https://date.nager.at/api/v3/PublicHolidays/{year}/{country_code}"
|
| 63 |
try:
|