MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / make_client

Function make_client

samples/sample_app.py:58–65  ·  view source on GitHub ↗

Create a boto3 DynamoDB client pointing at extenddb.

()

Source from the content-addressed store, hash-verified

56ORDERS_TABLE = "SampleOrders"
57TOURNAMENT_TABLE = "SampleTournamentMatches"
58def make_client():
59 """Create a boto3 DynamoDB client pointing at extenddb."""
60 return boto3.client(
61 "dynamodb",
62 endpoint_url=ENDPOINT,
63 region_name=REGION,
64 config=Config(retries={"max_attempts": 0}),
65 )
66# ---------------------------------------------------------------------------
67# Helpers
68# ---------------------------------------------------------------------------

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected