Skip to content

Commit

Permalink
Merge branch 'dev' into data_asset_id_before_upload
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvanderveen authored Jun 13, 2023
2 parents 425e5d2 + e300d97 commit fb6ec59
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/hagrid/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.22
current_version = 0.3.23
tag = False
tag_name = {new_version}
commit = True
Expand Down
4 changes: 2 additions & 2 deletions packages/hagrid/hagrid/manifest_template.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
manifestVersion: 0.1
hagrid_version: 0.3.22
hagrid_version: 0.3.23
syft_version: 0.8.1-beta.9
dockerTag: 0.8.1-beta.9
baseUrl: https://raw.githubusercontent.com/OpenMined/PySyft/
hash: 8b98a07e66d193a7233cd4120681c1da016f4dde
hash: 4f368cc221587646758417acc5144b894bd7f545
target_dir: ~/.hagrid/PySyft/
files:
grid:
Expand Down
2 changes: 1 addition & 1 deletion packages/hagrid/hagrid/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# HAGrid Version
__version__ = "0.3.22"
__version__ = "0.3.23"

if __name__ == "__main__":
print(__version__)
2 changes: 1 addition & 1 deletion packages/hagrid/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import find_packages
from setuptools import setup

__version__ = "0.3.22"
__version__ = "0.3.23"

DATA_FILES = {"img": ["hagrid/img/*.png"], "hagrid": ["*.yml"]}

Expand Down
5 changes: 3 additions & 2 deletions packages/syft/src/syft/service/request/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Request(SyftObject):
requesting_user_verify_key: SyftVerifyKey
approving_user_verify_key: Optional[SyftVerifyKey]
request_time: DateTime
approval_time: Optional[DateTime]
updated_at: Optional[DateTime]
node_uid: UID
request_hash: str
changes: List[Change]
Expand All @@ -153,7 +153,7 @@ class Request(SyftObject):
__attr_unique__ = ["request_hash"]
__attr_repr_cols__ = [
"request_time",
"approval_time",
"updated_at",
"status",
"changes",
"requesting_user_verify_key",
Expand Down Expand Up @@ -206,6 +206,7 @@ def apply(self, context: AuthedServiceContext) -> Result[SyftSuccess, SyftError]
change_status.applied = True
self.history.append(change_status)

self.updated_at = DateTime.now()
self.save(context=context)
return Ok(SyftSuccess(message=f"Request {self.id} changes applied"))

Expand Down
2 changes: 1 addition & 1 deletion scripts/hagrid_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6577900561723bd3f4401b407d045a4d
860b29f72139c1cbaa9ea43bdb02b8b9

0 comments on commit fb6ec59

Please sign in to comment.