Skip to content

Commit 95230a3

Browse files
committed
Add pyarrow inline script dep just in case
1 parent 79db3f6 commit 95230a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/hk_kaitak_ags3/hk_kaitak_ags3_to_brgi_geodb.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# "mapclassify==2.9.0",
88
# "marimo",
99
# "matplotlib==3.10.3",
10+
# "pyarrow==20.0.0",
1011
# "pyproj==3.7.1",
1112
# "requests==2.32.4",
1213
# "shapely==2.1.1",
@@ -125,10 +126,12 @@ async def _(io, platform_system):
125126
# When running this marimo notebook in WebAssembly (WASM, a.k.a. Emscripten), use pyodide to request the data
126127
if platform_system == "Emscripten":
127128
from pyodide.http import pyfetch
129+
128130
response = await pyfetch(raw_githubusercontent_url)
129131
zip = io.BytesIO(await response.bytes())
130132
else:
131133
import requests
134+
132135
zip = io.BytesIO(requests.get(raw_githubusercontent_url).content)
133136
return (zip,)
134137

0 commit comments

Comments
 (0)