nemo_microservices.types.data_designer.person_from_faker_sampler_params#

Module Contents#

Classes#

API#

class nemo_microservices.types.data_designer.person_from_faker_sampler_params.PersonFromFakerSamplerParams(/, **data: typing.Any)#

Bases: nemo_microservices._models.BaseModel

age_range: Optional[List[int]]#

None

If specified, then only synthetic people within this age range will be sampled.

city: Union[str, List[str], None]#

None

If specified, then only synthetic people from these cities will be sampled.

locale: Optional[str]#

None

Locale string, determines the language and geographic locale that a synthetic person will be sampled from. E.g, en_US, en_GB, fr_FR, …

sampler_type: Optional[typing_extensions.Literal[person_from_faker]]#

None

sex: Optional[str]#

None

If specified, then only synthetic people of the specified sex will be sampled.