Skip to content

Commit

Permalink
fix: env roots, imports root (#112)
Browse files Browse the repository at this point in the history
* fix: env roots, imports root

* fix: api route
  • Loading branch information
chloedia authored Nov 7, 2024
1 parent 05f3a3a commit a04230d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN playwright install --with-deps && \
python -c "from unstructured.partition.model_init import initialize; initialize()"


ENV PYTHONPATH=/app
ENV PYTHONPATH="/app:/app/megaparse/sdk"

COPY . .
EXPOSE 8000
Expand Down
5 changes: 2 additions & 3 deletions megaparse/sdk/megaparse_sdk/endpoints/file_upload.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from typing import Optional

from httpx import Response

from megaparse.sdk.megaparse_sdk.client import MegaParseClient
from megaparse.sdk.utils.type import Language, ParserType, StrategyEnum
from megaparse_sdk.client import MegaParseClient
from megaparse_sdk.utils.type import Language, ParserType, StrategyEnum


class FileUpload:
Expand Down
2 changes: 1 addition & 1 deletion megaparse/sdk/megaparse_sdk/endpoints/url_upload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from megaparse.sdk.megaparse_sdk.client import MegaParseClient
from megaparse_sdk.client import MegaParseClient


class URLUpload:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion megaparse/sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "megaparse-sdk"
version = "0.1.1"
version = "0.1.2"
description = "Megaparse SDK"
dependencies = [
"python-dotenv>=1.0.0",
Expand Down

0 comments on commit a04230d

Please sign in to comment.