Skip to content

Commit cb4471d

Browse files
authored
Update dapi db connection
1 parent 660c47d commit cb4471d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ dir(dapi)
8282

8383
### Database
8484
```python
85-
import dapi
85+
from dapi.db import DSDatabase
8686

87-
db = dapi.DSDatabase("ngl")
87+
db = DSDatabase("ngl")
8888
sql = 'SELECT * FROM SITE'
8989
df = db.read_sql(sql)
9090
print(df)
@@ -135,4 +135,4 @@ The project only works on `Python 3.9` due to AgavePy Issue [#125](https://githu
135135

136136
* Krishna Kumar, University of Texas at Austin
137137
* Prof. Pedro Arduino, University of Washington
138-
* Prof. Scott Brandenberg, University of California Los Angeles
138+
* Prof. Scott Brandenberg, University of California Los Angeles

0 commit comments

Comments
 (0)