From 9702e70ea47a432052a4382cdb7b20358a0a1f4f Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Sun, 8 Jan 2023 21:32:16 -0800 Subject: [PATCH] Minor: Delete generated directory to delete older files (#9643) Co-authored-by: Pere Miquel Brull --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5266acf9ffe..faee842e951 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,7 @@ py_format_check: ## Check if Python sources are correctly formatted generate: ## Generate the pydantic models from the JSON Schemas to the ingestion module @echo "Running Datamodel Code Generator" @echo "Make sure to first run the install_dev recipe" + rm -rf ingestion/src/metadata/generated mkdir -p ingestion/src/metadata/generated python scripts/datamodel_generation.py $(MAKE) py_antlr js_antlr