ObjectDescription
- class ase2sprkkr.asr.core.results.ObjectDescription(object_id, args, kwargs, constructor=None)[source]
Result object descriptor.
Class hierarchy
Constructor
- Parameters:
object_id (str)
args (tuple)
kwargs (dict)
constructor (str | None)
- __init__(object_id, args, kwargs, constructor=None)[source]
Initialize instance.
- Parameters:
object_id (str) – ID of object, eg. ‘asr.core.results::ASRResult’ as produced by
obj_to_id()
.args (tuple) – Arguments for object construction.
kwargs (dict) – Keyword arguments for object construction.
constructor (str or None) – ID of constructor object, ie. callable that can be used to instantiate object. If unset use constructor=object_id.
- property object_id
Get object id.
- property constructor
Get object id.
- property args
Get extra arguments supplied to constructor.
- property kwargs
Get extra arguments supplied to constructor.