From aadc3e4e50803a0abb46749e07a37e29fa5c840b Mon Sep 17 00:00:00 2001 From: Damien Ayers Date: Fri, 8 Nov 2024 17:09:57 +1100 Subject: [PATCH] Fix traitlets warning The `additional_profile_form_template_paths` List traitlet was incorrectly specifying a default value as `default=[]`. Traitlets now uses `default_value` as a kwarg instead of `default`, so it could be changed to that, but it defaults to an empty list anyway. --- kubespawner/spawner.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py index e7f5564e..d0dee0af 100644 --- a/kubespawner/spawner.py +++ b/kubespawner/spawner.py @@ -1697,7 +1697,6 @@ def _validate_image_pull_secrets(self, proposal): ) additional_profile_form_template_paths = List( - default=[], help=""" Additional paths to search for jinja2 templates when rendering profile_form.