This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"name": "Apache Airflow - Github Codespaces", | |
"image": "ubuntu:22.04", | |
"features": { | |
"ghcr.io/devcontainers/features/git:1": {}, | |
"ghcr.io/devcontainers/features/docker-in-docker:2": { | |
"moby": false | |
} | |
}, | |
"postCreateCommand": "curl -LsSf https://astral.sh/uv/install.sh | sh && echo 'export PATH=\"/root/.cargo/bin:$PATH\"' >> ~/.bashrc && apt-get update && cd /workspaces/airflow && uv venv .venv -p 3.11 && source .venv/bin/activate && uv tool install prek && prek install -f && prek install -t pre-push && uv tool install -e ./dev/breeze && mkdir -p files/airflow-breeze-config && echo 'AIRFLOW__CORE__SIMPLE_AUTH_MANAGER_ALL_ADMINS=True' > files/airflow-breeze-config/environment_variables.env && echo 'AIRFLOW__API__EXPOSE_CONFIG=True' >> files/airflow-breeze-config/environment_variables.env", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e08f474a178048c0f245f5b4882ff09b9e4c062a Mon Sep 17 00:00:00 2001 | |
From: kalyanr <kalyan.ben10@live.com> | |
Date: Fri, 27 Jun 2025 00:25:23 +0530 | |
Subject: [PATCH] add additional logging | |
--- | |
airflow/providers/google/cloud/triggers/bigquery.py | 6 +++++- | |
1 file changed, 5 insertions(+), 1 deletion(-) | |
diff --git a/airflow/providers/google/cloud/triggers/bigquery.py b/airflow/providers/google/cloud/triggers/bigquery.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e08f474a178048c0f245f5b4882ff09b9e4c062a Mon Sep 17 00:00:00 2001 | |
From: kalyanr <kalyan.ben10@live.com> | |
Date: Fri, 27 Jun 2025 00:25:23 +0530 | |
Subject: [PATCH] add additional logging | |
--- | |
airflow/providers/google/cloud/triggers/bigquery.py | 6 +++++- | |
1 file changed, 5 insertions(+), 1 deletion(-) | |
diff --git a/airflow/providers/google/cloud/triggers/bigquery.py b/airflow/providers/google/cloud/triggers/bigquery.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from singer_sdk import typing as th | |
def json_to_schema(json_obj): | |
""" | |
Converts a JSON object to a Singer SDK schema using typing helpers. | |
Args: | |
json_obj (dict): The JSON object to convert. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
img_location = "C:\images\img.jpg" | |
img = cv2.imread(img_location) | |
cv2.imshow("Loaded Image", img) | |
cv2.waitkey(0) | |
cv2.imwrite("Saved_image.jpg", img) |