Skip to content

Commit

Permalink
Add pre_spawn_hook method again (EGI-Federation#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Nov 27, 2024
1 parent 4c6afe7 commit 47f1ddb
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 47f1ddb

Please sign in to comment.