code: def test_debc023_to_plotly_json_with_wildcards():
      c = Component(
          id="a",
          **{
              "aria-expanded": "true",
              "data-toggle": "toggled",
              "data-none": None,
          },
      )
      c._prop_names = ("id",)
      c._type = "MyComponent"
      c._namespace = "basic"
      assert c.to_plotly_json() == {
          "namespace": "basic",
          "props": {
              "aria-expanded": "true",
              "data-toggle": "toggled",
              "data-none": None,
              "id": "a",
          },
          "type": "MyComponent",
      }
  
imports: import json
  import plotly
  import pytest
  from dash import __version__, Dash
  from dash import html
  from dash.development.base_component import Component
  from dash import dcc, Input, Output
label_desc: Use image node_id 24 for calling a global function with example usage: test_debc023_to_plotly_json_with_wildcards() without return types