marcoaaguiar opened a new issue #10519:
URL: https://github.com/apache/airflow/issues/10519


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the 
following questions.
   Don't worry if they're not all applicable; just try to include what you can 
:-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   This questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**: 1.10.11
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: 
   - **OS** (e.g. from /etc/os-release): Windows 10 WSL (Ubuntu18.04.4)
   
   - **Kernel** (e.g. `uname -a`): Linux DESKTOP-8IVSCHM 4.4.0-18362-Microsoft 
#836-Microsoft Mon May 05 16:04:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   In the __Trigger Dag__ view for a specific Dag, the view asks for JSON 
formatted object as inpunt. 
   In the __Dag Runs__ view (list), it shows python formatted object in the 
__Conf__ column.
   
   Despite JSON and Python formating being quite similar they differ in respect 
to string quotation marks: json uses double-quotes(") and python uses single 
quote(').
   This makes annoying to copy a previously used config to a new trigger.
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**:
   
   I would expect a consistent read/write of Dag Run configuration. 
   In particular require a Json in the Trigger Dag view, and display a Json in 
the DAG Runs view.
   
   **How to reproduce it**:
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access 
to your cluster or dags.
   
   If you are using kubernetes, please attempt to recreate the issue using 
minikube or kind.
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a 
youtube video of the bug in action
   
   You can include images using the .md style of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an 
unlisted youtube video with the resulting .mov file.
   
   --->
   
   1. Trigger a DAG manually passing a Json dict `{"test": "this is a test"}`.
   2. Go to Dag Runs view, it shows as `{'test': 'this is a test'}`
   
   
   **Anything else we need to know**:
   
   This is not application breaking issue, more a quality of life/usability 
issue. 
   I imagine it would be a minor change and could be tagged as an first issue
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to