docstr: If the original list is undefined, the updated list should be
  accepted in full.
  
  See GH1072
docstr_tok: ["If","the","original","list","is","undefined",",","the","updated","list","should","be","accepted","in","full",".","See","GH1072"]
code: def test_update_uninitialized_list_with_list(self):
      """
      If the original list is undefined, the updated list should be
      accepted in full.
  
      See GH1072
      """
      layout = go.Layout()
      layout.update(
          annotations=[
              go.layout.Annotation(text="one"),
              go.layout.Annotation(text="two"),
          ]
      )
  
      expected = {"annotations": [{"text": "one"}, {"text": "two"}]}
  
      self.assertEqual(len(layout.annotations), 2)
      self.assertEqual(layout.to_plotly_json(), expected)
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_update.py
imports: from unittest import skip
  import plotly.graph_objs
  from plotly.graph_objs import Data, Figure, Layout, Line, Scatter, scatter, XAxis
  from plotly.tests.utils import strip_dict_params
  from unittest import TestCase
label_desc: Use image node_id 7 for calling the TestUpdateMethod obj's underlying member method code with example usage: obj.test_update_uninitialized_list_with_list() without return types