(self, bind, loop=None, **kwargs)
| 10 | |
| 11 | class 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 | |
| 23 | def cors(origin=None): |
nothing calls this directly
no outgoing calls
no test coverage detected