Skip to content

Commit 11ca8c1

Browse files
Merge pull request #38 from macadmins/v1site-fix
0.5a2 V1site fix
2 parents 88f326c + ed1ec05 commit 11ca8c1

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [0.5a2] - 2024-01-09
11+
12+
### Fixed
13+
14+
- V1Site model optional values did not have default of `None`.
15+
1016
## [0.5a1] - 2024-01-04
1117

1218
### Added

src/jamf_pro_sdk/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__title__ = "jamf-pro-sdk"
2-
__version__ = "0.5a1"
2+
__version__ = "0.5a2"

src/jamf_pro_sdk/models/pro/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55

66
class V1Site(BaseModel):
7-
id: Optional[str]
8-
name: Optional[str]
7+
id: Optional[str] = None
8+
name: Optional[str] = None

0 commit comments

Comments
 (0)