diff --git a/llama_extract/base.py b/llama_extract/base.py index fe4ef48..036b4b1 100644 --- a/llama_extract/base.py +++ b/llama_extract/base.py @@ -271,7 +271,7 @@ def create_schema( ) -> ExtractionSchema: """Create a schema.""" try: - return asyncio.run(self.acreate_schema(name, data_schema, project_id)) + return asyncio_run(self.acreate_schema(name, data_schema, project_id)) except RuntimeError as e: if nest_asyncio_err in str(e): raise RuntimeError(nest_asyncio_msg) diff --git a/pyproject.toml b/pyproject.toml index a156584..e1cbb0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "llama-extract" -version = "0.0.3" +version = "0.0.4" description = "Infer schema and extract data from unstructured files" authors = ["Logan Markewich "] license = "MIT"