question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instruction unclear on how to start

See original GitHub issue

I tried to authorize, but the code ends with an error (TypeError: __init__() got an unexpected keyword argument 'allowed_methods')

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lazeroffmichaelcommented, Jun 25, 2021

Ahh okay I will continue working on a fix. I haven’t been able to reproduce the problem so I will work on that. In the meantime, doing something like this may work:

from ticktick.oauth2 import OAuth2        # OAuth2 Manager
from ticktick.api import TickTickClient     # Main Interface
import requests

requests_session = requests.session()

auth_client = OAuth2(client_id=client_id,
                                   client_secret=client_secret,
                                   redirect_uri=uri,
                                   session=requests_session)

client = TickTickClient(username, password, auth_client)
0reactions
dummifiedmecommented, Jun 26, 2021

I think it worked. Now I have to see how to work with the api 😃 Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Instructions Unclear - Know Your Meme
"Instructions Unclear" is an expression used as a preface when joking about accidentally performing a dangerous or inappropriate action due to an absurd ......
Read more >
instructions unclear - Urban Dictionary
Used whenever someone gives blatantly awful instructions and leaves the person trying to learn worse off than where he/she was originally.
Read more >
What's the deal with "instructions unclear, dick stuck ... - Reddit
3M subscribers in the OutOfTheLoop community. A subreddit to help you keep up to date with what's going on with reddit and other...
Read more >
40 Times People Failed To Understand Instructions And It ...
From people seeking help after having trouble following directions to photos of the confusing and misleading instructions themselves, we hope you enjoy this ......
Read more >
Why are the instructions so unclear? - Codecademy
Not sure where to begin? ... Docs. Find definitions, code syntax, and more -- or contribute your own code documentation. ... Learning &...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found