BewareMyPower opened a new pull request, #15:
URL: https://github.com/apache/pulsar-client-python/pull/15

   ### Motivation
   
   https://github.com/apache/pulsar/pull/17482 supported basic authentication 
for Python client, but the `AuthenticationBasic` class accepts two positional 
arguments as the username and password. It's not good for extension. We should 
accept an auth param string like `AuthenticationOauth2` so that no changes are 
needed if the upstream C++ client's implementation changed, like
   https://github.com/apache/pulsar-client-cpp/pull/37.
   
   ### Modifications
   
   To be compatible with the existing API, change the first two arguments to 
keyword arguments. Then, add the 3rd keyword argument to represent the auth 
param string.
   
   ### Verifications
   
   `test_basic_auth` and `test_invalid_basic_auth` are extended for this change.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to