Skip to content

Commit

Permalink
fix ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
westonplatter committed Aug 25, 2018
1 parent 3a8ea54 commit da4fc26
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions fast_arrow/resources/tag.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
from fast_arrow.api_requestor import get


class Tag(object):

@classmethod
def fetch_instruments_by_tag(cls, bearer, tag):
def fetch_instruments_by_tag(cls, client, tag):
base_url = "https://api.robinhood.com/midlands/tags/tag/"
url = "{}{}/".format(base_url, tag.lower())
res = get(url, bearer=bearer)
res = client.get(url)
result = (res["instruments"] if "instruments" in res else [])
return result

0 comments on commit da4fc26

Please sign in to comment.