code: def run(self, df: Payload, selected_year: Optional[str]):
      if selected_year:
          df = df.value
          filtered_df = df[df.year == selected_year]
          print(f"[PROCESSOR|selected_year={selected_year}]")
          print(filtered_df)
  
file_path: pytorch-lightning/docs/source-app/workflows/add_web_ui/dash/intermediate_plot.py
imports: from typing import Optional
  import pandas
  import plotly.express
  from dash import Dash, dcc, html, Input, Output
  from lightning.app import LightningWork, LightningFlow, LightningApp
  from lightning.app.storage import Payload
label_desc: Use image node_id 1 for calling the Processor obj's underlying member method code with example usage: obj.run(df, selected_year) without return types