storj-archived / storj-python-sdk

Deprecated. A Python SDK for the Storj API.
https://storj.io
MIT License
23 stars 19 forks source link

fix 109 #113

Closed steenzout closed 7 years ago

steenzout commented 7 years ago
coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling e0d7fb62a60d820eb64cf55c873b9e459288c200 on steenzout:issue_109 into on Storj:develop.

steenzout commented 7 years ago

109 is fixed (for sure), #111 maybe, #112 is also fixed here.

lakewik commented 7 years ago
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/lakewik/PycharmProjects/storjguibeta/4/storj-gui-client/UI/file_download.py", line 479, in get_shard_pointers
    skip=shard_index)
  File "/usr/local/lib/python2.7/dist-packages/storj/http.py", line 40, in decorator
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/storj/http.py", line 400, in file_pointers
    pull_token = self.token_create(bucket_id, operation='PULL')
  File "/usr/local/lib/python2.7/dist-packages/storj/http.py", line 40, in decorator
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/storj/http.py", line 740, in token_create
    json={'operation': operation}))
TypeError: __init__() got an unexpected keyword argument 'token'

while creating token, only in this version

steenzout commented 7 years ago

@lakewik so you need the token or the id keyword argument?

steenzout commented 7 years ago

oh, I see... 1 sec...

steenzout commented 7 years ago

@lakewik fixed.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 23c8f942c78537f089230b4eeb89a82eb8b53b4c on steenzout:issue_109 into on Storj:develop.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 8ad53b0762ecc924e093af1c491035170ad4c7ce on steenzout:issue_109 into on Storj:develop.