MicroStrategy / mstrio-py

Python integration for MicroStrategy
Apache License 2.0
90 stars 60 forks source link

refactor common header/cookie params to cut down copy-paste #4

Closed wrschneider closed 4 years ago

wrschneider commented 5 years ago

This takes advantage of the Python ** operator for keyword arg expansion from a dict so you don't have to repeat the same headers=xxx, cookies=xxx, verify=xxx everywhere

drzamich commented 4 years ago

Thank you @wrschneider for your contribution. Right now we are working on a major codebase update, therefore we cannot accept this PR directly, as it would create a lot of conflicts. We will however take your remark into consideration.