Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Returns a query object that iterates over instances matching the query params

src/s/t/stowaway-0.0.5/stowaway/state.py   stowaway(Download)
    def get_instances(self):
        return appCollection.find(node=self.hostname)
 
    def can_fit(self, memory, cpu):
        instances = self.get_instances()