We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31aaab9 commit e9a58c8Copy full SHA for e9a58c8
2 files changed
src/airflow/src/airflow_inference.py
@@ -2,6 +2,8 @@
2
import logging
3
import os
4
5
+from airflow.models import Variable
6
+
7
BASE_URL = os.getenv('INFERENCE_URL')
8
NEO4J_DB = os.getenv('NEO4J_DATABASE')
9
API_TOKEN = os.getenv('API_TOKEN')
tools/images/Dockerfile-airflow
@@ -2,7 +2,9 @@ FROM python:3.9-slim
WORKDIR /app
-RUN pip install --no-cache-dir requests
+RUN pip install --no-cache-dir "apache-airflow==2.9.1" \
+ --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.9.1/constraints-3.9.txt" \
+ requests
COPY ../../src/airflow/src/airflow_inference.py .
10
0 commit comments