Skip to content

Commit 8b089e1

Browse files
committed
style: fix ruff linting errors in docs
1 parent b6fb83f commit 8b089e1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/cookbook.ipynb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@
206206
"metadata": {},
207207
"outputs": [],
208208
"source": [
209-
"import asyncio\n",
210209
"import httpxr\n",
211210
"\n",
212211
"\n",
@@ -374,6 +373,7 @@
374373
"outputs": [],
375374
"source": [
376375
"import logging\n",
376+
"\n",
377377
"import httpxr\n",
378378
"\n",
379379
"logging.basicConfig(level=logging.INFO)\n",
@@ -414,6 +414,7 @@
414414
"outputs": [],
415415
"source": [
416416
"import json\n",
417+
"\n",
417418
"import httpxr\n",
418419
"\n",
419420
"with httpxr.Client() as client:\n",
@@ -512,12 +513,13 @@
512513
"outputs": [],
513514
"source": [
514515
"import json\n",
515-
"import httpxr\n",
516-
"from httpxr.sse import connect_sse\n",
517516
"\n",
518517
"# Requires a valid OPENAI_API_KEY in the environment\n",
519518
"import os\n",
520519
"\n",
520+
"import httpxr\n",
521+
"from httpxr.sse import connect_sse\n",
522+
"\n",
521523
"api_key = os.environ.get(\"OPENAI_API_KEY\", \"\")\n",
522524
"if not api_key:\n",
523525
" print(\"⚠ Set OPENAI_API_KEY to run this cell\")\n",
@@ -589,6 +591,7 @@
589591
"source": [
590592
"try:\n",
591593
" import orjson\n",
594+
"\n",
592595
" import httpxr\n",
593596
"\n",
594597
" with httpxr.Client() as client:\n",

0 commit comments

Comments
 (0)