Skip to content

Automate browser based workflows with AI

Ykeremy/add ie proxy (#663)

Kerem Yilmazd1292d6de061
diff --git a/alembic/versions/2024_07_31_0932-c5ed5a3a14eb_add_residential_ie_to_proxylocation_enum.py b/alembic/versions/2024_07_31_0932-c5ed5a3a14eb_add_residential_ie_to_proxylocation_enum.py
new file mode 100644
index 000000000..2810a269c
--- /dev/null
+++ b/alembic/versions/2024_07_31_0932-c5ed5a3a14eb_add_residential_ie_to_proxylocation_enum.py
@@ -0,0 +1,29 @@
+"""Add RESIDENTIAL_IE to ProxyLocation enum
+
+Revision ID: c5ed5a3a14eb
+Revises: 94bc3829eed6
+Create Date: 2024-07-31 09:32:03.548241+00:00
+
+"""
+
+from typing import Sequence, Union
+
+from alembic import op
+
+# revision identifiers, used by Alembic.
+revision: str = "c5ed5a3a14eb"
+down_revision: Union[str, None] = "94bc3829eed6"
+branch_labels: Union[str, Sequence[str], None] = None
+depends_on: Union[str, Sequence[str], None] = None
+
+
+def upgrade() -> None:
+ # ### commands auto generated by Alembic - please adjust! ###
+ op.execute("ALTER TYPE proxylocation ADD VALUE 'RESIDENTIAL_IE'")
+ # ### end Alembic commands ###
+
+
+def downgrade() -> None:
+ # ### commands auto generated by Alembic - please adjust! ###
+ pass
+ # ### end Alembic commands ###
diff --git a/skyvern/forge/sdk/schemas/tasks.py b/skyvern/forge/sdk/schemas/tasks.py
index 4c704d76e..1ddd2e952 100644
--- a/skyvern/forge/sdk/schemas/tasks.py
+++ b/skyvern/forge/sdk/schemas/tasks.py
@@ -17,6 +17,7 @@ class ProxyLocation(StrEnum):
US_WA = "US-WA"
RESIDENTIAL = "RESIDENTIAL"
RESIDENTIAL_ES = "RESIDENTIAL_ES"
+ RESIDENTIAL_IE = "RESIDENTIAL_IE"
NONE = "NONE"