[docs]classIuguLoader(BaseLoader):"""Load from `IUGU`."""
[docs]def__init__(self,resource:str,api_token:Optional[str]=None)->None:"""Initialize the IUGU resource. Args: resource: The name of the resource to fetch. api_token: The IUGU API token to use. """self.resource=resourceapi_token=api_tokenorget_from_env("api_token","IUGU_API_TOKEN")self.headers={"Authorization":f"Bearer {api_token}"}