Apply Assertions only on Last Partition of Incremental Table

I have a partitioned, incremental table in Dataform. I want to apply assertions to this table, ideally build-in assertions in config block (e.g. uniqueKey, nonNull).
Is there a way to specify in the config which partitions to use while doing the assertions?

I don’t want to scan the full table, just e.g. the last partition (i.e. the partition that was created in the script run just before executing assertions).

No, I don’t think it’s supported for built-in assertions. You’d need to write a custom assertion for it.