MCPcopy Index your code
hub / github.com/exchangeratesapi/exchangeratesapi / Gino

Class Gino

exchangerates/utils.py:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
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 1

app.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected