Skip to content

Commit 6d401a7

Browse files
authored
Merge pull request #18 from Lumen5/fix-missing-timeout-kwargs
Fix missing timeout kwargs
2 parents 190ebff + fbd229c commit 6d401a7

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

pygetty/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__doc__ = 'Wrapper for Getty v3 API'
44
__author__ = 'Josh Klar <josh@lumen5.com>'
5-
__version__ = '1.3.0'
5+
__version__ = '1.3.1'

pygetty/images.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def image(
1111
auth_token_manager=None,
1212
api_key=None,
1313
client_secret=None,
14+
timeout=None,
1415
):
1516
return individual_asset(
1617
id,
@@ -21,6 +22,7 @@ def image(
2122
auth_token_manager=auth_token_manager,
2223
api_key=api_key,
2324
client_secret=client_secret,
25+
timeout=timeout,
2426
)
2527

2628

@@ -32,6 +34,7 @@ def images(
3234
auth_token_manager=None,
3335
api_key=None,
3436
client_secret=None,
37+
timeout=None,
3538
):
3639
return multiple_assets(
3740
ids,
@@ -42,4 +45,5 @@ def images(
4245
auth_token_manager=auth_token_manager,
4346
api_key=api_key,
4447
client_secret=client_secret,
48+
timeout=timeout,
4549
)

pygetty/videos.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def video(
1111
auth_token_manager=None,
1212
api_key=None,
1313
client_secret=None,
14+
timeout=None,
1415
):
1516
return individual_asset(
1617
id,
@@ -21,6 +22,7 @@ def video(
2122
auth_token_manager=auth_token_manager,
2223
api_key=api_key,
2324
client_secret=client_secret,
25+
timeout=timeout,
2426
)
2527

2628

@@ -32,6 +34,7 @@ def videos(
3234
auth_token_manager=None,
3335
api_key=None,
3436
client_secret=None,
37+
timeout=None,
3538
):
3639
return multiple_assets(
3740
ids,
@@ -42,4 +45,5 @@ def videos(
4245
auth_token_manager=auth_token_manager,
4346
api_key=api_key,
4447
client_secret=client_secret,
48+
timeout=timeout,
4549
)

0 commit comments

Comments
 (0)