CBIIT / bento-meta

Bento Metamodel
8 stars 2 forks source link

Fix #6 - enhance(model get) - specific queries #7

Closed majensen closed 4 years ago

majensen commented 4 years ago

run once - load the model object explicitly, don't run get() queries on objects afterwards (which is redundant and inefficient)

Set 'dirty' attr on property object to -1 - this will cause lazy db get to execute on next attribute access.

All tests pass. Added to 010 to check that #6 is resolved

majensen commented 4 years ago

@bensonml can you give the dist in this PR a try? Please see if the performance in pulling the models has improved.

bensonml commented 4 years ago

Looks good!