Skip to content

Access to type and further metadata

Generally it would be helpful to have something like type(something) to inspect type of parameters. We can generalize to metadata().

For example, for the model:

tab = ((a: 1, 2, 3), (b: 'a', 'b', 'c'))
print(type(tab))

we can get this information in instant evaluation mode:

type: Table
datatype: (Integer, String)

In case of workflow evaluation mode and if the type parameter is a reference to a variable, we can retrive much more metadata, for example:

type: Table
datatype: (Integer, String)
node UUID: xxxxxxxxxxxxxxxxxxx
node state: COMPLETED
model UUID: yyyyyyyyyyyyyy
group UUID: zzzzzzzzzzzzzz
siblings in group: 1
varying: False
duplicates: ()
created: XXXX-XX-XX XX:XX:XX
last modified: XXXX-XX-XX XX:XX:XX
parents: (c, b)
Edited by Ivan Kondov