Closed mesozoic closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
eef7b6f
) to head (c289427
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The whole idea behind allowing Meta values to be callables (#268) was to defer evaluation until after the Model subclass is created. However, these callables still get evaluated when the subclass is created, since we try to validate that base_id, table_name, and api_key are defined.
This branch will validate that those three names exist inside
Meta
, but will defer raising an exception if they are callable and returnNone
until the first time they get used.