Skip to content

Commit

Permalink
Add new proxies RESIDENTIAL_IN, RESIDENTIAL_JP (#1126)
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
  • Loading branch information
wintonzheng and msalihaltun authored Nov 4, 2024
1 parent 82249ae commit e5bcb08
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""Add IN and JP proxylocation
Revision ID: b8f9e09e181d
Revises: 2873c5c8c41e
Create Date: 2024-11-04 19:14:36.603689+00:00
"""

from typing import Sequence, Union

from alembic import op

# revision identifiers, used by Alembic.
revision: str = "b8f9e09e181d"
down_revision: Union[str, None] = "2873c5c8c41e"
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_IN'")
op.execute("ALTER TYPE proxylocation ADD VALUE 'RESIDENTIAL_JP'")
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###
2 changes: 2 additions & 0 deletions skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class ProxyLocation(StrEnum):
RESIDENTIAL_ES = "RESIDENTIAL_ES"
RESIDENTIAL_IE = "RESIDENTIAL_IE"
RESIDENTIAL_GB = "RESIDENTIAL_GB"
RESIDENTIAL_IN = "RESIDENTIAL_IN"
RESIDENTIAL_JP = "RESIDENTIAL_JP"
NONE = "NONE"


Expand Down

0 comments on commit e5bcb08

Please sign in to comment.