InstalledSamplers#
- class pymc_marketing.utils.InstalledSamplers(**data)[source]#
Schema for the samplers available to PyMC-Marketing and the default selection.
Methods
InstalledSamplers.__init__
(**data)Create a new model by parsing and validating input data from keyword arguments.
InstalledSamplers.construct
([_fields_set])InstalledSamplers.copy
(*[, include, ...])Returns a copy of the model.
InstalledSamplers.dict
(*[, include, ...])InstalledSamplers.json
(*[, include, ...])InstalledSamplers.model_construct
([_fields_set])Creates a new instance of the
Model
class with validated data.InstalledSamplers.model_copy
(*[, update, deep])!!! abstract "Usage Documentation"
InstalledSamplers.model_dump
(*[, mode, ...])!!! abstract "Usage Documentation"
InstalledSamplers.model_dump_json
(*[, ...])!!! abstract "Usage Documentation"
Generates a JSON schema for a model class.
Compute the class name for parametrizations of generic classes.
InstalledSamplers.model_post_init
(context, /)Override this method to perform additional initialization after
__init__
andmodel_construct
.InstalledSamplers.model_rebuild
(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
InstalledSamplers.model_validate
(obj, *[, ...])Validate a pydantic model instance.
InstalledSamplers.model_validate_json
(...[, ...])!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
InstalledSamplers.parse_file
(path, *[, ...])InstalledSamplers.parse_raw
(b, *[, ...])InstalledSamplers.schema
([by_alias, ...])InstalledSamplers.schema_json
(*[, by_alias, ...])InstalledSamplers.update_forward_refs
(**localns)InstalledSamplers.validate
(value)Attributes
model_computed_fields
model_config
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].model_extra
Get extra fields set during validation.
model_fields
model_fields_set
Returns the set of fields that have been explicitly set on this model instance.
available
default
versions