Skip to content

Support list / tuple of strings for format #16

@nhairs

Description

@nhairs

Many other JSON formatting libraries allow or directly use a list of strings for the format. This suggests that it might be worth us adding in support for it.

Pros:

  • No parsing means no testing for a correct format - we can directly use the list.
  • Allows for clearer config when using dictConfig with the () user-defined object indicator, or instantiating within Python itself.

Cons:

  • Must always use the () custom class indicator when using dictConfig.
  • Not compatible with fileConfig.
  • Not compatible with other formatters

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions