FORGE_API_LATE
What happened
FORGE_API has to come before the first class or function, because the level decides how the rest of the file is read.
What to do
Move the FORGE_API line above the first class or function.
Example
text
strategy.py, line 6: Put FORGE_API = 1 before the first class or function. [FORGE_API_LATE]The wording of the message depends on your file, and the code does not. An error stops the file from loading.