(
cls,
*,
app_id: Optional[str] = None,
app_slug: Optional[str] = None,
)
| 293 | @classmethod |
| 294 | @handle_exceptions() |
| 295 | async def alist( |
| 296 | cls, |
| 297 | *, |
| 298 | app_id: Optional[str] = None, |
| 299 | app_slug: Optional[str] = None, |
| 300 | ): |
| 301 | configs_response = await ag.async_api.variants.configs_list( # type: ignore |
| 302 | application_ref=SharedManager._ref_or_none( # type: ignore # type: ignore |
| 303 | slug=app_slug, |
| 304 | version=None, |
| 305 | id=app_id, |
| 306 | ), |
| 307 | ) # type: ignore |
| 308 | |
| 309 | transformed_response = [ |
| 310 | SharedManager._parse_config_response(config_response) |
| 311 | for config_response in configs_response |
| 312 | ] |
| 313 | |
| 314 | return [ |
| 315 | ConfigurationResponse(**response) # type: ignore |
| 316 | for response in transformed_response |
| 317 | ] |
| 318 | |
| 319 | @classmethod |
| 320 | @handle_exceptions() |
nothing calls this directly
no test coverage detected