src/core/hydrodynamics/factory.py
def create(model_name: str, *args, **kwargs) -> HydrodynamicProtocol:
        """
        Creates a `HydrodynamicProtocol` based on the model_name type and the dictionary of
        values (if any) given.

        Args:
            model_name (str): Model type name.

        Returns:
            HydrodynamicProtocol: Instance of the requested model.
        """
        m_type: HydrodynamicProtocol = HydrodynamicsFactory.get_hydrodynamic_model_type(
            model_name
        )
        return m_type(**kwargs)

        Creates a `HydrodynamicProtocol` based on the model_name type and the dictionary of
        values (if any) given.

        Args:
            model_name (str): Model type name.

        Returns:
            HydrodynamicProtocol: Instance of the requested model.
        
Creates a `HydrodynamicProtocol` based on the model_name type and the dictionary of
values (if any) given.
Creates a ` HydrodynamicProtocol ` based on the model_name type and the dictionary of values ( if any ) given .
def create(model_name: str, *args, **kwargs) -> HydrodynamicProtocol:
        m_type: HydrodynamicProtocol = HydrodynamicsFactory.get_hydrodynamic_model_type(
            model_name
        )
        return m_type(**kwargs)
def create ( model_name : str , * args , ** kwargs ) -> HydrodynamicProtocol : m_type : HydrodynamicProtocol = HydrodynamicsFactory . get_hydrodynamic_model_type ( model_name ) return m_type ( ** kwargs )
Creates a `HydrodynamicProtocol` based on the model_name type and the dictionary of
values (if any) given.
Creates a ` HydrodynamicProtocol ` based on the model_name type and the dictionary of values ( if any ) given .
"""
        Creates a `HydrodynamicProtocol` based on the model_name type and the dictionary of
        values (if any) given.

        Args:
            model_name (str): Model type name.

        Returns:
            HydrodynamicProtocol: Instance of the requested model.
        """
Instance of the requested model.
Instance of the requested model .
HydrodynamicProtocol
model_name
str
Model type name.
Model type name .