diff --git a/samples/05_content_publishers/create_and_load_knowledge_graph_backups.ipynb b/samples/05_content_publishers/create_and_load_knowledge_graph_backups.ipynb index 59a9aeb86e..94082d2506 100644 --- a/samples/05_content_publishers/create_and_load_knowledge_graph_backups.ipynb +++ b/samples/05_content_publishers/create_and_load_knowledge_graph_backups.ipynb @@ -158,7 +158,7 @@ }, { "cell_type": "markdown", - "id": "da690f5c", + "id": "17968c25", "metadata": {}, "source": [ "Get the service definition for the knowledge graph service and save it to the service definition file" @@ -167,7 +167,7 @@ { "cell_type": "code", "execution_count": null, - "id": "952e670f", + "id": "8c5275cb", "metadata": {}, "outputs": [], "source": [ @@ -395,7 +395,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9f237840", + "id": "a2769e71", "metadata": {}, "outputs": [], "source": [ @@ -464,7 +464,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fa7d1671", + "id": "a74ddfe3", "metadata": {}, "outputs": [], "source": [ @@ -534,7 +534,7 @@ "outputs": [], "source": [ "# connect to portal via GIS\n", - "gis_load = GIS(\"https://myportal.com/portal\", \"username\", \"password\")\n", + "gis_load = GIS(\"home\")\n", "\n", "with open(os.path.join(output_folder, servicedef), \"r\") as file:\n", " service_def = json.load(file)\n", @@ -559,7 +559,7 @@ " },\n", "}\n", "\n", - "result = gis_copyto.content.create_service(\n", + "result = gis_load.content.create_service(\n", " name=\"\", service_type=\"KnowledgeGraph\", create_params=updated_service_def\n", ")\n", "\n", @@ -861,7 +861,7 @@ }, { "cell_type": "markdown", - "id": "8a6a5ca5", + "id": "aa2099c5", "metadata": {}, "source": [ "### Add additional provenance entity type properties\n", @@ -871,11 +871,11 @@ { "cell_type": "code", "execution_count": null, - "id": "e663e9fd", + "id": "c2fddb86", "metadata": {}, "outputs": [], "source": [ - "with open(os.path.join(file_loc, dm_prov), \"r\") as file:\n", + "with open(os.path.join(output_folder, dm_prov), \"r\") as file:\n", " prov_dm = json.load(file)\n", "\n", "prop_list = []\n",