Skip to content

Commit

Permalink
Update toolium/utils/dataset.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Guijarro <[email protected]>
  • Loading branch information
promans718 and pabloge authored Oct 8, 2024
1 parent 9bc711b commit 7fc1b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolium/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def replace_param(param, language='es', infer_param_type=True):
[DICT:xxxx] Cast xxxx to a dict
[UPPER:xxxx] Converts xxxx to upper case
[LOWER:xxxx] Converts xxxx to lower case
[REPLACE:xxxxx::xx::zz] Replace elements in string. Example: [REPLACE:[CONTEXT:some_url]::https::http]
[REPLACE:xxxxx::yy::zz] Replace elements in string. Example: [REPLACE:[CONTEXT:some_url]::https::http]
[TITLE:xxxxx] Apply .title() to string value. Example: [TITLE:the title]
If infer_param_type is True and the result of the replacement process is a string,
this function also tries to infer and cast the result to the most appropriate data type,
Expand Down

0 comments on commit 7fc1b51

Please sign in to comment.