Disable `use_enum_values`

Open
#266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli, tooling

Research direction

Search the codebase for every use of use_enum_values and .value on enums, then inspect each occurrence to determine whether it is still needed. Run validate, /build --enrichments, and test as requested, and compare the generated output files with the existing results to confirm they remain unchanged.

Written by the indexing model from the issue text.

Description

  • Auto-converting enums to their string values in Pydantic leads to typing weirdness and some inconsistent logical checks
  • We should:
    • removes all instances of use_enum_values from the codebase
    • identifies wherever the .value is used and removes them, if applicable
    • Runs validate /build --enrichments / test to make sure everything "seems to work" AND produces the same output files.
Dominant language
Python
Stars
139
Forks
52
Avg merge
1h 16m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from splunk/contentctl

All issues in splunk/contentctl

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.