Skip to content

Commit

Permalink
chore: minor README grammar typos (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
pataquets authored Jan 18, 2024
1 parent 87ba393 commit 655dcf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ format "project:region:instance".
### How to use this Connector

To connect to Cloud SQL using the connector, inititalize a `Connector`
object and call it's `connect` method with the proper input parameters.
object and call its `connect` method with the proper input parameters.

The `Connector` itself creates connection objects by calling its `connect` method but does not manage database connection pooling. For this reason, it is recommended to use the connector alongside a library that can create connection pools, such as [SQLAlchemy](https://www.sqlalchemy.org/). This will allow for connections to remain open and be reused, reducing connection overhead and the number of connections needed.

Expand Down Expand Up @@ -167,7 +167,7 @@ with pool.connect() as db_conn:
print(row)
```

To close the `Connector` object's background resources, call it's `close()` method as follows:
To close the `Connector` object's background resources, call its `close()` method as follows:

```python
connector.close()
Expand Down

0 comments on commit 655dcf8

Please sign in to comment.