code: def __init__(
      self, optimizer: Optimizer, *args: Any, **kwargs: Any
  ) -> None:
      ...
  
imports: from pathlib import Path
  from typing import Any, Callable, DefaultDict, Dict, Iterator, List, Optional, Protocol, TypeVar, Union, runtime_checkable
  import torch
  from torch import Tensor
  from torch.optim import Optimizer
  from typing_extensions import TypeAlias, overload
  from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_1_13, _TORCH_GREATER_EQUAL_2_0
label_desc: Use image node_id 1 to create a new LRScheduler object from inherited base classes: _Stateful, Protocol with example: obj = LRScheduler(optimizer)