From 81c70ad21ed856ec37e7837f96704448d3e7e365 Mon Sep 17 00:00:00 2001 From: "Carlos D. Escobar-Valbuena" Date: Fri, 9 Feb 2024 19:55:24 +0000 Subject: [PATCH] chore: updated package.json --- package.json | 8 ++++---- vortex/api/data_models/__init__.py | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 47e6bfe..91af029 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "vortex-flows-daemon": "dagster-daemon run", "next-dev": "next dev", "next-start": "next start", - "dev": "pip install -r requirements.txt && concurrently \"npm run next-dev\" \"npm run host-api\" \"npm run vortex-flows-webserver\" \"npm run vortex-flows-daemon\"", - "start": "pip install -r requirements.txt && concurrently \"npm run next-start\" \"npm run host-api\" \"npm run vortex-flows-webserver\" \"npm run vortex-flows-daemon\"", - "build": "next build", - "lint": "next lint" + "dev": "pip install . && concurrently \"npm run next-dev\" \"npm run host-api\" \"npm run vortex-flows-webserver\" \"npm run vortex-flows-daemon\"", + "start": "pip install . && concurrently \"npm run next-start\" \"npm run host-api\" \"npm run vortex-flows-webserver\" \"npm run vortex-flows-daemon\"", + "build": "next build && pip install .", + "lint": "next lint && black ." }, "dependencies": { "@types/node": "20.2.4", diff --git a/vortex/api/data_models/__init__.py b/vortex/api/data_models/__init__.py index 3c81397..0a18e27 100644 --- a/vortex/api/data_models/__init__.py +++ b/vortex/api/data_models/__init__.py @@ -1,11 +1,14 @@ # %% import os from datetime import datetime +from dotenv import load_dotenv from sqlalchemy import JSON, Column, DateTime, Integer, String, Text, create_engine from sqlalchemy.engine import URL from sqlalchemy.orm import declarative_base, sessionmaker +load_dotenv() + # from decouple import config