Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

Commit 255f808

Browse files
committed
fix requests_cache import issue (move to tests dir)
1 parent ba735b9 commit 255f808

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

nbapy/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
import requests_cache
2-
3-
# cache api responses for 1 week
4-
requests_cache.install_cache(expire_after=604800)

setup.py

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

66
setup(
77
name='nbapy',
8-
version='1.0.6',
8+
version='1.0.7',
99
description='Python client for NBA statistics located at nba.com',
1010
long_description=LONG_DESCRIPTION,
1111
long_description_content_type='text/markdown',

tests/endpoints/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import requests_cache
2+
3+
# cache api responses for 1 week
4+
requests_cache.install_cache(expire_after=604800)

0 commit comments

Comments
 (0)