Skip to content

Commit 555d3de

Browse files
committed
fix: no type error
1 parent f418b04 commit 555d3de

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

docs/example.ipynb

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,25 +156,15 @@
156156
},
157157
{
158158
"cell_type": "code",
159-
"execution_count": null,
159+
"execution_count": 3,
160160
"metadata": {},
161161
"outputs": [
162162
{
163163
"name": "stdout",
164164
"output_type": "stream",
165165
"text": [
166-
"pystac-client: 7.600378751754761s (467 items)\n"
167-
]
168-
},
169-
{
170-
"ename": "TypeError",
171-
"evalue": "object of type '_asyncio.Future' has no len()",
172-
"output_type": "error",
173-
"traceback": [
174-
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
175-
"\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
176-
"Cell \u001b[0;32mIn[2], line 15\u001b[0m\n\u001b[1;32m 13\u001b[0m items \u001b[38;5;241m=\u001b[39m stacrs\u001b[38;5;241m.\u001b[39msearch(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhttps://stac.eoapi.dev\u001b[39m\u001b[38;5;124m\"\u001b[39m, collections\u001b[38;5;241m=\u001b[39m[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWildFires-LosAngeles-Jan-2025\u001b[39m\u001b[38;5;124m\"\u001b[39m])\n\u001b[1;32m 14\u001b[0m end \u001b[38;5;241m=\u001b[39m time\u001b[38;5;241m.\u001b[39mtime()\n\u001b[0;32m---> 15\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mstacrs: \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mend\u001b[38;5;250m \u001b[39m\u001b[38;5;241m-\u001b[39m\u001b[38;5;250m \u001b[39mstart\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124ms (\u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28;43mlen\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mitems\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m items)\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n",
177-
"\u001b[0;31mTypeError\u001b[0m: object of type '_asyncio.Future' has no len()"
166+
"pystac-client: 7.5231709480285645s (467 items)\n",
167+
"stacrs: 7.2893760204315186s (467 items)\n"
178168
]
179169
}
180170
],

0 commit comments

Comments
 (0)