accounting/wwwroot/open_provider_accounts.dspy
2026-03-30 14:25:18 +08:00

9 lines
250 B
Plaintext

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