accounting/wwwroot/open_provider_accounts.dspy
2026-03-30 14:20:13 +08:00

9 lines
256 B
Plaintext

debug(f'{params_kw=}')
env = request._run_ns
providers = await await get_platform_providers()
async with db.sqlorContext(env, 'accounting') as sor:
for p in providers:
await openProviderAccounts(sor, '0', p.id)
return f'{p} provider accounts opened'