Skip to content

Commit

Permalink
Port 5938 ocean integration exclude unset mapping (#323)
Browse files Browse the repository at this point in the history
* ignoring unset values for mapping

* bump version & fragment

* changelog
  • Loading branch information
yairsimantov20 authored Jan 7, 2024
1 parent dc7e141 commit 49e81db
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

<!-- towncrier release notes start -->

## 0.4.15 (2024-01-07)


### Bug Fixes

- Fixed issue causing app config with no team mapping to fail due the core using None when not set (PORT-5938)


## 0.4.14 (2024-01-07)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ def _calculate_entities(

if should_run and mapping.port.entity:
entities.append(
self._search_as_object(data, mapping.port.entity.mappings.dict())
self._search_as_object(
data, mapping.port.entity.mappings.dict(exclude_unset=True)
)
)

return [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "port-ocean"
version = "0.4.14"
version = "0.4.15"
description = "Port Ocean is a CLI tool for managing your Port projects."
readme = "README.md"
homepage = "https://app.getport.io"
Expand Down

0 comments on commit 49e81db

Please sign in to comment.