It would be super useful to have an airtable client mock class that could store its state in memory. Additionally, we should be able to serialize and deserialize its state (likely to json using pydantic) so we can generate mock data for testing.
We probably don't want to support some features like queries, so we should factor out all uses of unsupported features into private methods that can be mocked with simple replacements.
It would be super useful to have an airtable client mock class that could store its state in memory. Additionally, we should be able to serialize and deserialize its state (likely to json using pydantic) so we can generate mock data for testing.
We probably don't want to support some features like queries, so we should factor out all uses of unsupported features into private methods that can be mocked with simple replacements.