Skip to content

Commit

Permalink
Remove dependency deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
sinall committed Nov 8, 2019
1 parent 0cd5085 commit 7e760d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def main():
packages=find_packages(exclude=['contrib', 'docs', 'tests']),

install_requires=['requests', 'six', 'apscheduler', 'lxml', 'cssselect', 'bs4', 'html5lib', 'pandas',
'rqopen-client', 'tushare', 'pyyaml', 'deprecation'],
'rqopen-client', 'tushare', 'pyyaml'],

extras_require={
'dev': [],
Expand Down
2 changes: 1 addition & 1 deletion strategyease_sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_account(self, client=None, timeout=None):
response = self.__send_request(request, timeout)
return response.json()

@deprecated(details="You should use get_portfolio")
# You should use get_portfolio
def get_positions(self, client=None, media_type=MediaType.DEFAULT, timeout=None):
request = Request('GET', self.__create_url(client, 'positions'))
request.headers['Accept'] = media_type.value
Expand Down

0 comments on commit 7e760d5

Please sign in to comment.