code: def test_invalid_name(lightning_squeezenet1_1_obj):
      from flash.core.serve import ModelComponent, expose
      from flash.core.serve.types import Number
  
      with pytest.raises(SyntaxError):
  
          class FailedExposedOutputsKeyworkName(ModelComponent):
              def __init__(self, model):
                  self.model = model
  
              @expose(
                  inputs={"param": Number()}, outputs={"def": Number()}
              )
              @staticmethod
              def predict(param):
                  return param
  
file_path: lightning-flash/tests/core/serve/test_components.py
imports: import pytest
  import torch
  from flash.core.serve.types import Label
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
  from tests.core.serve.models import ClassificationInferenceComposable, LightningSqueezenet
label_desc: Use image node_id 9 for calling a global function with example usage: test_invalid_name(lightning_squeezenet1_1_obj) and returns: param