pcdshub / pcdshub/pcdsutils

HelpfulIntEnum - _missing_ handler?

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

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
6
Avg merge
7d 11h
Merged PRs (30d)
1

Description

For further consideration, brought up in #44:

One last thought- did we also want to have some handler on _missing_? I think this is distinct in that in runs on the case where we do my_enum(4) as well as on some set of the existing cases? I'm having trouble finding the details and also having trouble identifying a place where this saves us, but it is worth thinking about.

Originally posted by @ZLLentz in https://github.com/pcdshub/pcdsutils/issues/44#issuecomment-1028427085

Contributor guide

Open the contributing guide

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.

Research direction

Start by reading the discussion in issue #44 and the referenced missing handler behavior for HelpfulIntEnum. Determine whether a handler is wanted, where it would apply, and what observable behavior or tests would define completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.