chore: result-detail.cpu alias
All checks were successful
build / build (push) Successful in 2m31s
build / trigger-build-image (push) Successful in 9s

This commit is contained in:
张泊明518370910136 2025-06-26 07:36:40 -04:00
parent 8f5b23555c
commit f4248a59a5
GPG Key ID: D47306D7062CDA9D

View File

@ -27,7 +27,7 @@ from joj3_config_generator.models.repo import Groups
class ParserResultDetail(BaseModel): class ParserResultDetail(BaseModel):
cpu_time: bool = Field( cpu_time: bool = Field(
True, validation_alias=AliasChoices("cpu-time", "cpu_time") True, validation_alias=AliasChoices("cpu-time", "cpu_time", "cpu")
) # Display CPU time ) # Display CPU time
time: bool = True # Display clock time time: bool = True # Display clock time
mem: bool = True # Display memory usage mem: bool = True # Display memory usage