optiprofiler.legacy_compat.LegacyFeatureImport#
- class optiprofiler.legacy_compat.LegacyFeatureImport(feature, n_runs, declared_name, declared_spec, source)[source]#
The result of
import_legacy_feature().featureis the canonical specification built from the effective stages and their stage-local options; its declaration is the one the historical object recorded (1.x bridge objects) and otherwise unknown (feature.declared.routeisNone,feature.declared_nameisNone);n_runsis the run count retained by the historical object (a resolved value, not evidence of an explicit request;Nonewhen none was stored);declared_nameanddeclared_specare the historical declaration verbatim when the object recorded one andNoneotherwise;sourceis the historical class path.Methods