maya.utils.converter.report =========================== .. py:module:: maya.utils.converter.report .. autoapi-nested-parse:: Conversion report data structures. Provides structured reporting of conversion results including applied rules, helper expansions, and unsupported operations. Classes ------- .. autoapisummary:: maya.utils.converter.report.ConversionEntry maya.utils.converter.report.ConversionReport maya.utils.converter.report.EntryType Module Contents --------------- .. py:class:: ConversionEntry A single entry in the conversion report. .. py:attribute:: converted_code :type: Optional[str] :value: None .. py:attribute:: entry_type :type: EntryType .. py:attribute:: line_number :type: int .. py:attribute:: message :type: Optional[str] :value: None .. py:attribute:: original_code :type: str .. py:attribute:: rule_name :type: Optional[str] :value: None .. py:class:: ConversionReport Complete report of a code conversion operation. .. py:method:: summary() -> str Generate a human-readable summary of the conversion. .. py:attribute:: converted_code :type: str .. py:attribute:: entries :type: List[ConversionEntry] :value: [] .. py:property:: failure_count :type: int Count of failed or unsupported conversions. .. py:property:: helpers_expanded :type: List[ConversionEntry] Return all entries where a blessed helper was expanded. .. py:property:: rules_applied :type: List[ConversionEntry] Return all entries where a rule was successfully applied. .. py:attribute:: source_code :type: str .. py:property:: success_count :type: int Count of successfully converted expressions. .. py:property:: unsupported_operations :type: List[ConversionEntry] Return all unsupported operations that were not converted. .. py:property:: warnings :type: List[ConversionEntry] Return all warning entries. .. py:class:: EntryType(*args, **kwds) Bases: :py:obj:`enum.Enum` Classification of conversion entry types. .. py:attribute:: HELPER_EXPANDED :value: 'helper_expanded' .. py:attribute:: INFO :value: 'info' .. py:attribute:: RULE_APPLIED :value: 'rule_applied' .. py:attribute:: UNSUPPORTED :value: 'unsupported' .. py:attribute:: WARNING :value: 'warning'