()
| 29 | |
| 30 | # Server task to process the request |
| 31 | async def run_server(): |
| 32 | async with client_reader, server_writer: |
| 33 | await server.run( |
| 34 | client_reader, |
| 35 | server_writer, |
| 36 | InitializationOptions( |
| 37 | server_name="test", |
| 38 | server_version="1.0.0", |
| 39 | capabilities=server.get_capabilities( |
| 40 | notification_options=NotificationOptions(), |
| 41 | experimental_capabilities={}, |
| 42 | ), |
| 43 | ), |
| 44 | raise_exceptions=True, |
| 45 | ) |
| 46 | |
| 47 | # Start server task |
| 48 | async with ( |
nothing calls this directly
no test coverage detected