IsInstance

(class from pyomo.common.config)

class pyomo.common.config.IsInstance(*bases, document_full_base_names=False)[source]

Bases: object

Domain validator for type checking.

Parameters:
  • *bases (tuple of type) – Valid types.

  • document_full_base_names (bool, optional) – True to prepend full module qualifier to the name of each member of bases in self.domain_name() and/or any error messages generated by this object, False otherwise.

__init__(*bases, document_full_base_names=False)[source]

Methods

__init__(*bases[, document_full_base_names])

domain_name()

Member Documentation