libtimed 0.4.2__tar.gz → 0.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libtimed-0.4.2 → libtimed-0.4.4}/PKG-INFO +1 -1
- {libtimed-0.4.2 → libtimed-0.4.4}/pyproject.toml +1 -1
- {libtimed-0.4.2 → libtimed-0.4.4}/src/libtimed/models.py +2 -1
- {libtimed-0.4.2 → libtimed-0.4.4}/LICENSE +0 -0
- {libtimed-0.4.2 → libtimed-0.4.4}/README.md +0 -0
- {libtimed-0.4.2 → libtimed-0.4.4}/src/libtimed/__init__.py +0 -0
- {libtimed-0.4.2 → libtimed-0.4.4}/src/libtimed/oidc.py +0 -0
- {libtimed-0.4.2 → libtimed-0.4.4}/src/libtimed/transforms.py +0 -0
|
@@ -259,6 +259,7 @@ class Activities(BaseModel):
|
|
|
259
259
|
attributes = [
|
|
260
260
|
("from-time", datetime.now(), transforms.Time),
|
|
261
261
|
("to-time", None, transforms.Time),
|
|
262
|
+
("transferred", False, transforms.Type(bool)),
|
|
262
263
|
COMMENT,
|
|
263
264
|
DATE,
|
|
264
265
|
REVIEW,
|
|
@@ -284,7 +285,7 @@ class Activities(BaseModel):
|
|
|
284
285
|
attributes = self.current["attributes"]
|
|
285
286
|
relationships = self.current["relationships"]
|
|
286
287
|
attributes["to-time"] = datetime.now()
|
|
287
|
-
r = self.patch(
|
|
288
|
+
r = self.patch(self.current["id"], attributes, relationships)
|
|
288
289
|
return r
|
|
289
290
|
|
|
290
291
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|