Skip to content

Commit

Permalink
[CDF-21350] Enable retries on Data Workflows POST endpoints (#1727)
Browse files Browse the repository at this point in the history
Enable retries on Data Workflows POST endpoints
  • Loading branch information
VerstraeteBert committed Apr 22, 2024
1 parent c22ce35 commit 4b30d3c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [7.37.4] - 2024-04-22
### Improved
- Enabled automatic retries on Data Workflows POST endpoints

## [7.37.3] - 2024-04-18
### Improved
- Minor quality of life change for comparing capabilities involving `DataModelInstancesAcl.WRITE_PROPERTIES`; any
Expand Down
1 change: 1 addition & 0 deletions cognite/client/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class APIClient:
"geospatial/featuretypes/[A-Za-z][A-Za-z0-9_]{0,31}/features/(aggregate|list|byids|search|search-streaming|[A-Za-z][A-Za-z0-9_]{0,255}/rasters/[A-Za-z][A-Za-z0-9_]{0,31})",
"transformations/(filter|byids|jobs/byids|schedules/byids|query/run)",
"extpipes/(list|byids|runs/list)",
"workflows/.*",
)
)
]
Expand Down
2 changes: 1 addition & 1 deletion cognite/client/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations

__version__ = "7.37.3"
__version__ = "7.37.4"
__api_subversion__ = "20230101"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cognite-sdk"

version = "7.37.3"
version = "7.37.4"
description = "Cognite Python SDK"
readme = "README.md"
documentation = "https://cognite-sdk-python.readthedocs-hosted.com"
Expand Down
1 change: 0 additions & 1 deletion tests/tests_unit/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def apis_that_should_not_have_post_retry_rule():
"groups", # ☑️
"securitycategories", # ☑️
"templategroups", # Won't do: deprecated API
"workflows", # TODO later: Beta -> GA
]
)

Expand Down

0 comments on commit 4b30d3c

Please sign in to comment.