Skip to content

Commit 9f9bcb0

Browse files
committed
ENH: switching to use async TAP for the frequently timeouting cosmodc2 notebook
1 parent 95b4c1d commit 9f9bcb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/cosmodc2/cosmoDC2_TAP_access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ adql
7575

7676
```{code-cell} ipython3
7777
# In order to use TAP with this ADQL string using pyvo, you can do the following:
78-
result = service.search(adql)
78+
result = service.run_async(adql)
7979
result
8080
```
8181

@@ -125,7 +125,7 @@ adql
125125
Now we can use the previously-defined service to execute the query with the spatial contraint.
126126

127127
```{code-cell} ipython3
128-
cone_results = service.search(adql)
128+
cone_results = service.run_async(adql)
129129
```
130130

131131
```{code-cell} ipython3

0 commit comments

Comments
 (0)