Skip to content

Commit

Permalink
Automated Commit - Formatting Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bnchrch authored and octavia-squidington-iii committed Oct 13, 2023
1 parent 30c455d commit ce4be42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions airbyte-ci/connectors/connector_ops/connector_ops/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from pydash.objects import get
from rich.console import Console
from simpleeval import simple_eval

console = Console()

DIFFED_BRANCH = os.environ.get("DIFFED_BRANCH", "origin/master")
Expand All @@ -45,6 +46,7 @@
"testFixturesImplementation",
]


def download_catalog(catalog_url):
response = requests.get(catalog_url)
return response.json()
Expand All @@ -63,10 +65,12 @@ def download_catalog(catalog_url):
"ql": 300,
}


def get_airbyte_repo() -> git.Repo:
"""Get the airbyte repo."""
return git.Repo(search_parent_directories=True)


@functools.lru_cache(maxsize=1)
def get_airbyte_repo_path_with_fallback() -> Path:
"""Get the airbyte repo path."""
Expand All @@ -80,6 +84,7 @@ def get_airbyte_repo_path_with_fallback() -> Path:
logging.warning(f"Files in {path}: {os.listdir(path)}")
return path


def abs_project_path_to_relative_path_str(absolute_path: Path) -> str:
"""Get the relative path from the absolute path.
Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/pipelines/pipelines/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import asyncer
import click
import git
from connector_ops.utils import get_changed_connectors, abs_project_path_to_relative_path_str
from connector_ops.utils import abs_project_path_to_relative_path_str, get_changed_connectors
from dagger import Client, Config, Connection, Container, DaggerError, ExecError, File, ImageLayerCompression, QueryError, Secret
from google.cloud import storage
from google.oauth2 import service_account
Expand Down

0 comments on commit ce4be42

Please sign in to comment.