ipython / ipython/traitlets

How to set globally a tag?

Open
#682 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
653
Forks
217
Avg merge
2d 21h
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.