Skip to content

Commit

Permalink
docs(python): assorted Python documentation fixes (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored Sep 20, 2024
1 parent 3b3d6f7 commit fa8ea10
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions python/adbc_driver_bigquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For users building from the arrow-adbc source repository, you can alternately us
For example, assuming you run cmake from the project root:

```shell
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_BIGQUERY=ON
cmake --build build --target python
```

Expand All @@ -65,11 +65,11 @@ import adbc_driver_bigquery.dbapi
from adbc_driver_bigquery import DatabaseOptions

db_kwargs = {
DatabaseOptions.AUTH_TYPE: DatabaseOptions.AUTH_VALUE_CREDENTIALS_FILE,
DatabaseOptions.CREDENTIALS: "credentials.json",
DatabaseOptions.PROJECT_ID: "bigquery-poc-418913",
DatabaseOptions.DATASET_ID: "google_trends",
DatabaseOptions.TABLE_ID: "small_top_terms",
DatabaseOptions.AUTH_TYPE.value: DatabaseOptions.AUTH_VALUE_CREDENTIALS_FILE,
DatabaseOptions.CREDENTIALS.value: "credentials.json",
DatabaseOptions.PROJECT_ID.value: "bigquery-poc-418913",
DatabaseOptions.DATASET_ID.value: "google_trends",
DatabaseOptions.TABLE_ID.value: "small_top_terms",
}
with adbc_driver_bigquery.dbapi.connect(db_kwargs) as conn:
with conn.cursor() as cur:
Expand Down
2 changes: 1 addition & 1 deletion python/adbc_driver_flightsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For users building from the arrow-adbc source repository, you can alternately us
For example, assuming you run cmake from the project root:

```shell
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_FLIGHTSQL=ON
cmake --build build --target python
```

Expand Down
2 changes: 1 addition & 1 deletion python/adbc_driver_postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ For users building from the arrow-adbc source repository, you can alternately us
For example, assuming you run cmake from the project root:

```shell
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_POSTSGRESQL=ON
cmake --build build --target python
```

Expand Down
2 changes: 1 addition & 1 deletion python/adbc_driver_snowflake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For users building from the arrow-adbc source repository, you can alternately us
For example, assuming you run cmake from the project root:

```shell
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_SNOWFLAKE=ON
cmake --build build --target python
```

Expand Down
2 changes: 1 addition & 1 deletion python/adbc_driver_sqlite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ For users building from the arrow-adbc source repository, you can alternately us
For example, assuming you run cmake from the project root:

```shell
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON
cmake -S c -B build --preset debug -DADBC_BUILD_PYTHON=ON -DADBC_DRIVER_SQLITE=ON
cmake --build build --target python
```

Expand Down

0 comments on commit fa8ea10

Please sign in to comment.