Fixed airflow APIs caching issue (#7823)

* Fixed airflow APIs caching

* FIxed linting

* fixed py format

Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
This commit is contained in:
Onkar Ravgan 2022-10-03 05:14:12 +05:30 committed by GitHub
parent ca51fa0245
commit 0e8fa2eeed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def get_fn(blueprint: Blueprint) -> Callable:
the session
"""
json_request = request.get_json()
json_request = request.get_json(cache=False)
try:

View File

@ -46,7 +46,7 @@ def get_fn(blueprint: Blueprint) -> Callable:
Given a WorkflowSource Schema, create the engine
and test the connection
"""
json_request = request.get_json()
json_request = request.get_json(cache=False)
try:
test_service_connection = parse_test_connection_request_gracefully(