|
20 | 20 | "# Main function, establishes a connection to RKVST using an App Registration then uses that\n", |
21 | 21 | "# to find existing Asset and create an attachment.\n", |
22 | 22 | "#\n", |
23 | | - "# The attachment is an image located in a folder named \"test_files\"\n", |
24 | | - "#\n", |
25 | 23 | "# Note: The purpose of RKVST Jupyter Notebooks is to provide simplified examples that one can easily execute and digest.\n", |
26 | 24 | "# The RKVST Python SDK is authored to work cleanly with more advanced coding techniques.\n", |
27 | 25 | "#\n", |
|
65 | 63 | "metadata": {}, |
66 | 64 | "outputs": [], |
67 | 65 | "source": [ |
68 | | - "# URL, CLIENT, SECRET are environment variables that represent connection parameters.\n", |
| 66 | + "# RKVST_URL, RKVST_APPREG_CLIENT, RKVST_APPREG_SECRET are environment variables that represent connection parameters.\n", |
69 | 67 | "#\n", |
70 | | - "# URL = represents the url to the RKVST application\n", |
71 | | - "# CLIENT = represents the client ID from an Application Registration\n", |
72 | | - "# SECRET = represents the client secret from an Application Registration\n", |
| 68 | + "# RKVST_URL = represents the url to the RKVST application\n", |
| 69 | + "# RKVST_APPREG_CLIENT = represents the client ID from an Application Registration\n", |
| 70 | + "# RKVST_APPREG_SECRET = represents the client secret from an Application Registration\n", |
| 71 | + "# RKVST_UNIQUE_ID = is an environment variable that is a unique identifier\n", |
| 72 | + "# RKVST_ARTIST_ATTACHMENT = represents the location of the attachment\n", |
73 | 73 | "RKVST_URL = getenv(\"RKVST_URL\")\n", |
74 | 74 | "RKVST_APPREG_CLIENT = getenv(\"RKVST_APPREG_CLIENT\")\n", |
75 | 75 | "RKVST_APPREG_SECRET = getenv(\"RKVST_APPREG_SECRET\")\n", |
|
243 | 243 | ], |
244 | 244 | "source": [ |
245 | 245 | "# Finding existing artist by name and artist id\n", |
246 | | - "# Fill in the artistid from Create Asset and Events notebook\n", |
247 | 246 | "print(\"Finding Asset\")\n", |
248 | 247 | "asset = get_artist(arch, \"Adele Laurie Blue Adkins\", RKVST_UNIQUE_ID)\n", |
249 | 248 | "print(\"Asset\", json_dumps(asset, indent=4))" |
|
0 commit comments