You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "avantgardnerio (via GitHub)" <gi...@apache.org> on 2023/03/02 16:26:48 UTC

[GitHub] [arrow-rs] avantgardnerio commented on a diff in pull request #3788: refactor: assorted `FlightSqlServiceClient` improvements

avantgardnerio commented on code in PR #3788:
URL: https://github.com/apache/arrow-rs/pull/3788#discussion_r1123379913


##########
arrow-flight/src/sql/client.rs:
##########
@@ -141,14 +132,27 @@ impl FlightSqlServiceClient {
         self.flight_client
     }
 
+    /// Set auth token to the given value.
+    pub fn set_token(&mut self, token: String) {
+        self.token = Some(token);

Review Comment:
   So this will then propagate to all calls? :heart_eyes: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org