code: def test_multiple_instances(self) -> None:
      class Foo(HasProps):
          x = bcpd.NumberSpec("xfield")
  
      a = Foo()
      b = Foo()
      a.x = 13
      b.x = 14
      assert a.x == 13
      assert b.x == 14
      assert Foo.__dict__["x"].get_value(a) == Value(13)
      assert Foo.__dict__["x"].get_value(b) == Value(14)
      b.x = {"field": "x3"}
      assert Foo.__dict__["x"].get_value(a) == Value(13)
      assert Foo.__dict__["x"].get_value(b) == Field("x3")
  
imports: from __future__ import annotations
  import pytest
  import datetime
  import warnings
  from copy import copy
  import numpy
  import pandas
  from bokeh.core.has_props import HasProps, Local
  from bokeh.core.property.vectorization import Field, Value, field, value
  from tests.support.util.api import verify_all
  import bokeh.core.property.dataspec
label_desc: Use image node_id 7 for calling the Test_NumberSpec obj's underlying member method code with example usage: obj.test_multiple_instances() without return types