morphik 0.1.6__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,3 +42,5 @@ ee/ui-component/.next
42
42
 
43
43
  ui-component/notebook-storage/notebooks.json
44
44
  ee/ui-component/package-lock.json
45
+ ee/ee_tokens/gdrive_token_dev_user.pickle
46
+ core/tests/integration/test_data/version_test_1.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: morphik
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Morphik Python Client
5
5
  Author-email: Morphik <founders@morphik.ai>
6
6
  Requires-Python: >=3.8
@@ -12,4 +12,4 @@ __all__ = [
12
12
  "Document",
13
13
  ]
14
14
 
15
- __version__ = "0.1.6"
15
+ __version__ = "0.1.7"
@@ -11,9 +11,9 @@ from PIL import Image
11
11
  from PIL.Image import Image as PILImage
12
12
  from pydantic import BaseModel, Field
13
13
 
14
+ from .models import ChunkSource # Prompt override models
14
15
  from .models import (
15
16
  ChunkResult,
16
- ChunkSource, # Prompt override models
17
17
  CompletionResponse,
18
18
  Document,
19
19
  DocumentResult,
@@ -8,9 +8,9 @@ import httpx
8
8
  from pydantic import BaseModel
9
9
 
10
10
  from ._internal import FinalChunkResult, RuleOrDict, _MorphikClientLogic
11
+ from .models import CompletionResponse # Prompt override models
11
12
  from .models import (
12
13
  ChunkSource,
13
- CompletionResponse, # Prompt override models
14
14
  Document,
15
15
  DocumentResult,
16
16
  FolderInfo,
@@ -303,15 +303,15 @@ class Graph(BaseModel):
303
303
 
304
304
  @property
305
305
  def is_processing(self) -> bool:
306
- return self.status == "processing"
306
+ return self.system_metadata.get("status") == "processing"
307
307
 
308
308
  @property
309
309
  def is_completed(self) -> bool:
310
- return self.status == "completed"
310
+ return self.system_metadata.get("status") == "completed"
311
311
 
312
312
  @property
313
313
  def is_failed(self) -> bool:
314
- return self.status == "failed"
314
+ return self.system_metadata.get("status") == "failed"
315
315
 
316
316
  @property
317
317
  def error(self) -> str | None:
@@ -8,9 +8,9 @@ import httpx
8
8
  from pydantic import BaseModel
9
9
 
10
10
  from ._internal import FinalChunkResult, RuleOrDict, _MorphikClientLogic
11
+ from .models import CompletionResponse # Prompt override models
11
12
  from .models import (
12
13
  ChunkSource,
13
- CompletionResponse, # Prompt override models
14
14
  Document,
15
15
  DocumentResult,
16
16
  FolderInfo,
@@ -4,9 +4,8 @@ import uuid
4
4
  from pathlib import Path
5
5
 
6
6
  import pytest
7
- from pydantic import BaseModel, Field
8
-
9
7
  from morphik.async_ import AsyncMorphik
8
+ from pydantic import BaseModel, Field
10
9
 
11
10
  # Set to your local Morphik server - use localhost by default
12
11
  # Default client connects to localhost:8000 automatically
@@ -4,9 +4,8 @@ import uuid
4
4
  from pathlib import Path
5
5
 
6
6
  import pytest
7
- from pydantic import BaseModel, Field
8
-
9
7
  from morphik.sync import Morphik
8
+ from pydantic import BaseModel, Field
10
9
 
11
10
  # Set to your local Morphik server - use localhost by default
12
11
  # Default client connects to localhost:8000 automatically
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "morphik"
7
- version = "0.1.6"
7
+ version = "0.1.7"
8
8
  authors = [
9
9
  { name = "Morphik", email = "founders@morphik.ai" },
10
10
  ]
File without changes
File without changes
File without changes
File without changes