• amyeroberts's avatar
    Deprecate models script (#30184) · 0f8fefd4
    amyeroberts authored
    * Add utility for finding candidate models for deprecation
    
    * Update model init
    
    * Make into configurable script
    
    * Fix path
    
    * Add sorting of base object alphabetically
    
    * Tidy
    
    * Refactor __init__ alpha ordering
    
    * Update script with logging
    
    * fix import
    
    * Fix logger
    
    * Fix logger
    
    * Get config file before moving files
    
    * Take models from CLI
    
    * Split models into lines to make easier to feed to deprecate_models script
    
    * Update
    
    * Use posix path
    
    * Print instead
    
    * Add example in module docstring
    
    * Fix up
    
    * Add clarifying comments; add models to DEPRECATE_MODELS
    
    * Address PR comments
    
    * Don't update relative paths on the same level
    0f8fefd4
models_to_deprecate.py 7.58 KB