vmray: improve comments

This commit is contained in:
Mike Hunhoff
2024-07-12 19:06:06 -06:00
parent 1f5b6ec52c
commit 26b5870ef4
+4 -4
View File
@@ -72,7 +72,7 @@ def validate_param_list(value):
return [value]
# convert the input value to a Python int type before inner validation is called
# convert the input value to a Python int type before inner validation (int) is called
HexInt = Annotated[int, BeforeValidator(validate_hex_int)]
@@ -88,9 +88,9 @@ class Param(BaseModel):
deref: Optional[ParamDeref] = None
# params may be stored as a list of Param or a single Param so we ensure
# the input value to Python list type before the inner validation is called
# to make it much easier to parse later
# params may be stored as a list of Param or a single Param so we convert
# the input value to Python list type before the inner validation (List[Param])
# is called
ParamList = Annotated[List[Param], BeforeValidator(validate_param_list)]