Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #60 from timkpaine/filter
Browse files Browse the repository at this point in the history
fixes #46
  • Loading branch information
timkpaine authored Jun 21, 2019
2 parents fe13d3d + c24e4d4 commit 5db652d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyEX/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from functools import partial
from functools import partial, wraps
from .common import PyEXception, _getJson, _USAGE_TYPES

from .refdata import symbols, iexSymbols, mutualFundSymbols, otcSymbols, internationalSymbols, fxSymbols, optionsSymbols, \
Expand Down Expand Up @@ -311,7 +311,7 @@ def __init__(self, api_token=None, version='beta'):

self._version = version
for name, method in _INCLUDE_FUNCTIONS:
setattr(self, name, partial(self.bind, meth=method))
setattr(self, name, wraps(method)(partial(self.bind, meth=method)))
getattr(self, name).__doc__ = method.__doc__

def bind(self, *args, meth=None, **kwargs):
Expand Down

0 comments on commit 5db652d

Please # to comment.