You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2023/06/21 17:54:50 UTC

[arrow-adbc] branch main updated: feat(python/adbc_driver_flightsql): add cookie middleware option to DatabaseOptions (#830)

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 bb3b1601 feat(python/adbc_driver_flightsql): add cookie middleware option to DatabaseOptions (#830)
bb3b1601 is described below

commit bb3b16014c84e5b2177b24d8daef84059d4c6176
Author: Diego Fernández Giraldo <ai...@gmail.com>
AuthorDate: Wed Jun 21 13:54:44 2023 -0400

    feat(python/adbc_driver_flightsql): add cookie middleware option to DatabaseOptions (#830)
    
    Add new cookie middleware option (#825) to python constants. Also see
    #716.
---
 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 5fb69d77..e0809a91 100644
--- a/python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py
+++ b/python/adbc_driver_flightsql/adbc_driver_flightsql/__init__.py
@@ -68,6 +68,8 @@ class DatabaseOptions(enum.Enum):
     TLS_SKIP_VERIFY = "adbc.flight.sql.client_option.tls_skip_verify"
     #: Block and wait for the connection to be established.
     WITH_BLOCK = "adbc.flight.sql.client_option.with_block"
+    #: Enable cookie middleware. Default is disabled ("false")
+    WITH_COOKIE_MIDDLEWARE = "adbc.flight.sql.rpc.with_cookie_middleware"
     #: Set the maximum gRPC message size (in bytes). The default is 16 MiB.
     WITH_MAX_MSG_SIZE = "adbc.flight.sql.client_option.with_max_msg_size"