Skip to content

Commit

Permalink
Merge pull request #60 from Ph0tonic/reverse_patch_server
Browse files Browse the repository at this point in the history
Reverse patch server #51
  • Loading branch information
minrk authored Mar 21, 2024
2 parents 29b289a + 379b1ed commit c337112
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions wrapspawner/wrapspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,6 @@ def progress(self):
else:
raise RuntimeError("No child spawner yet exists - can not get progress yet")

# Manually link server attribute since it is not a traitlet

@property
def server(self):
if not self.child_spawner:
self.construct_child()
return self.child_spawner.server

@server.setter
def server(self, server):
if not self.child_spawner:
self.construct_child()
self.child_spawner.server = server


class ProfilesSpawner(WrapSpawner):

Expand Down

0 comments on commit c337112

Please sign in to comment.