File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
metadata-ingestion/src/datahub/cli Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 46
46
BOOTSTRAP_MCES_FILE = "metadata-ingestion/examples/mce_files/bootstrap_mce.json"
47
47
48
48
GITHUB_BASE_URL = "https://raw.githubusercontent.com/datahub-project/datahub/master"
49
- #GITHUB_BASE_URL = "https://raw.githubusercontent.com/acryldata/datahub/pedro-fix-standalone-consumers"
50
49
51
50
GITHUB_NEO4J_AND_ELASTIC_QUICKSTART_COMPOSE_URL = (
52
51
f"{ GITHUB_BASE_URL } /{ NEO4J_AND_ELASTIC_QUICKSTART_COMPOSE_FILE } "
@@ -594,15 +593,19 @@ def quickstart(
594
593
else f"{ GITHUB_BASE_URL } /{ ELASTIC_CONSUMERS_QUICKSTART_COMPOSE_FILE } "
595
594
)
596
595
597
- default_consumer_compose_file = Path (DATAHUB_ROOT_FOLDER ) / "quickstart/docker-compose.consumers.yml"
596
+ default_consumer_compose_file = (
597
+ Path (DATAHUB_ROOT_FOLDER ) / "quickstart/docker-compose.consumers.yml"
598
+ )
598
599
with open (
599
600
default_consumer_compose_file , "wb"
600
601
) if default_consumer_compose_file else tempfile .NamedTemporaryFile (
601
602
suffix = ".yml" , delete = False
602
603
) as tmp_file :
603
604
path = pathlib .Path (tmp_file .name )
604
605
quickstart_compose_file .append (path )
605
- click .echo (f"Fetching consumer docker-compose file { consumer_github_file } from GitHub" )
606
+ click .echo (
607
+ f"Fetching consumer docker-compose file { consumer_github_file } from GitHub"
608
+ )
606
609
# Download the quickstart docker-compose file from GitHub.
607
610
quickstart_download_response = requests .get (consumer_github_file )
608
611
quickstart_download_response .raise_for_status ()
You can’t perform that action at this time.
0 commit comments