Exemplo n.º 1
0
 def __init__(self, value: int):
     AbstractParameter.__init__(self, value)
Exemplo n.º 2
0
 def __init__(self, value: Union[str, List[str]]):
     # Transform the list into a comma-separated string to store self.value
     # in the format that is closest to what cruise-control expects
     if type(value) == list:
         value = ','.join(value)
     AbstractParameter.__init__(self, value)
Exemplo n.º 3
0
 def __init__(self, value: Union[str, int]):
     AbstractParameter.__init__(self, value)
Exemplo n.º 4
0
 def __init__(self, value: Union[bool, str]):
     AbstractParameter.__init__(self, value)
 def __init__(self, value: Union[str, Collection[str]]):
     if isinstance(value, Collection) and type(value) != str:
         value = ','.join(value)
     AbstractParameter.__init__(self, value)
 def __init__(self, value: Union[str, re.Pattern]):
     AbstractParameter.__init__(self, value)