ipython / ipython/traitlets

How to set globally a tag?

Đang mở
#682 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
653
Fork
217
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.