apache / apache/airflow

Improve the error message when a required field from the API is not provided

Open
#57,721 12 comments 0 reactions 0 assignees View on GitHub
area:airflow-ctl area:API good first issue
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

Use pydantic `is_required()` and ask users to fill in before sending requests or building it. Auto-generate appropriate messages
Combine with #57634 if possible

Contributor guide

Open the contributing guide

Research direction

Start by locating the API validation path that handles required fields and inspect how Pydantic's is_required() is currently used. Compare the intended scope with issue #57634; done means missing required fields produce automatically generated messages telling users to fill them before sending requests or building the object.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.