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

Dump JSON values properly. #1660

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Dump JSON values properly. #1660

wants to merge 3 commits into from

Conversation

vshih
Copy link

@vshih vshih commented Jun 4, 2024

Description

Dump JSON values properly.

🎟 Issue(s)

Fixes #1311

🧪 Functional Testing

Ran make test, make lint

📸 Screenshots

Add screenshots to illustrate the validity of these changes.

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation

Copy link
Contributor

@neel-astro neel-astro left a comment

Choose a reason for hiding this comment

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

left a minor comment, but otherwise LGTM, thanks for the contribution, and sorry that this has missed our radar for so long

vs = vt
default:
// Re-encode complex types as JSON.
b, _ := json.Marshal(v)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add error handling here, just to be safe

@@ -42,7 +42,7 @@ var (

const (
airflowConnectionList = "airflow connections list -o yaml"
ariflowPoolsList = "airflow pools list -o yaml"
airflowPoolsList = "airflow pools list -o yaml"
Copy link
Contributor

Choose a reason for hiding this comment

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

appreciate squashing typos, and leaving the code that much better 🙂

@vshih vshih requested a review from jeremybeard as a code owner November 21, 2024 17:29
@vshih vshih requested a review from neel-astro November 21, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

astro dev objects export and json
2 participants