title: Argument 'algorithm' passed by position and keyword in method callp
body: <p>I am trying to write a class and call it this is my code</p>
  
  <pre><code>import jwt
  
  
  class generate_jwt():
  
      def __init__(self):
          self.name = 'jwt token manager'
  
      def encode_with_hsa(self, secret, expiration_time, payload):
          exp_time = {'exp': expiration_time}
          return jwt.encode(payload, exp_time, secret, algorithm='HS256')
  
  snake = generate_jwt()
  so = {'secret':'ff'}
  print(snake.encode_with_hsa('dd', 434234, so))
  </code></pre>
  
  <p>But this shows TypeError: encode() got multiple values for argument 'algorithm' when calling the class and returing the value</p>