From 288a835ce949f9d53745a52e615f0db6bf52bf49 Mon Sep 17 00:00:00 2001 From: Jordan Baxter Date: Wed, 11 Sep 2024 11:03:12 -0700 Subject: [PATCH] Made script look for schemas in output dir. --- interface_gen/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface_gen/generate.py b/interface_gen/generate.py index 6c1398a..4dae634 100644 --- a/interface_gen/generate.py +++ b/interface_gen/generate.py @@ -57,7 +57,7 @@ def from_avro_idl(self, output_dir: Path) -> 'Schemas': sdir = output_dir / version_dir / "schema" script = toolchain.script_dir().parent / "avro" / "bin" / "avro-idl.sh" subprocess.check_call([str(script), str(avdl), str(sdir)]) - return self.all() + return self.find_in_path(output_dir) # --> Action methods