class_docstr: _AppManager implements API calls specific to Lightning AI BYOC apps.
code: def __init__(self) -> None:
      self.api_client = LightningClient(retry=False)
  
imports: import json
  from datetime import datetime
  from typing import List, Optional
  from lightning_cloud.openapi import Externalv1LightningappInstance, Externalv1Lightningwork, V1LightningappInstanceState, V1LightningappInstanceStatus
  from rich.console import Console
  from rich.table import Table
  from rich.text import Text
  from lightning.app.cli.core import Formatable
  from lightning.app.utilities.cloud import _get_project
  from lightning.app.utilities.network import LightningClient
label_desc: Use image node_id 1 to create a new _AppManager object  with example: obj = _AppManager()