astrodbtoolkit / astrodbtoolkit/astrodb_utils
Consider exit_function decorator
- Dominant language
- Python
- Stars
- 0
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
We may want to have `exit_function` as a decorator. This would allow us to add something like `@exit_function` above any function definition that we want to use this for without having to explicitly update the function at all.
May be worth exploring in the future.
_Originally posted by @dr-rodriguez in https://github.com/astrodbtoolkit/astrodb_utils/pull/152#discussion_r2098867964_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the existing `exit_function` implementation and the discussion in pull request #152. Determine the decorator’s intended behavior, how it should apply to function definitions, and which existing uses would need to change. Done means the design is agreed and the relevant behavior is covered by tests.
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