Dagger
Search

DebtRepayment

No long description provided.

Installation

dagger install github.com/EmmS21/DebtRepayment@fbd39125783b71e8181a9f0e30b62172eea8d9a1

Entrypoint

Return Type
DebtRepayment !
Example
func (m *myModule) example() *DebtRepayment  {
	return dag.
			DebtRepayment()
}
@function
def example() -> dag.DebtRepayment:
	return (
		dag.debt_repayment()
	)
@func()
example(): DebtRepayment {
	return dag
		.debtRepayment()
}

Types

DebtRepayment 🔗

fetchData() 🔗

Fetch data from two Google Sheets and run an agent to analyze the debts and investments.

Args: apiKey (Secret): API key for accessing the Google Sheets API. sheet (Secret): Secret for the first Google Sheet. sheet_two (Secret): Secret for the second Google Sheet. open_key (Secret): API key for OpenAI. name (str): Name of the sheet to fetch data from.

Returns: str: Cleaned decision output from the agent.

Return Type
[String ! ] !
Arguments
NameTypeDefault ValueDescription
apiKeySecret !-A reference to a secret value, which can be handled more safely than the value itself.
sheetSecret !-A reference to a secret value, which can be handled more safely than the value itself.
sheetTwoSecret !-A reference to a secret value, which can be handled more safely than the value itself.
openKeySecret !-A reference to a secret value, which can be handled more safely than the value itself.
sendGridSecret !-A reference to a secret value, which can be handled more safely than the value itself.
nameString !-No description provided
sendToString !-No description provided
Example
func (m *myModule) example(ctx context.Context, apiKey *Secret, sheet *Secret, sheetTwo *Secret, openKey *Secret, sendGrid *Secret, name string, sendTo string) []string  {
	return dag.
			DebtRepayment().
			FetchData(ctx, apiKey, sheet, sheetTwo, openKey, sendGrid, name, sendTo)
}
@function
async def example(api_key: dagger.Secret, sheet: dagger.Secret, sheet_two: dagger.Secret, open_key: dagger.Secret, send_grid: dagger.Secret, name: str, send_to: str) -> List[str]:
	return await (
		dag.debt_repayment()
		.fetch_data(api_key, sheet, sheet_two, open_key, send_grid, name, send_to)
	)
@func()
async example(apiKey: Secret, sheet: Secret, sheetTwo: Secret, openKey: Secret, sendGrid: Secret, name: string, sendTo: string): Promise<string[]> {
	return dag
		.debtRepayment()
		.fetchData(apiKey, sheet, sheetTwo, openKey, sendGrid, name, sendTo)
}