Skip to content

Commit

Permalink
Add GB proxy support (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykeremy authored Aug 6, 2024
1 parent 76ae23c commit 5bb8b31
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions alembic/versions/2024_08_06_1515-8f237f00faeb_add_gb_proxy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"""Add GB proxy
Revision ID: 8f237f00faeb
Revises: c5ed5a3a14eb
Create Date: 2024-08-06 15:15:15.369986+00:00
"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '8f237f00faeb'
down_revision: Union[str, None] = 'c5ed5a3a14eb'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
op.execute("ALTER TYPE proxylocation ADD VALUE 'RESIDENTIAL_GB'")


def downgrade() -> None:
pass
1 change: 1 addition & 0 deletions skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class ProxyLocation(StrEnum):
RESIDENTIAL = "RESIDENTIAL"
RESIDENTIAL_ES = "RESIDENTIAL_ES"
RESIDENTIAL_IE = "RESIDENTIAL_IE"
RESIDENTIAL_GB = "RESIDENTIAL_GB"
NONE = "NONE"


Expand Down

0 comments on commit 5bb8b31

Please sign in to comment.