Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, value: Union[int, Tuple[int, int], str]):
if isinstance(value, Collection):
value = '-'.join(value)
AbstractParameter.__init__(self, value)
def __init__(self, value: float):
AbstractParameter.__init__(self, value)