Skip to content

Commit 2c3b923

Browse files
authored
fix(jobs): allow null folder_key on Job model (#1637)
1 parent 82ed987 commit 2c3b923

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/uipath-platform/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-platform"
3-
version = "0.1.50"
3+
version = "0.1.51"
44
description = "HTTP client library for programmatic access to UiPath Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

packages/uipath-platform/src/uipath/platform/orchestrator/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ class Job(BaseModel):
7979
has_errors: Optional[bool] = Field(default=None, alias="HasErrors")
8080
has_warnings: Optional[bool] = Field(default=None, alias="HasWarnings")
8181
job_error: Optional[JobErrorInfo] = Field(default=None, alias="JobError")
82-
folder_key: str = Field(alias="FolderKey")
82+
folder_key: Optional[str] = Field(default=None, alias="FolderKey")
8383
id: int = Field(alias="Id")

packages/uipath-platform/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uipath/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)