fastapi.clear()

Forgets the views’ process-wide configuration, so a later configure() /

Usage

Source

fastapi.clear()

global_init() starts afresh. Mostly useful in tests.