Skip to content

Commit

Permalink
get RESIDENTIAL_DE back which was deleted unexpectedly (#1693)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Jan 31, 2025
1 parent 32f34ad commit 588be81
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class ProxyLocation(StrEnum):
RESIDENTIAL_IN = "RESIDENTIAL_IN"
RESIDENTIAL_JP = "RESIDENTIAL_JP"
RESIDENTIAL_FR = "RESIDENTIAL_FR"
RESIDENTIAL_DE = "RESIDENTIAL_DE"
NONE = "NONE"


Expand Down Expand Up @@ -63,11 +64,14 @@ def get_tzinfo_from_proxy(proxy_location: ProxyLocation) -> ZoneInfo | None:
return ZoneInfo("Asia/Kolkata")

if proxy_location == ProxyLocation.RESIDENTIAL_JP:
return ZoneInfo("Asia/Kolkata")
return ZoneInfo("Asia/Tokyo")

if proxy_location == ProxyLocation.RESIDENTIAL_FR:
return ZoneInfo("Europe/Paris")

if proxy_location == ProxyLocation.RESIDENTIAL_DE:
return ZoneInfo("Europe/Berlin")

return None


Expand Down

0 comments on commit 588be81

Please sign in to comment.