[DOCs] Added link to the value_split example

This commit is contained in:
Salvador E. Tropea 2023-05-04 11:04:52 -03:00
parent c47f9b7639
commit 6a1d6d313c
2 changed files with 3 additions and 1 deletions

View File

@ -1047,6 +1047,7 @@ filters:
- value_split: Value_Split - value_split: Value_Split
This filter extracts information from the value and fills other fields. This filter extracts information from the value and fills other fields.
I.e. extracts the tolerance and puts it in the `tolerance` field. I.e. extracts the tolerance and puts it in the `tolerance` field.
Usage [example](https://inti-cmnb.github.io/kibot-examples-1/value_split/).
* Valid keys: * Valid keys:
- `autoplace`: [boolean=true] Try to figure out the position for the added fields. - `autoplace`: [boolean=true] Try to figure out the position for the added fields.
- `autoplace_mechanism`: [string='bottom'] [bottom,top] Put the new field at the bottom/top of the last field. - `autoplace_mechanism`: [string='bottom'] [bottom,top] Put the new field at the bottom/top of the last field.

View File

@ -17,7 +17,8 @@ logger = log.get_logger()
class Value_Split(BaseFilter): # noqa: F821 class Value_Split(BaseFilter): # noqa: F821
""" Value_Split """ Value_Split
This filter extracts information from the value and fills other fields. This filter extracts information from the value and fills other fields.
I.e. extracts the tolerance and puts it in the `tolerance` field """ I.e. extracts the tolerance and puts it in the `tolerance` field.
Usage [example](https://inti-cmnb.github.io/kibot-examples-1/value_split/) """
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self._is_transform = True self._is_transform = True