This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 3e98bfdb feat(python/adbc_driver_flightsql): add
adbc.flight.sql.client_option.authority to DatabaseOptions (#1069)
3e98bfdb is described below
commit 3e98bfdb7b34f8f1920eb1a3121de79b619c6045
Author: ElenaHenderson <[email protected]>
AuthorDate: Thu Sep 14 15:46:57 2023 -0700
feat(python/adbc_driver_flightsql): add
adbc.flight.sql.client_option.authority to DatabaseOptions (#1069)
Fixes https://github.com/apache/arrow-adbc/issues/1068.
---
python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py
b/python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py
index e0809a91..1b9adf31 100644
--- a/python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py
+++ b/python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py
@@ -38,6 +38,8 @@ class DatabaseOptions(enum.Enum):
#: The authorization header to use for requests.
AUTHORIZATION_HEADER = "adbc.flight.sql.authorization_header"
+ #: Server name in authentication handshake
+ AUTHORITY = "adbc.flight.sql.client_option.authority"
#: Enable mTLS and use these PEM-encoded certificates.
MTLS_CERT_CHAIN = "adbc.flight.sql.client_option.mtls_cert_chain"
#: Enable mTLS and use this PEM-encoded private key.