class_docstr: Test ability to marshall arrow_vega_lite_chart protos.
class_docstr_tok: ["Test","ability","to","marshall","arrow_vega_lite_chart","protos","."]
docstr: Test that it can be called with spec as the 1st arg.
docstr_tok: ["Test","that","it","can","be","called","with","spec","as","the","1st","arg","."]
code: def test_spec_in_arg1(self):
      """Test that it can be called with spec as the 1st arg."""
      st.vega_lite_chart({"mark": "rect"})
  
      proto = (
          self.get_delta_from_queue().new_element.arrow_vega_lite_chart
      )
      self.assertEqual(proto.HasField("data"), False)
      self.assertDictEqual(
          json.loads(proto.spec),
          merge_dicts(autosize_spec, {"mark": "rect"}),
      )
  
imports: import json
  import pandas
  import pyarrow
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.type_util import bytes_to_data_frame, pyarrow_table_to_bytes
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 4 for calling the ArrowVegaLiteTest obj's underlying member method code with example usage: obj.test_spec_in_arg1() without return types