use NewType instead of str everywhere
Open
project#dify
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 24.6k
- Avg merge
- 22h 9m
- Merged PRs (30d)
- 610
Description
https://docs.python.org/3/library/typing.html#newtype
@dosu what do you think.
Contributor guide
Research direction
Read the linked Python typing.NewType documentation first, then inspect the repository’s Python code to determine what “everywhere” covers. Define the affected annotations and compatibility boundaries before making changes; done should mean the agreed scope consistently uses NewType and the relevant checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100