Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
removed asyncpg from dep (#14)
Browse files Browse the repository at this point in the history
* removed asyncpg from dep

* Version bumped to 0.15.0

* updated the lock file

Co-authored-by: ns-circle-ci <[email protected]>
  • Loading branch information
RJ Santana and ns-circle-ci authored Oct 19, 2021
1 parent bcf0ca1 commit 13c2b38
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 293 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ connection_string = f"postgresql://{db_user_name}:{db_user_password}@localhost:5
db_info = DBInfo(connection_string)
```

Pynocular uses the asynchronous engine provided by aiopg to connect to your database. You can choose to use a
different engine by providing a different engine_type value to `DBInfo`.
```python
db_info = DBInfo(connection_string, engine_type=DatabaseAlias.asyncpg_engine)
```
All other engine options are experimental and do not support all of the functionality Pynocular provides.

#### Object Management

Once you define a `db_info` object, you are ready to decorate your Pydantic models and interact with your database!
Expand Down
Loading

0 comments on commit 13c2b38

Please sign in to comment.