_Configuration.asBool

property _Configuration.asBool

the same values as pyagrum.config.typed[section, key] (converted according to the declared type of the key, whatever the accessor).

Warning

Deprecated after 3.0.0, use pyagrum.config.typed[section, key].

Type:

Historical accessor pyagrum.config.asBool[section, key]

Example

import pyagrum as gum

# deprecated: use gum.config.typed instead
gum.config.asBool["tensor", "withColors"]
# True

Class

_Configuration