Getting this error: TypeError: SessionModel.__init__() got an unexpected keyword argument 'client_id'



I was trying to code for authentication step however i am getting an error.
i am just at the initial stage where i want to generate the authcode.

session=accessToken.SessionModel(

    client_id=app_id,

    secret_key=app_secret,

    redirect_uri=redirect_url,

    response_type=response_type

)
 Within the following lines of code i am getting this error:
TypeError: SessionModel.__init__() got an unexpected keyword argument 'client_id'

can someone suggest a solution?

7 replies