The best practices for managing expectation suite

Hi, team.

I would like to know the best practices for managing expectation suite.I create expectation suite using python interactive method in inmemory spark. And then we perform data validation.
These source codes are managed on github, and we plan to manage expectations with git.
Here, the question arises as to which files of expectation should be managed with git.

Is it a good idea to store Python interactive code that generates expectation suite in Git? Or would it be better to save the resulting expectation json file in git?
(Store the Python code that creates the expectation suite to git vs Store the expectation suite json file to git)

2 Likes