_Configuration.get

_Configuration.get(section, option)

Give the value associated to section.option. Preferably use __getitem__ and __setitem__.

Parameters:
  • section (str) – The section.

  • option (str) – The property.

Returns:

The value (as string).

Return type:

str

Example

import pyagrum as gum

gum.config.get("tensor", "visibleDigits")  # same as gum.config["tensor", "visibleDigits"]
# '4'

Class

_Configuration