fix: 🏷️ Ensure username is returned by `get_username` as a string (kubeflow/kubeflow#7457)
In order to maintain consistency and compatibility, explicitly convert the 'username' variable to a string using the str() function before returning it. This ensures that the function consistently provides a string representation of the username, addressing potential variations in the original data type. https://github.com/kubeflow/kubeflow/issues/7456 Update authn.py Update notebook_template.yaml
This commit is contained in:
parent
e7f468d924
commit
e572eb9dd4
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
app: {name}
|
app: {name}
|
||||||
annotations:
|
annotations:
|
||||||
notebooks.kubeflow.org/server-type: ""
|
notebooks.kubeflow.org/server-type: ""
|
||||||
notebooks.kubeflow.org/creator: {creator}
|
notebooks.kubeflow.org/creator: "{creator}"
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue