Open
Description
This piece of code (
) leads to the following exception for repeated string fields.I'm getting this error in Exonum launcher for the config field:
exonum_launcher.instances.instance_spec_loader.InstanceSpecLoadError: Couldn't get a proto description for artifact: dit-votings-service, error: '<=' not supported between instances of 'int' and 'str'
I would suggest changing the lambda in the following way:
all(map(lambda x: 0 <= x <= 255 if isinstance(x, int) else False, value))
Metadata
Metadata
Assignees
Labels
No labels