Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix QualifiedOffset.from_event #70

Merged
merged 3 commits into from
Sep 23, 2024
Merged

Conversation

rokatyy
Copy link
Contributor

@rokatyy rokatyy commented Sep 20, 2024

jira - https://iguazio.atlassian.net/browse/NUC-267

This PR partly changes back the changes done in https://github.com/nuclio/nuclio-sdk-py/pull/46/files, because in the latest nuclio versions v3io stream's path is in event.topic, not in event.path as it used to be before. In order to support both older and newer versions, resolving logic has been added which will take path value if topic isn't passed.

Copy link
Contributor

@TomerShor TomerShor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, a unit-test will be nice

@rokatyy rokatyy requested a review from TomerShor September 23, 2024 08:30
@TomerShor TomerShor merged commit 5e8e47d into nuclio:development Sep 23, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants