Skip to content

Commit

Permalink
py: Wrap Scheduler.export_node() with loading
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Nov 20, 2023
1 parent ece6b4c commit 84a66ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/gl-client-py/glclient/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def recover(self, signer: Signer) -> schedpb.RecoveryResponse:

def export_node(self) -> schedpb.ExportNodeResponse:
res = schedpb.ExportNodeResponse
return self.inner.export_node()
return res.FromString(bytes(self.inner.export_node()))

def node(self) -> "Node":
res = self.schedule()
Expand Down

0 comments on commit 84a66ac

Please sign in to comment.