Related to pydantic/pydantic-ai#4627
Need a way to reference the timestamp so that we can emit a warning if it is older than X days
Might not be the brightest idea but does seem the most obvious one to me, open to better ones
Where?
a constant in generated data.py, a field inside prices/data.json itself, or just populated into DataSnapshot.timestamp?
How?
git commit date of data.json, a value written during make package-data, or embedded in data.json at source-build time?
Related to pydantic/pydantic-ai#4627
Need a way to reference the timestamp so that we can emit a warning if it is older than X days
Might not be the brightest idea but does seem the most obvious one to me, open to better ones
Where?
a constant in generated data.py, a field inside prices/data.json itself, or just populated into DataSnapshot.timestamp?
How?
git commit date of data.json, a value written during make package-data, or embedded in data.json at source-build time?