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

allow None for workflowExecutionId in WorkflowTriggerRun #1903

Merged
merged 8 commits into from
Sep 3, 2024

Conversation

vincent-cognite
Copy link
Contributor

@vincent-cognite vincent-cognite commented Sep 2, 2024

Description

Please describe the change you have made.

Checklist:

  • Tests added/updated.
  • Documentation updated. Documentation is generated from docstrings - these must be updated according to your change.
    If a new method has been added it should be referenced in cognite.rst in order to generate docs based on its docstring.
  • Changelog updated in CHANGELOG.md.
  • Version bumped. If triggering a new release is desired, bump the version number in _version.py and pyproject.toml per semantic versioning.

@vincent-cognite vincent-cognite requested review from a team as code owners September 2, 2024 15:01
@vincent-cognite vincent-cognite requested review from vvb16 and removed request for a team September 2, 2024 15:01
Copy link

codecov bot commented Sep 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.77%. Comparing base (2fa0318) to head (828da35).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1903      +/-   ##
==========================================
- Coverage   90.78%   90.77%   -0.01%     
==========================================
  Files         126      126              
  Lines       19698    19700       +2     
==========================================
+ Hits        17882    17883       +1     
- Misses       1816     1817       +1     
Files with missing lines Coverage Δ
cognite/client/_version.py 100.00% <100.00%> (ø)
cognite/client/data_classes/workflows.py 94.90% <100.00%> (+0.02%) ⬆️

... and 2 files with indirect coverage changes

CHANGELOG.md Outdated
@@ -17,6 +17,11 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [7.56.1] - 2024-09-03
### Fixed
- [Feature Preview - alpha] data workflows: `workflowExecutionId` in `cognite.client.data_classes.workflows.WorkflowTriggerRun`
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [Feature Preview - alpha] data workflows: `workflowExecutionId` in `cognite.client.data_classes.workflows.WorkflowTriggerRun`
- [Feature Preview - beta] data workflows: `workflowExecutionId` in `cognite.client.data_classes.workflows.WorkflowTriggerRun`

consistent with the previous changelog

Copy link
Contributor

@doctrino doctrino left a comment

Choose a reason for hiding this comment

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

Looking at the spec it seems everything is optional?

image

@vincent-cognite
Copy link
Contributor Author

Looking at the spec it seems everything is optional?

spec is wrong, we need to update

@vincent-cognite vincent-cognite merged commit 02e4305 into master Sep 3, 2024
14 checks passed
@vincent-cognite vincent-cognite deleted the fix-history-run-view branch September 3, 2024 12:25
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.

3 participants