Skip to content

Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request #52411

Open
@Prab-27

Description

@Prab-27

Apache Airflow version

3.0.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

jobs operation list method params :

params = {"job_type": job_type, "hostname": hostname, "is_alive": is_alive}

airflowctl jobs list returns airflowctl.api.operations.ServerResponseError: Client error message: {'detail': [{'type': 'bool_parsing', 'loc': ['query', 'is_alive'], 'msg': 'Input should be a valid boolean, unable to interpret input', 'input': ''}]}

What you think should happen instead?

airflowctl jobs list returns a list of all jobs - JobCollectionResponse

How to reproduce

Run breeze start-airflow
Auth login using Username and password
Run airflowctl jobs list in CLI

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else?

Related discussion: here and here

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions