Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
devkral committed Sep 11, 2024
1 parent a2b448b commit 1e26456
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ To run the linting, use:
$ hatch fmt
```

!!! Note
If you get stuck into segfaults, you might want to use the environment parameter: `TEST_NO_RISK_SEGFAULTS=true`.
MSSQL and odbc may can segfault, though seldom.
This parameter is active for github actions.

### Documentation

Improving the documentation is quite easy and it is placed inside the `databasez/docs` folder.
Expand Down
5 changes: 1 addition & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@ $ pip install databasez[aioodbc]
```

!!! Note
Note that if you are using any synchronous SQLAlchemy functions such as `engine.create_all()`
or [alembic][alembic] migrations then you still have to install a synchronous DB driver:
[psycopg][psycopg] for PostgreSQL, [pymysql][pymysql] for MySQL and
[pyodbc][pyodbc] for SQL Server.
MSSQL and odbc may segfaults with threading (sometimes but in tests it can be more often).

---

Expand Down

0 comments on commit 1e26456

Please sign in to comment.