Skip to content

Commit b356f0e

Browse files
authored
Merge pull request #89 from feltech/work/removeLogoFromHelloExample
Remove unused logo file from "Hello OpenAssetIO" notebook
2 parents fd70e69 + e0a8f97 commit b356f0e

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

examples/hello_openassetio.ipynb

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
{
3939
"cell_type": "code",
40-
"execution_count": 13,
40+
"execution_count": 1,
4141
"id": "80285f6a-8134-4055-9430-a48a5f79e7d3",
4242
"metadata": {
4343
"editable": true,
@@ -47,8 +47,8 @@
4747
},
4848
"tags": [],
4949
"ExecuteTime": {
50-
"end_time": "2024-01-26T15:19:22.114754741Z",
51-
"start_time": "2024-01-26T15:19:22.097367591Z"
50+
"end_time": "2024-04-11T09:12:36.623396Z",
51+
"start_time": "2024-04-11T09:12:36.607832Z"
5252
}
5353
},
5454
"outputs": [],
@@ -80,12 +80,12 @@
8080
"metadata": {
8181
"collapsed": false,
8282
"ExecuteTime": {
83-
"end_time": "2024-01-26T15:19:22.136688151Z",
84-
"start_time": "2024-01-26T15:19:22.118123240Z"
83+
"end_time": "2024-04-11T09:12:36.643982Z",
84+
"start_time": "2024-04-11T09:12:36.624942Z"
8585
}
8686
},
8787
"id": "b5a74cd424da1322",
88-
"execution_count": 14
88+
"execution_count": 2
8989
},
9090
{
9191
"cell_type": "markdown",
@@ -119,12 +119,12 @@
119119
},
120120
{
121121
"cell_type": "code",
122-
"execution_count": 15,
122+
"execution_count": 3,
123123
"id": "6ef73b42-a7ad-4bfb-9420-7d4def269459",
124124
"metadata": {
125125
"ExecuteTime": {
126-
"end_time": "2024-01-26T15:19:22.163041433Z",
127-
"start_time": "2024-01-26T15:19:22.162505020Z"
126+
"end_time": "2024-04-11T09:12:36.663743Z",
127+
"start_time": "2024-04-11T09:12:36.645272Z"
128128
}
129129
},
130130
"outputs": [],
@@ -208,12 +208,12 @@
208208
},
209209
{
210210
"cell_type": "code",
211-
"execution_count": 16,
211+
"execution_count": 4,
212212
"id": "82c3962a-27b5-4375-b4fa-dbd14dcfc93b",
213213
"metadata": {
214214
"ExecuteTime": {
215-
"end_time": "2024-01-26T15:19:22.163577450Z",
216-
"start_time": "2024-01-26T15:19:22.162712488Z"
215+
"end_time": "2024-04-11T09:12:36.668571Z",
216+
"start_time": "2024-04-11T09:12:36.665380Z"
217217
}
218218
},
219219
"outputs": [
@@ -280,19 +280,19 @@
280280
},
281281
{
282282
"cell_type": "code",
283-
"execution_count": 17,
283+
"execution_count": 5,
284284
"id": "0fcf0214-2561-488a-8eee-0330ca27710d",
285285
"metadata": {
286286
"scrolled": true,
287287
"ExecuteTime": {
288-
"end_time": "2024-01-26T15:19:22.214909881Z",
289-
"start_time": "2024-01-26T15:19:22.162824704Z"
288+
"end_time": "2024-04-11T09:12:36.686899Z",
289+
"start_time": "2024-04-11T09:12:36.669793Z"
290290
}
291291
},
292292
"outputs": [
293293
{
294294
"data": {
295-
"text/markdown": "> **Result:**\n> `file:///tmp/logo.jpg`"
295+
"text/markdown": "> **Result:**\n> `file:///some/path/to/logo.jpg`"
296296
},
297297
"metadata": {},
298298
"output_type": "display_data"
@@ -326,28 +326,28 @@
326326
"outputs": [
327327
{
328328
"data": {
329-
"text/markdown": "> **Result:**\n> `/tmp/logo.jpg`"
329+
"text/markdown": "> **Result:**\n> `/some/path/to/logo.jpg`"
330330
},
331331
"metadata": {},
332332
"output_type": "display_data"
333333
}
334334
],
335335
"source": [
336-
"from openassetio.utils import FileUrlPathConverter\n",
336+
"from openassetio.utils import FileUrlPathConverter, PathType\n",
337337
"\n",
338-
"path = FileUrlPathConverter().pathFromUrl(url) # also .pathToUrl\n",
338+
"path = FileUrlPathConverter().pathFromUrl(url, PathType.kPOSIX) # also .pathToUrl\n",
339339
"\n",
340340
"helpers.display_result(path)"
341341
],
342342
"metadata": {
343343
"collapsed": false,
344344
"ExecuteTime": {
345-
"end_time": "2024-01-26T15:19:22.215290879Z",
346-
"start_time": "2024-01-26T15:19:22.210713037Z"
345+
"end_time": "2024-04-11T09:12:36.691020Z",
346+
"start_time": "2024-04-11T09:12:36.687691Z"
347347
}
348348
},
349349
"id": "2da05320a928e846",
350-
"execution_count": 18
350+
"execution_count": 6
351351
}
352352
],
353353
"metadata": {

examples/resources/hello_openassetio/bal_database.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"qualifiedName": "logos / openassetio / v1"
1010
},
1111
"openassetio-mediacreation:content.LocatableContent": {
12-
"location": "file://${bal_library_dir}/logo.jpg"
12+
"location": "file:///some/path/to/logo.jpg"
1313
}
1414
}
1515
}
-15.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)