langgenius/dify

try clean the unnecessary | None in code

Open

#35557 opened on Apr 24, 2026

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

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