Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix asyncio issue and bump to v0.0.4 #14

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading