Skip to content

Commit

Permalink
[Framework] Fix parent event context override copy typo (#603)
Browse files Browse the repository at this point in the history
# Description

What - Fix parent event context override copy typo

## Type of change

Please leave one option from the following and delete the rest:

- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] New Integration (non-breaking change which adds a new integration)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Non-breaking change (fix of existing functionality that will not
change current behavior)
- [ ] Documentation (added/updated documentation)

## Screenshots

Include screenshots from your environment showing how the resources of
the integration will look.

## API Documentation

Provide links to the API documentation used for this integration.

---------

Co-authored-by: Yair Siman Tov <[email protected]>
  • Loading branch information
omby8888 and yairsimantov20 authored May 1, 2024
1 parent 0634b33 commit 8d92be0
Show file tree
Hide file tree
Showing 3 changed files with 9 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.5.17 (2024-05-01)

### Bug Fixes

- Fixed an issue in creating a child event context from the parent context by removing an unnecessary line of code



## 0.5.16 (2024-05-01)

### Features
Expand Down
1 change: 0 additions & 1 deletion port_ocean/context/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ async def event_context(
parent = parent_override or _event_context_stack.top
parent_attributes = parent.attributes if parent else {}

parent = _event_context_stack.top
attributes = {**parent_attributes, **(attributes or {})}
new_event = EventContext(
event_type,
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.5.16"
version = "0.5.17"
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 8d92be0

Please sign in to comment.