feat: improves and initilize player pipeline
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
from pydantic import BaseModel, Field, ConfigDict
|
||||
from typing_extensions import List, Literal
|
||||
from pydantic import BaseModel, ConfigDict, Field
|
||||
from typing_extensions import Literal
|
||||
|
||||
|
||||
class DiceConfig(BaseModel):
|
||||
"""
|
||||
Data Transfer Object for the Dice configuration.
|
||||
"""
|
||||
|
||||
model_config = ConfigDict(
|
||||
frozen=True,
|
||||
)
|
||||
@@ -15,10 +16,10 @@ class DiceConfig(BaseModel):
|
||||
..., description="Name of the output file for the simulation results"
|
||||
)
|
||||
dens: float = Field(..., description="Density of the system")
|
||||
nmol: List[int] = Field(
|
||||
nmol: list[int] = Field(
|
||||
..., description="List of the number of molecules for each component"
|
||||
)
|
||||
nstep: List[int] = Field(
|
||||
nstep: list[int] = Field(
|
||||
...,
|
||||
description="List of the number of steps for each component",
|
||||
min_length=2,
|
||||
|
||||
Reference in New Issue
Block a user