import asyncio import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), 'backend')) from backend.core.ncbr_client import NCBRClient async def test(): client = NCBRClient() res = await client.get_active_nabory() print(f"NCBR Grants: {len(res)}") for grant in res: print(f"- {grant['name']}") if __name__ == "__main__": asyncio.run(test())