update wording in exception message (python abstract) (#17437)

This commit is contained in:
William Cheng 2023-12-20 16:45:54 +08:00 committed by GitHub
parent 1ccabeec64
commit aeb6fcbb8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1088,7 +1088,7 @@ public abstract class AbstractPythonCodegen extends DefaultCodegen implements Co
|| "float".equals(mapNumberTo)) {
this.mapNumberTo = mapNumberTo;
} else {
throw new IllegalArgumentException("mapNumberTo value must be Union[StrictFloat, StrictInt], StrictStr or float");
throw new IllegalArgumentException("mapNumberTo value must be Union[StrictFloat, StrictInt], StrictFloat or float");
}
}