This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import collections | |
class ResolvingDict(collections.MutableMapping): | |
"""Find a key in current or parent node""" | |
def __init__(self, mapping, parent=None): | |
self.store = dict() | |
self.update(mapping) | |
self.parent = parent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright (c) 2014 Arista Networks, Inc. All rights reserved. | |
# Arista Networks, Inc. Confidential and Proprietary. | |
r""" | |
Simple SSH client library or utility if run directly. | |
----------------------------------------------------- | |
**Examples:** |
NewerOlder