Some questions about the Writing of Flask Application configuration File

flask configuration files are written in many ways, and the following is one:

class Config:
    SECRET_KEY = "hard to guess string"
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    SQLALCHEMY_TRACK_MODIFICATIONS = False

    @staticmethod
    def init_app(app):
        pass

this is the official list, and it is also the one I have seen others use most. I haven"t been able to figure out the purpose of the init_app () method. Can anyone explain it?

Apr.02,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bbe0-2c2af.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bbe0-2c2af.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?