Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test_python_client.py #47460

Merged
merged 1 commit into from
Mar 6, 2025
Merged

Conversation

pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Mar 6, 2025

Clean the module

  • TriggerDagRun failures are not omitted anymore (logical date is passed down and we are not receiving a 422 anymore)
  • Use the appropriate AuthManager, the server is actually using FabAuthManager so we cannot be using the SimpleAuthManager to generate the token on the client side. AIP-84 | Fix test_python_client after Adding Permission to API #47388 just didn't work and it was highlighted in AIP-84 | Add Auth for Config #47208.
  • Updated the doc following the auth backend removal and use of AuthManager token generation instead.

@pierrejeambrun pierrejeambrun self-assigned this Mar 6, 2025
@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Mar 6, 2025
@potiuk potiuk merged commit 3bcc725 into apache:main Mar 6, 2025
35 checks passed
@jason810496
Copy link
Contributor

Thank @pierrejeambrun! I forgot that the server is actually using FabAuthManager, and should set token in headers instead of api_key 😓

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants