aurelg/feedspora

Store the `account` dict in the GenericClient

Closed this issue · 1 comments

Currently, account parameters are read from the parameter file as a dict. Some of its key/value are manually extracted and stored in the GenericClient instance by its set_common_opts member function.

The number of account parameters is increasing. Their manual copy and extraction looks like an unnecessary step. Instead, the account dict could be stored as is in the GenericClient. Such an code would be simpler, more abstract and flexible.

Originally posted by @aurelg in https://github.com/_render_node/MDIzOlB1bGxSZXF1ZXN0UmV2aWV3VGhyZWFkMTQ0ODM5MDI5OnYy/pull_request_review_threads/discussion

Solved w/ PR #52