MovedModuleInfo

(class from pyomo.common.deprecation)

class pyomo.common.deprecation.MovedModuleInfo(old_name, new_name, msg, logger, version, remove_in)

Bases: tuple

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

logger

Alias for field number 3

msg

Alias for field number 2

new_name

Alias for field number 1

old_name

Alias for field number 0

remove_in

Alias for field number 5

version

Alias for field number 4

Member Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

logger: str

Alias for field number 3

msg: str

Alias for field number 2

new_name: str

Alias for field number 1

old_name: str

Alias for field number 0

remove_in: str

Alias for field number 5

version: str

Alias for field number 4