pg.symbolic.deref

Accessible via pg.symbolic.deref.

deref(value, recursive=False)[source]

Dereferences a symbolic value that may contain pg.Ref.

Return type:

Any

Parameters:
  • value – The input symbolic value.

  • recursive – If True, dereference pg.Ref in the entire tree. Otherwise Only dereference the root node.

Returns:

The dereferenced root, or dereferenced tree if recursive is True.