Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

check_calculation(cls, instance):

this function will get the calculation relative the instancecheck if it can be used for the instance, ie. if there is a link between the instance and a calculation

1- get instance class

2- if class known then return check that the linked calculation is if the current one

calculate(cls, instance, *args)

...