Skip to content

Commit

Permalink
added possible erros section in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sa4084 committed Jun 27, 2023
1 parent 493c8e3 commit 748d020
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions doc/integrations/postgres.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,9 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b84a7cac",
"cell_type": "markdown",
"id": "08e062e7",
"metadata": {},
"outputs": [],
"source": [
"To create a new PostgreSQL instance using Docker, run the following command in your terminal:"
]
Expand Down Expand Up @@ -165,27 +163,33 @@
"%pytest src/tests/integration/test_postgreSQL.py "
]
},
{
"cell_type": "markdown",
"id": "74fb3ae2",
"metadata": {},
"source": [
"### Possible Errors"
]
},
{
"cell_type": "markdown",
"id": "2a48a153",
"metadata": {},
"source": [
"```{Tip}\n",
"```{One}\n",
"If you face the issue of sql module being not recognized within folder make sure to include it's path in conftest.py.\n",
"```\n",
"```Python\n",
"sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\"))) \n",
"\n",
"```\n",
"\n"
"```"
]
},
{
"cell_type": "markdown",
"id": "3e241d27",
"metadata": {},
"source": [
"```{Tips}\n",
"```{Two}\n",
"Docker Error: docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))\n",
"```\n",
"This error typically occurs when the Docker daemon is not running."
Expand Down Expand Up @@ -246,14 +250,6 @@
"source": [
"```{tip} If you have issues [message us on Slack.](https://ploomber.io/community) ```"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "40e8e668",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 748d020

Please sign in to comment.