{ } Raw JSON

bundles / astropy latest / astropy / extern / configobj / validate / Validator / get_default_value

function

astropy.extern.configobj.validate:Validator.get_default_value

source: /astropy/extern/configobj/validate.py:729

Signature

def get_default_value(self, check)

Summary

Given a check, return the default value for the check (converted to the right type).

Extended Summary

If the check doesn't specify a default value then a KeyError will be raised.

Aliases

  • astropy.config.configuration.validate.Validator.get_default_value