(self, api, api_function, catch_exceptions=True)
| 274 | return self.where(defaults=defaults, **overrides) |
| 275 | |
| 276 | def _create_interface(self, api, api_function, catch_exceptions=True): |
| 277 | interface = hug.interface.HTTP(self.route, api_function, catch_exceptions) |
| 278 | return (interface, api_function) |
| 279 | |
| 280 | def response_headers(self, headers, **overrides): |
| 281 | """Sets the response headers automatically injected by the router""" |