yera.dev.services.app_service

Service for managing apps.

Symbols

class AppService — Service for managing apps.

AppService

Service for managing apps.

Methods

get_app — Get an app by ID.
list_apps — List all available apps.

AppService.get_app

get_app(
    app_id: str,
) → AppFunctionWrapper

Get an app by ID.

Parameters

app_id
type: str

The ID of the app to get.

Returns

type: AppFunctionWrapper

The app function wrapper.

Raises

ValueError

If the app is not found.

AppService.list_apps

list_apps() → list[AppFunctionWrapper]

List all available apps.

Returns

type: list[AppFunctionWrapper]

List of available apps.