Skip to content

Conversation

@dstandish
Copy link
Contributor

Was crashing api server.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels May 21, 2025
auto_refresh_interval: int | None
hide_paused_dags_by_default: bool | None
instance_name: str
enable_swagger_ui: bool
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about other attributes? Can they not be None?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't know; but, webserver does not crash now.

page_size: int
auto_refresh_interval: int
hide_paused_dags_by_default: bool
page_size: int | None
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't these all meant to have defaults in the configs, so they shouldn't actually be null, right @pierrejeambrun

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this looks odd, I’ll take a look tomorrow.

@ashb
Copy link
Member

ashb commented May 21, 2025

Is this needed with #50902

@dstandish
Copy link
Contributor Author

Is this needed with #50902

tis not. closing

@dstandish dstandish closed this May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants