Skip to content

Commit

Permalink
Add pre_spawn_hook method again (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc authored Nov 25, 2024
1 parent 40aed84 commit b20ead2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions egi_notebooks_hub/egispawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,10 @@ def _profile_filter(self, spawner):
if not profile_vos or any(i in groups for i in profile_vos):
profile_list.append(profile)
return profile_list

async def pre_spawn_hook(self, spawner):
"""
Do actions before spawning.
This is for now empty to ensure compability with the existing child spawners
"""
pass

0 comments on commit b20ead2

Please sign in to comment.