dragon.current

current() → Node[source]

Return a node object for this process.

current() can be imported from the top-level Dragon or dragon.native.machine modules.

from dragon import current

or

from dragon.native.machine import current
Returns:

Node object

Return type:

Node