class_docstr: Wrapper class for transformations to config dicts.
class_docstr_tok: ["Wrapper","class","for","transformations","to","config","dicts","."]
docstr: Defines sort order of version transformations. Sorted by:
  
  - version (ascending)
  - max_prefix_length (ascending) Process outer config transformations before inner.
  - longest_prefix (ascending) Order alphabetically by prefix if max_prefix_length equal.
docstr_tok: ["Defines","sort","order","of","version","transformations",".","Sorted","by",":","-","version","(","ascending",")","-","max_prefix_length","(","ascending",")","Process","outer","config","transformations","before","inner",".","-","longest_prefix","(","ascending",")","Order","alphabetically","by","prefix","if","max_prefix_length","equal","."]
code: def __lt__(self, other):
      """Defines sort order of version transformations. Sorted by:
  
      - version (ascending)
      - max_prefix_length (ascending) Process outer config transformations before inner.
      - longest_prefix (ascending) Order alphabetically by prefix if max_prefix_length equal.
      """
      return (
          self.pkg_version,
          self.max_prefix_length,
          self.longest_prefix,
      ) < (
          other.pkg_version,
          other.max_prefix_length,
          other.longest_prefix,
      )
  
file_path: ludwig/ludwig/utils/version_transformation.py
imports: import copy
  import logging
  from collections import defaultdict
  from functools import total_ordering
  from typing import Callable, Dict, List, Optional
  from packaging import version
label_desc: Use image node_id 6 for calling the VersionTransformation obj's underlying member method code with example usage: obj.__lt__(other) and returns: unknown