Skip to content

Commit ca2d936

Browse files
committed
final updates from test run
1 parent ff7b2fc commit ca2d936

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

samples/05_content_publishers/create_and_load_knowledge_graph_backups.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
},
159159
{
160160
"cell_type": "markdown",
161-
"id": "da690f5c",
161+
"id": "17968c25",
162162
"metadata": {},
163163
"source": [
164164
"Get the service definition for the knowledge graph service and save it to the service definition file"
@@ -167,7 +167,7 @@
167167
{
168168
"cell_type": "code",
169169
"execution_count": null,
170-
"id": "952e670f",
170+
"id": "8c5275cb",
171171
"metadata": {},
172172
"outputs": [],
173173
"source": [
@@ -395,7 +395,7 @@
395395
{
396396
"cell_type": "code",
397397
"execution_count": null,
398-
"id": "9f237840",
398+
"id": "a2769e71",
399399
"metadata": {},
400400
"outputs": [],
401401
"source": [
@@ -464,7 +464,7 @@
464464
{
465465
"cell_type": "code",
466466
"execution_count": null,
467-
"id": "fa7d1671",
467+
"id": "a74ddfe3",
468468
"metadata": {},
469469
"outputs": [],
470470
"source": [
@@ -534,7 +534,7 @@
534534
"outputs": [],
535535
"source": [
536536
"# connect to portal via GIS\n",
537-
"gis_load = GIS(\"https://myportal.com/portal\", \"username\", \"password\")\n",
537+
"gis_load = GIS(\"home\")\n",
538538
"\n",
539539
"with open(os.path.join(output_folder, servicedef), \"r\") as file:\n",
540540
" service_def = json.load(file)\n",
@@ -559,7 +559,7 @@
559559
" },\n",
560560
"}\n",
561561
"\n",
562-
"result = gis_copyto.content.create_service(\n",
562+
"result = gis_load.content.create_service(\n",
563563
" name=\"\", service_type=\"KnowledgeGraph\", create_params=updated_service_def\n",
564564
")\n",
565565
"\n",
@@ -861,7 +861,7 @@
861861
},
862862
{
863863
"cell_type": "markdown",
864-
"id": "8a6a5ca5",
864+
"id": "aa2099c5",
865865
"metadata": {},
866866
"source": [
867867
"### Add additional provenance entity type properties\n",
@@ -871,11 +871,11 @@
871871
{
872872
"cell_type": "code",
873873
"execution_count": null,
874-
"id": "e663e9fd",
874+
"id": "c2fddb86",
875875
"metadata": {},
876876
"outputs": [],
877877
"source": [
878-
"with open(os.path.join(file_loc, dm_prov), \"r\") as file:\n",
878+
"with open(os.path.join(output_folder, dm_prov), \"r\") as file:\n",
879879
" prov_dm = json.load(file)\n",
880880
"\n",
881881
"prop_list = []\n",

0 commit comments

Comments
 (0)