Skip to content

Commit d16ffeb

Browse files
THOR300Mark
andauthored
Adding optional existing document ids field to enable stats creation from PipelineUpdates (#244)
* Adding optional existing document ids field to enable stats creation from object. * Bumping version by minor. --------- Co-authored-by: Mark <mark@climatepolicyradar.org>
1 parent 3d19969 commit d16ffeb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/cpr_sdk/pipeline_general_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class PipelineUpdates(BaseModel):
120120

121121
new_documents: List[BackendDocument]
122122
updated_documents: dict[str, List[Update]]
123+
existing_document_ids: List[str] | None = None
123124

124125

125126
class ExecutionData(BaseModel):

src/cpr_sdk/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
_MAJOR = "4"
2-
_MINOR = "0"
3-
_PATCH = "1"
2+
_MINOR = "1"
3+
_PATCH = "0"
44
_SUFFIX = ""
55

66
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)

0 commit comments

Comments
 (0)