Skip to content
Snippets Groups Projects
Commit 1c035f2b authored by Henning Glawe's avatar Henning Glawe
Browse files

extract strValueTransform from superContext

Name of transformation method starts with 'strValueTransform_'
and then have a 'pseudo-unit-name' starting with 'str', which can then be
referenced as a 'unit' in regex group names.
Output units of transform method can be specified as function attribute
'units'
    def strValueTransform_strDate(self.string)
        ....
    strValueTransform_strDate.units = 's'
would than be used, if you have
    (?P<time_run_date_start__strDate>...)
in your regex.
parent 689dab03
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment