New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type converting config #1212

merged 4 commits into from Jun 14, 2018


None yet
2 participants

offbyone commented May 16, 2018

In order to implement fabric/fabric#1753 I'm adding a configuration helper into paramiko to make it more reasonable to get config values in mapped types (yes -> True &c)

as_bool(key) and as_int(key) for the current raw string values in
def __init__(self, *args, **kwargs):

This comment has been minimized.


bitprophet May 16, 2018


Do we still need this now that we're subclassing just dict and not UserDict?

This comment has been minimized.


offbyone May 16, 2018


Good question. Probably not, but it doesn't hurt.


This comment has been minimized.


bitprophet commented May 16, 2018

  • When you have a sec, please try rebasing or merging onto latest master, which should get rid of all the incidentals in dev-reqs.txt etc.
  • Left a line note re: dunder-init, see above
  • Can you cave to my unreasonable formatting demands and make your docstrings of this format?
    hello yes this is text

@bitprophet bitprophet merged commit 54384b3 into paramiko:master Jun 14, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

bitprophet added a commit that referenced this pull request Jun 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment