Flask Config Globals#

Global < Global Method < Model < Model Method

Global

These are the global configuration variables which are assigned in Flask.

  • They should always be uppercase

  • They should always start with API_

Values defined here will apply globally unless a more specific value is defined. Will be overridden by any other config value type; Global Method, Model, Model Method.

Example#

class Config():

    API_RATE_LIMIT = "1 per minute"