Skip to content

Break up experiments/constants.py #16722

Description

@freshstrangemusic

constants.py has become a dumping ground:

  • Application configurations classes
  • Channels
  • Randomization Units
  • Changelog events
  • Firefox Labs metadata
  • The Application text choices
  • Application configuration instances
  • The NimbusConstants class:
  • a bunch of unrelated constants
  • a bunch of unrelated TextChoices
  • a hojillion error strings

This should be split up by use / function:

  • Applications should go in a new "applications" Django app (experimenter/applications)
  • Errors should go relative to where they are triggered (e.g., serializer errors should go in api/errors.py or similar)

etc.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions