code
stringlengths
3
6.57k
super()
__new__(cls, "TaskParameter", (str,)
IntArrayParameterMeta(CommandParameterMeta)
__init__(self, size: int)
__new__(cls, size: int)
__init__(self, value)
isinstance(value, list)
enumerate(value)
int(item)
self.extend(value)
serialize()
get_default()
range(size)
super()
__new__(cls, "IntArrayParameter", (list,)
RangeParameterMeta(CommandParameterMeta)
__init__(self, start: int, end: int, increment: int = 1)
__new__(cls, start: int, end: int, increment: int = 1)
serialize()
get_default()
super()
__new__(cls, "RangeParameter", (int,)
SelectParameterMeta(CommandParameterMeta)
__init__(self, *list_options, **options)
__new__(cls, *list_options, **options)
serialize()
get_default()
list(options.values()
super()
__new__(cls, "SelectParameter", (str,)
RadioSelectParameterMeta(CommandParameterMeta)
__init__(self, *list_options, **options)
__new__(cls, *list_options, **options)
serialize()
get_default()
list(options.values()
super()
__new__(cls, "RadioSelectParameter", (str,)
MultipleSelectParameterMeta(CommandParameterMeta)
__init__(self, *list_options, **options)
__new__(cls, *list_options, **options)
serialize()
get_default()
list(options.values()
super()
__new__(cls, "SelectParameter", (list,)
ListParameter(list)
__init__(self, value)
ListParameterMeta()
isinstance(value, list)
self.extend(data)
PathParameterMeta(CommandParameterMeta)
__init__(self, extensions=None, multiple=False)
__new__(cls, extensions=None, multiple=False)
__init_list__(self, value)
isinstance(value, list)
enumerate(value)
pathlib.Path(item)
self.extend(value)
serialize()
get_default()
super()
__new__(cls, "PathParameter", (list,)
super()
type(pathlib.Path()
ListParameterMeta(CommandParameterMeta)
__init__(self, parameter_type)
__new__(cls, parameter_type)
__init__(self, value)
isinstance(value, list)
enumerate(value)
parameter_type(item)
self.extend(value)
serialize()
isinstance(parameter_type, CommandParameterMeta)
parameter_type.serialize()
isinstance(parameter_type, type)
get_default()
super()
__new__(cls, "ListParameter", (list,)
TextParameterMeta(CommandParameterMeta)
__init__(self, color=None)
__new__(cls, color=None)
serialize()
get_default()
super()
__new__(cls, "ListParameter", (str,)
input()
len(N)
int(input()
range(K + 1)
range(L + 1)
zip(range(L)
map(int, N)
range(K)
range(1, 10)
print(sum(dp[-1][K])
patch(object)
fudge.patch('os.remove')
test(fake_remove)