How to use the cruise-control-client.cruisecontrolclient.client.CCParameter.Parameter.AbstractParameter.__init__ function in cruise-control-client

To help you get started, we’ve selected a few cruise-control-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github linkedin / cruise-control / cruise-control-client / cruisecontrolclient / client / CCParameter / Parameter.py View on Github external
def __init__(self, value: Union[int, Tuple[int, int], str]):
        if isinstance(value, Collection):
            value = '-'.join(value)
        AbstractParameter.__init__(self, value)