"""The Commodity router.""" from openbb_core.app.model.command_context import CommandContext from openbb_core.app.model.obbject import OBBject from openbb_core.app.provider_interface import ( ExtraParams, ProviderChoices, StandardParams, ) from openbb_core.app.query import Query from openbb_core.app.router import Router from pydantic import BaseModel router = Router(prefix="") # pylint: disable=unused-argument @router.command(model="LbmaFixing") async def lbma_fixing( cc: CommandContext, provider_choices: ProviderChoices, standard_params: StandardParams, extra_params: ExtraParams, ) -> OBBject[BaseModel]: """Daily LBMA Fixing Prices in USD/EUR/GBP.""" return await OBBject.from_query(Query(**locals()))