Skip to content

Commit

Permalink
Merge pull request #14 from run-llama/suo/v0.0.4
Browse files Browse the repository at this point in the history
Fix asyncio issue and bump to v0.0.4
  • Loading branch information
Disiok authored Jul 25, 2024
2 parents 7936419 + 7919ace commit 7fa93af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llama_extract/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 7fa93af

Please sign in to comment.