astromodels.core.property module

class astromodels.core.property.FunctionProperty(name: str, desc: str, value: Optional[str] = None, allowed_values: Optional[List[Any]] = None, defer: bool = False, eval_func: Optional[str] = None)[source]

Bases: PropertyBase

class astromodels.core.property.PropertyBase(name: str, desc: str, value: Optional[str] = None, allowed_values: Optional[List[str]] = None, defer: bool = False, eval_func: Optional[str] = None)[source]

Bases: Node

property description: Optional[str]

Return a description of this parameter

Returns

a string cointaining a description of the meaning of this parameter

duplicate() FunctionProperty[source]

Returns an exact copy of the current property

property is_deferred: bool
to_dict(minimal=False) Dict[str, Any][source]

Returns the representation for serialization

property value: Any

Get and sets the current value for the propert

exception astromodels.core.property.SettingUnknownValue[source]

Bases: RuntimeError