Returns the api instance in which this API function is being ran
(default=None, api=None, **kwargs)
| 71 | |
| 72 | @_built_in_directive |
| 73 | def api(default=None, api=None, **kwargs): |
| 74 | """Returns the api instance in which this API function is being ran""" |
| 75 | return api if api else default |
| 76 | |
| 77 | |
| 78 | @_built_in_directive |