ipython / ipython/traitlets

How to set globally a tag?

Abierto
#682 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

Hi,

I've got a simple question.

I'm developping a package with a lots of classes whose attributes are traitlets. All of them use the tag `sync` like this `x = Unicode().tag(sync=True)`.

Is there a way to set the `sync`tag to True by default for the whole package? This would prevent me from making an error and the code would be much more readable.

Thanks for your help

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.