ipython / ipython/traitlets

How to set globally a tag?

オープン
#682 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
653
フォーク
217
平均マージ
2日 21時間
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。