dify/api/controllers
EvanYao826 422ebf59ea refactor: clean unnecessary | None annotations in entities (#35557)
Remove unnecessary '| None' type annotations where the default value
already guarantees a non-None type. This is the second batch of
cleanups following PR #36824.

Patterns changed:
- 'bool | None = False' -> 'bool = False'
- 'bool | None = Field(default=False)' -> 'bool = Field(default=False)'
- 'int | None = Field(default=0)' -> 'int = Field(default=0)'
- 'float | None = Field(default=0.0)' -> 'float = Field(default=0.0)'
- 'str | None = ""' -> 'str = ""'
- 'str | None = Field(default="")' -> 'str = Field(default="")'
- 'list[...] | None = Field(default_factory=list)' -> 'list[...] = Field(default_factory=list)'
2026-06-18 15:23:08 +08:00
..
common feat: rbac scaffold (#37443) 2026-06-15 05:16:41 +00:00
console refactor: clean unnecessary | None annotations in entities (#35557) 2026-06-18 15:23:08 +08:00
files feat(dify-agent): sync shell and back proxy updates (#37159) 2026-06-10 03:04:32 +00:00
inner_api feat: app deploy (#35670) 2026-06-17 09:28:43 +00:00
mcp chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00
openapi refactor: fix OpenAPI contract generation schemas (#37387) 2026-06-12 14:25:53 +00:00
service_api refactor: TagService to accept db.session explicitly (#37416) 2026-06-15 02:04:28 +00:00
trigger refactor(api): type webhook data extraction with RawWebhookDataDict TypedDict (#34486) 2026-04-03 02:24:17 +00:00
web refactor: fix OpenAPI contract generation schemas (#37387) 2026-06-12 14:25:53 +00:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00
API_SCHEMA_GUIDE.md refactor(api): migrate console.app.workflow to BaseModel (#36216) 2026-05-18 07:31:37 +00:00
fastopenapi.py chore(api): Fix several typing errors (#37119) 2026-06-06 01:44:32 +00:00