flask_restful_dbbase.resources.DBBaseResource.get_meta

classmethod DBBaseResource.get_meta(method=None)[source]

This function returns the settings for the resource.

Parameters:

method – (str : None) : choices are get/post/put/patch/delete.

Returns:

meta_data (dict) – A dict with the resource characteristics. If a method is preferred, the focus will be narrowed to that method.

The intent of this function is to show relevant information for someone interacting with an API.