Move all cloud imports after skyvern imports (#371)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Kerem Yilmaz 2024-05-27 00:17:41 -07:00 committed by GitHub
parent 688a615fb2
commit 59fa78e642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View file

@ -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"]

View file

@ -3,9 +3,10 @@ from typing import Annotated, Optional
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)

View file

@ -7,6 +7,7 @@ import streamlit as st
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 (