Closed mesozoic closed 1 year ago
Merging #268 (3efa2d6) into main (c08963e) will increase coverage by
0.00%
. The diff coverage is100.00%
.:exclamation: Current head 3efa2d6 differs from pull request most recent head dd46375. Consider uploading reports for the commit dd46375 to get more accurate results
@@ Coverage Diff @@
## main #268 +/- ##
=======================================
Coverage 95.74% 95.75%
=======================================
Files 18 18
Lines 917 919 +2
=======================================
+ Hits 878 880 +2
Misses 39 39
Files Changed | Coverage Δ | |
---|---|---|
pyairtable/orm/model.py | 97.56% <100.00%> (+0.03%) |
:arrow_up: |
This allows the
Meta
class inside each ORM model to provide a callable that will be executed whenever the ORM requests one of its meta properties. The use case we have is to be able to provide API keys via global configuration singletons or environment variables which might not be loaded at import time but will be present at runtime.Resolves #192