Skip to content

Commit

Permalink
make usercodev4 serialized and restage protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham3121 committed Jul 2, 2024
1 parent 9382e44 commit 242c4a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions packages/syft/src/syft/protocol/protocol_version.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,6 @@
}
},
"UserCode": {
"4": {
"version": 4,
"hash": "0a7181cd5f76800b6566175ffa7276d0cf38c4ddc5110114430147dfc8bfdb2a",
"action": "remove"
},
"5": {
"version": 5,
"hash": "a60e08145b41f6a06822a8b6bba7419a3aaa2e8c08b6015ce072dc64aae26230",
Expand Down
1 change: 1 addition & 0 deletions packages/syft/src/syft/service/code/user_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def get_sync_dependencies(self, context: AuthedServiceContext) -> list[UID]:
return [self.user_code_link.object_uid]


@serializable()
class UserCodeV4(SyncableSyftObject):
# version
__canonical_name__ = "UserCode"
Expand Down

0 comments on commit 242c4a0

Please sign in to comment.