NebulousLabs / python-skynet

Library for integrating Skynet with Python applications
MIT License
19 stars 11 forks source link

It will be helpful if app developer gets an option to overwrite "default options" in sdk #2

Closed hellojags closed 4 years ago

hellojags commented 4 years ago

It will be helpful if app developer gets an option to overwrite "default portal endpoint" in sdk '': 'https://siasky.net', 'portalUploadPath' : '/api/skyfile', 'portalFileFieldname' : 'file', 'customFilename':''

peterjan commented 4 years ago

I believe you have this option already. It's just a default param def UploadFile(path, opts=None): but you can pass in your own options if you want. Please close this issue if this is sufficient for your requirements.

hellojags commented 4 years ago

Tested with latest SiaSkynet package and it worked fine.thanks you PJ