code: def from_connection(cls, connection):
          
          facade_name = cls.__name__
          if not facade_name.endswith('Facade'):
             raise TypeError('Unexpected class name: {}'.format(facade_name))
          facade_name = facade_name[:-len('Facade')]
          version = connection.facades.get(facade_name)
          if version is None:
              raise Exception('No facade {} in facades {}'.format(facade_name,
                                                                  connection.facades))
  
          c = lookup_facade(cls.__name__, version)
          c = c()
          c.connect(connection)
  
          return c
docs: Given a connected Connection object, return an initialized and
          connected instance of an API Interface matching the name of
          this class.
  
          @param connection: initialized Connection object.