Skip to content

Commit

Permalink
Move all cloud imports after skyvern imports (#371)
Browse files Browse the repository at this point in the history
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
  • Loading branch information
ykeremy and wintonzheng authored May 27, 2024
1 parent 688a615 commit 59fa78e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
known_skyvern = "skyvern"
known_cloud = "cloud"
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "SKYVERN", "CLOUD", "FIRSTPARTY", "LOCALFOLDER"]
skip_glob = [".tox", "__pycache__", "*.pyc", "venv*/*", "reports", "venv", "env", "node_modules", ".env", ".venv", "dist"]
skip = ["webeye/actions/__init__.py", "forge/sdk/__init__.py"]

Expand Down
3 changes: 2 additions & 1 deletion scripts/create_organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

import typer

from scripts.create_api_key import create_org_api_token
from skyvern.forge.app import DATABASE

from scripts.create_api_key import create_org_api_token


async def create_org(org_name: str, webhook_callback_url: str | None = None) -> None:
organization = await DATABASE.create_organization(org_name, webhook_callback_url)
Expand Down
1 change: 1 addition & 0 deletions streamlit_app/visualizer/streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from skyvern import analytics
from skyvern.forge.sdk.schemas.tasks import ProxyLocation, TaskRequest

from streamlit_app.visualizer import styles
from streamlit_app.visualizer.api import SkyvernClient
from streamlit_app.visualizer.artifact_loader import (
Expand Down

0 comments on commit 59fa78e

Please sign in to comment.