nemo_microservices.types.data_designer.person_sampler_params#
Module Contents#
Classes#
API#
- class nemo_microservices.types.data_designer.person_sampler_params.PersonSamplerParams(/, **data: Any)#
Bases:
nemo_microservices._models.BaseModel- age_range: List[int] | None#
None
If specified, then only synthetic people within this age range will be sampled.
- city: str | List[str] | None#
None
If specified, then only synthetic people from these cities will be sampled.
- locale: str | None#
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, …
- sex: str | None#
None
If specified, then only synthetic people of the specified sex will be sampled.
- state: str | List[str] | None#
None
Only supported for ‘en_US’ locale.
If specified, then only synthetic people from these states will be sampled. States must be given as two-letter abbreviations.
- with_synthetic_personas: bool | None#
None
If True, then append synthetic persona columns to each generated person.