Dataway Python expressions are encapsulated based on Python 3. Their features are also tailored based on Python, and you must define a valid entry function dw_process(msg)
. Therefore, all Dataway expressions have a returned value after being executed normally, but Python scripts don't necessarily have a specific returned value.
Currently, almost all core iPaaS components can calculate the value of expressions. Dataway plays a key role in implementing the dynamic value calculation capabilities of iPaaS.
By default, Dataway supports only the following built-in modules: time
, json
, math
, base64
, hmac
, random
, hashlib
, Crypto
, socket
, struct
, decimal
, urllib
, csv
, and datetime
.
Generally, such modules are enough for Dataway scripts. If you do need to use more third-party modules, please submit a ticket to request support for an additional third-party module.
Was this page helpful?