MCPcopy
hub / github.com/exchangeratesapi/exchangeratesapi / set_bind

Method set_bind

exchangerates/utils.py:12–20  ·  view source on GitHub ↗
(self, bind, loop=None, **kwargs)

Source from the content-addressed store, hash-verified

10
11class Gino(GinoBase):
12 async def set_bind(self, bind, loop=None, **kwargs):
13 kwargs.setdefault("strategy", "sanic")
14 return await super().set_bind(
15 bind,
16 loop=loop,
17 json_serializer=ujson.dumps,
18 json_deserializer=ujson.loads,
19 **kwargs
20 )
21
22
23def cors(origin=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected