Skip to content

Commit b4c3c7d

Browse files
authored
Updating a few more things (#82)
1 parent eee3cc5 commit b4c3c7d

File tree

5 files changed

+358
-383
lines changed

5 files changed

+358
-383
lines changed

.github/workflows/stability.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- id: ruff
2929
if: always()
30-
run: poetry run ruff --format=github surrealdb/
30+
run: poetry run ruff check surrealdb/
3131

3232
- id: Black
3333
if: always()

examples/notebook_example.ipynb

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"source": [
1717
"from surrealdb import Surreal\n",
1818
"\n",
19-
"db = Surreal(\"http://localhost:8000\")\n",
19+
"db = Surreal(\"ws://localhost:8000/rpc\")\n",
2020
"await db.connect()\n",
2121
"await db.signin({\"user\": \"root\", \"pass\": \"root\"})\n",
2222
"await db.use(\"test\", \"test\")"
@@ -73,8 +73,22 @@
7373
}
7474
],
7575
"metadata": {
76+
"kernelspec": {
77+
"display_name": ".venv",
78+
"language": "python",
79+
"name": "python3"
80+
},
7681
"language_info": {
77-
"name": "python"
82+
"codemirror_mode": {
83+
"name": "ipython",
84+
"version": 3
85+
},
86+
"file_extension": ".py",
87+
"mimetype": "text/x-python",
88+
"name": "python",
89+
"nbconvert_exporter": "python",
90+
"pygments_lexer": "ipython3",
91+
"version": "3.10.11"
7892
},
7993
"orig_nbformat": 4
8094
},

0 commit comments

Comments
 (0)