Skip to content

Commit

Permalink
chore(): save jupyterhub profile list in self:
Browse files Browse the repository at this point in the history
  • Loading branch information
zsinnema committed Jan 30, 2024
1 parent 24132a5 commit 99958b7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
def custom_options_form(spawner, abc):
# let's skip the profile selection form for now
# ToDo: for future we can remove this hook
spawner._ch_profile_list = spawner.profile_list

This comment has been minimized.

Copy link
@filippomc

filippomc Jan 30, 2024

Collaborator

@zsinnema better add a #EDIT: CLOUDHARNESS comment to simplify next updates

This comment has been minimized.

Copy link
@zsinnema

zsinnema Jan 30, 2024

Author Contributor

@filippomc can you explain what your goal with such a comment is? this is already CH source code

spawner.profile_list = []
# ref: https://github.com/jupyterhub/kubespawner/blob/37a80abb0a6c826e5c118a068fa1cf2725738038/kubespawner/spawner.py#L1885-L1935
return spawner._options_form_default()
Expand Down

0 comments on commit 99958b7

Please sign in to comment.