llama-deploy-core 0.3.0a7__py3-none-any.whl → 0.3.0a9__py3-none-any.whl

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.
@@ -1,4 +1,4 @@
1
- from .base import Base
1
+ from .base import Base, LogEvent
2
2
  from .deployments import (
3
3
  DeploymentCreate,
4
4
  DeploymentResponse,
@@ -13,6 +13,7 @@ from .projects import ProjectsListResponse, ProjectSummary
13
13
 
14
14
  __all__ = [
15
15
  "Base",
16
+ "LogEvent",
16
17
  "DeploymentCreate",
17
18
  "DeploymentResponse",
18
19
  "DeploymentUpdate",
@@ -1,3 +1,5 @@
1
+ from datetime import datetime
2
+
1
3
  from pydantic import BaseModel, ConfigDict
2
4
 
3
5
  base_config = ConfigDict(
@@ -18,3 +20,10 @@ base_config = ConfigDict(
18
20
 
19
21
  class Base(BaseModel):
20
22
  model_config = base_config
23
+
24
+
25
+ class LogEvent(Base):
26
+ pod: str
27
+ container: str
28
+ text: str
29
+ timestamp: datetime
@@ -18,6 +18,15 @@ LlamaDeploymentPhase = Literal[
18
18
  ]
19
19
 
20
20
 
21
+ class DeploymentEvent(Base):
22
+ message: str | None = None
23
+ reason: str | None = None
24
+ type: str | None = None
25
+ first_timestamp: datetime | None = None
26
+ last_timestamp: datetime | None = None
27
+ count: int | None = None
28
+
29
+
21
30
  class DeploymentResponse(Base):
22
31
  id: str
23
32
  name: str
@@ -30,6 +39,8 @@ class DeploymentResponse(Base):
30
39
  secret_names: list[str] | None = None
31
40
  apiserver_url: HttpUrl | None
32
41
  status: LlamaDeploymentPhase
42
+ warning: str | None = None
43
+ events: list[DeploymentEvent] | None = None
33
44
 
34
45
 
35
46
  class DeploymentsListResponse(Base):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: llama-deploy-core
3
- Version: 0.3.0a7
3
+ Version: 0.3.0a9
4
4
  Summary: Core models and schemas for LlamaDeploy
5
5
  License: MIT
6
6
  Requires-Dist: pydantic>=2.0.0
@@ -3,12 +3,12 @@ llama_deploy/core/config.py,sha256=69bb0ea8ac169eaa4e808cd60a098b616bddd3145d26c
3
3
  llama_deploy/core/deployment_config.py,sha256=ff10cc96f2c64abc4761eb83c5372fd22f3770159b45503818264723b578de4e,15092
4
4
  llama_deploy/core/git/git_util.py,sha256=c581c1da13871b4e89eda58f56ddb074139454c06ae9b04c0b396fdb2b9a5176,9193
5
5
  llama_deploy/core/path_util.py,sha256=14d50c0c337c8450ed46cafc88436027056b365a48370a69cdb76c88d7c26fd1,798
6
- llama_deploy/core/schema/__init__.py,sha256=3e838d5304bc1f11c42590ba78267405e957e11add783e280d00bf5766728072,713
7
- llama_deploy/core/schema/base.py,sha256=2de6d23e58c36b6bb311ec0aea4b902661867056c1250c6b7ce3bad17141fe15,677
8
- llama_deploy/core/schema/deployments.py,sha256=d94a8239ca7bb0ea75d88de263b5ac107ed2626953c7580148178cdc72c10293,6077
6
+ llama_deploy/core/schema/__init__.py,sha256=cc60a6fb54983d7ca13e2cc86d414a0d006a79c20e44344701f9fbe3b1d21577,739
7
+ llama_deploy/core/schema/base.py,sha256=c02e33e35e7e4540b3065a82267febeb6da169222210a1d1c2479f6a7f1c6a4b,802
8
+ llama_deploy/core/schema/deployments.py,sha256=1e310548f6847ee000b06d655b3fec006148bd2994b4c6b7d073582a7c312ec1,6392
9
9
  llama_deploy/core/schema/git_validation.py,sha256=27b306aa6ecabe58cab6381d92551545f263fe7550c58b3087115410bc71fd21,1915
10
10
  llama_deploy/core/schema/projects.py,sha256=c97eda38207d80354c2ee3a237cba9c3f6838148197cfa2d97b9a18d3da1a38b,294
11
11
  llama_deploy/core/ui_build.py,sha256=290dafa951918e5593b9035570fa4c66791d7e5ea785bd372ad11e99e8283857,1514
12
- llama_deploy_core-0.3.0a7.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
13
- llama_deploy_core-0.3.0a7.dist-info/METADATA,sha256=325c0d23556c854ae261825db8ccaff90a21c635cc5837f04015c52394fd14bc,402
14
- llama_deploy_core-0.3.0a7.dist-info/RECORD,,
12
+ llama_deploy_core-0.3.0a9.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
13
+ llama_deploy_core-0.3.0a9.dist-info/METADATA,sha256=97185524565321b30c322e7f5b3346489ee77bd659f8c19427d5cee21ce058ab,402
14
+ llama_deploy_core-0.3.0a9.dist-info/RECORD,,