Skip to content
  • eileencodes's avatar
    9da8fef1
    Replace kwarg for displaying all configurations · 9da8fef1
    eileencodes authored
    In #42794 we added the ability to hide some configurations for database
    tasks. This is useful if you want your application to connect to a
    database but if it's a separate service not run any tasks against it.
    
    After adding this functionality I realized that the `configs_for`
    argument no longer makes sense. `include_replicas` would include all of
    them but ones with `database_tasks: false` aren't necessarily replicas.
    
    This change deprecates `include_replicas` in favor of `include_hidden`
    which will display all configurations. When not passed, this will
    continue to return all writing connections that we want to perform tasks
    on.
    9da8fef1
    Replace kwarg for displaying all configurations
    eileencodes authored
    In #42794 we added the ability to hide some configurations for database
    tasks. This is useful if you want your application to connect to a
    database but if it's a separate service not run any tasks against it.
    
    After adding this functionality I realized that the `configs_for`
    argument no longer makes sense. `include_replicas` would include all of
    them but ones with `database_tasks: false` aren't necessarily replicas.
    
    This change deprecates `include_replicas` in favor of `include_hidden`
    which will display all configurations. When not passed, this will
    continue to return all writing connections that we want to perform tasks
    on.
Loading