in app/marketplace.py [0:0]
def get_status(self):
"""Gets the state of the integration component and the consumption (number of requests) that hasn't been sent to the metering service yet"""
return {
"version": "1.0.0",
"consumption": self.get_consumption(),
"state": self.get_state()
}