feat: improves and initilize player pipeline

This commit is contained in:
2026-03-05 00:33:48 -03:00
parent 06ae9b41f0
commit 53eb34a83e
13 changed files with 248 additions and 60 deletions

View File

@@ -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,