Again, as in
You are mixing class attributes with imported functions.
This means that it should be
self.h_T = CellSize(self.mesh)