langgenius/dify

try clean the unnecessary | None in code

Open

#35,557 opened on Apr 24, 2026

View on GitHub
 (6 comments) (1 reaction) (1 assignee)TypeScript (22,210 forks)batch import
good first issue

Repository metrics

Stars
 (141,412 stars)
PR merge metrics
 (Avg merge 2d 1h) (508 merged PRs in 30d)

Description

They are annoying.

We can check the real case to

  1. Give a proper default value
  2. Just remove | None if possible

Contributor guide