File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22from airflow .providers .docker .operators .docker import DockerOperator
33from datetime import datetime , timedelta
44
5+ from airflow .models import Variable
6+
57default_args = {
68 'owner' : 'airflow' ,
79 'retries' : 1 ,
Original file line number Diff line number Diff line change 22import logging
33import os
44
5- from airflow .models import Variable
6-
75BASE_URL = os .getenv ('INFERENCE_URL' )
86NEO4J_DB = os .getenv ('NEO4J_DATABASE' )
97API_TOKEN = os .getenv ('API_TOKEN' )
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ FROM python:3.9-slim
22
33WORKDIR /app
44
5- RUN pip install --no-cache-dir "apache-airflow==2.9.1" \
6- --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.9.1/constraints-3.9.txt" \
7- requests
5+ RUN pip install --no-cache-dir requests
86
97COPY ../../src/airflow/src/airflow_inference.py .
108
You can’t perform that action at this time.
0 commit comments