MCPcopy Create free account
hub / github.com/mongodb/motor / lambda_handler

Method lambda_handler

test/asyncio_tests/test_examples.py:1558–1559  ·  view source on GitHub ↗
(event, context)

Source from the content-addressed store, hash-verified

1556 return await client.db.command("ping")
1557
1558 def lambda_handler(event, context):
1559 return event_loop.run_until_complete(async_handler(event, context))
1560
1561 # End AWS Lambda Example 1
1562 lambda_handler("event", {})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected