(cls, container)
return class_(container)
Returns the `Guest` instance associated with the considered container.
Returns the `Guest` instance associated with the considered container.
Returns the Guest instance associated with the considered container .
def get(cls, container):
        """ Returns the `Guest` instance associated with the considered container. """
        class_ = next((k for k in cls.guests if k.detect(container._container)), Guest)
        return class_(container)
def get ( cls , container ) : class_ = next ( ( k for k in cls . guests if k . detect ( container . _container ) ) , Guest ) return class_ ( container )