Skip to content

Commit 0bf8b31

Browse files
shaileshmishrashaileshmishra
authored andcommitted
retry policy support added
timeout to 30 sec
1 parent c6acfde commit 0bf8b31

File tree

9 files changed

+15
-14
lines changed

9 files changed

+15
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# CHANGELOG
22

3-
## _v1.2.1_
3+
## _v1.3.0_
44

55
============
66

7-
Date: 24-Feb-2021
7+
Date: 26-Feb-2021
88

99
- Retry policy and timeout support included
1010
- set default timeout 30 sec

changelog.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22
**CHANGELOG**
33
================
44

5-
Retry Policy and timeout support added
6-
7-
*v1.2.1*
8-
5+
*v1.3.0*
96
============
107

11-
**Date: 24-Feb-2021**
8+
**Date: 26-Feb-2021**
129

1310
- Retry policy and timeout support included
14-
- set default timeout 30 sec
11+
- Set default timeout to 30 sec
1512

1613
============
1714

contentstack/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
__title__ = 'contentstack-python'
1919
__author__ = 'Contentstack'
2020
__status__ = 'debug'
21-
__version__ = '1.2.0'
21+
__version__ = '1.3.0'
2222
__endpoint__ = 'cdn.contentstack.io'
2323
__email__ = 'shailesh.mishra@contentstack.com'

contentstack/assetquery.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
# Your code has been rated at 10/10 by pylint
88

99
import json
10-
from contentstack.utility import Utils
10+
1111
from contentstack.basequery import BaseQuery
12+
from contentstack.utility import Utils
1213

1314

1415
class AssetQuery(BaseQuery):

contentstack/contenttype.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Your code has been rated at 10.00/10 by pylint
1010

1111
from urllib import parse
12+
1213
from contentstack.entry import Entry
1314
from contentstack.query import Query
1415

contentstack/https_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import requests
1313
from requests.adapters import HTTPAdapter
14-
from requests.exceptions import Timeout, HTTPError
14+
from requests.exceptions import HTTPError, Timeout
1515

1616
import contentstack
1717

keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import config
22
from twython import Twython, TwythonError
33
# create a keys object by passing the necessary secret passwords
4-
keys = Twython(config.APIKey, config.delivery_token, config.environment, config.host)
4+
keys = Twython(config.api_key, config.delivery_token, config.environment, config.host)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "contentstack.python",
3-
"version": "1.2.0"
3+
"version": "1.3.0"
44
}

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ pip~=20.3.1
66
py~=1.9.0
77
setuptools~=51.0.0
88
wheel==0.35.1
9-
urllib3==1.26.3
9+
urllib3==1.26.3
10+
utils==1.0.1
11+
twython==3.8.2

0 commit comments

Comments
 (0)