ipython / ipython/traitlets

Issue parsing a single instance of TagRemovePreprocessor

Abierto
#645 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
653
Forks
217
Merge medio
2 d 21 h
PR fusionados (30 d)
2

Descripción

```
pip show traitlets
Name: traitlets
Version: 5.0.5
```
Calling `voila` with the `TagRemovePreprocessor.remove_cell_tags` option fails for a single tag:
```
voila notebook.ipynb --TagRemovePreprocessor.remove_cell_tags tag
....
traitlets.traitlets.TraitError: The 'remove_cell_tags' trait of a TagRemovePreprocessor instance expected a set, not the str 'tag'.
```

But when providing 2 tags, there's no issue:

`voila .\notebook.ipynb --TagRemovePreprocessor.remove_cell_tags tag0 --TagRemovePreprocessor.remove_cell_tags tag1`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.