parameters: (self)
docstring: Parse the [flask] section of your config and hand off the config
          to the app in context.
  
          Config vars should have the same name as their flask equivalent except
          in all lower-case.
docstring_summary: Parse the [flask] section of your config and hand off the config
          to the app in context.
docstring_tokens: Parse the [ flask ] section of your config and hand off the config to the app in context .
function: def parse_flask_section(self):
          """Parse the [flask] section of your config and hand off the config
          to the app in context.
  
          Config vars should have the same name as their flask equivalent except
          in all lower-case."""
          for section_name in self.sections():
              current_app.config[section_name] = {}
  
          for section_name in self.sections():
              for item in self.items(section_name):
                  self._load_item(section_name, item[0])
  
          # Set db_read_replica url to same as db url if none provided
          if ("url_read_replica" not in current_app.config["db"]) or (
              not current_app.config["db"]["url_read_replica"]
          ):
              current_app.config["db"]["url_read_replica"] = current_app.config["db"][
                  "url"
              ]
  
          # Always disable (not included in app.default_config)
          # See https://flask-restx.readthedocs.io/en/latest/mask.html#usage
          current_app.config["RESTX_MASK_SWAGGER"] = False
function_tokens: def parse_flask_section ( self ) : for section_name in self . sections ( ) : current_app . config [ section_name ] = { } for section_name in self . sections ( ) : for item in self . items ( section_name ) : self . _load_item ( section_name , item [ 0 ] ) # Set db_read_replica url to same as db url if none provided if ( "url_read_replica" not in current_app . config [ "db" ] ) or ( not current_app . config [ "db" ] [ "url_read_replica" ] ) : current_app . config [ "db" ] [ "url_read_replica" ] = current_app . config [ "db" ] [ "url" ] # Always disable (not included in app.default_config) # See https://flask-restx.readthedocs.io/en/latest/mask.html#usage current_app . config [ "RESTX_MASK_SWAGGER" ] = False