tiramisu/docs/symlinkoption.rst

14 lines
492 B
ReStructuredText
Raw Normal View History

2023-12-17 21:22:52 +01:00
====================================================
The symbolic link option: :class:`SymLinkOption`
====================================================
A `SymLinkOption` is an option that actually points to another option.
Each time we will access to a properties of this options, we will have in return the value of other option.
Creation a `SymLinkOption` is easy:
>>> from tiramisu import StrOption, SymLinkOption
>>> st = StrOption('str', 'str')
>>> sym = SymLinkOption('sym', st)