Fixed #21755 -- Added FK support for REQUIRED_FIELDS.

flake8