Skip to content

Commit ea9286a

Browse files
shaileshmishrashaileshmishra
authored andcommitted
Retry policy & timeout
- Retry policy and timeout support included - Set default timeout 30 sec
1 parent 837f458 commit ea9286a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

keys.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import config
2+
from twython import Twython, TwythonError
3+
# create a keys object by passing the necessary secret passwords
4+
keys = Twython(config.APIKey, config.delivery_token, config.environment, config.host)

0 commit comments

Comments
 (0)