Skip to content

Commit

Permalink
final updates from test run
Browse files Browse the repository at this point in the history
  • Loading branch information
mbana641 committed Apr 23, 2024
1 parent ff7b2fc commit ca2d936
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -167,7 +167,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "952e670f",
"id": "8c5275cb",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -395,7 +395,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9f237840",
"id": "a2769e71",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -464,7 +464,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fa7d1671",
"id": "a74ddfe3",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -861,7 +861,7 @@
},
{
"cell_type": "markdown",
"id": "8a6a5ca5",
"id": "aa2099c5",
"metadata": {},
"source": [
"### Add additional provenance entity type properties\n",
Expand All @@ -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",
Expand Down

0 comments on commit ca2d936

Please sign in to comment.