class_docstr: Variable that is shared between compiled functions.
class_docstr_tok: ["Variable","that","is","shared","between","compiled","functions","."]
code: def default_update(self, value):
      if value is not None:
          self._default_update = self.type.filter_variable(
              value, allow_convert=True
          )
      else:
          self._default_update = value
  
file_path: pytensor/pytensor/compile/sharedvalue.py
imports: import copy
  from contextlib import contextmanager
  from functools import singledispatch
  from typing import TYPE_CHECKING, Optional
  from pytensor.graph.basic import Variable
  from pytensor.graph.utils import add_tag_trace
  from pytensor.link.basic import Container
  from pytensor.link.c.type import generic
label_desc: Use image node_id 7 for calling the SharedVariable obj's underlying member method code with example usage: obj.default_update(value) without return types