labpack/platforms/docker.py
def synopsis(self, container_alias):

        '''
            a method to summarize key configuration settings required for docker compose

        :param container_alias: string with name or id of container
        :return: dictionary with values required for module configurations
        '''

        title = '%s.synopsis' % self.__class__.__name__
        
    # validate inputs
        input_fields = {
            'container_alias': container_alias
        }
        for key, value in input_fields.items():
            object_title = '%s(%s=%s)' % (title, key, str(value))
            self.fields.validate(value, '.%s' % key, object_title)
            
    # retrieve container settings
        container_settings = self.inspect_container(container_alias)
    
    # summarize settings
        settings = self._synopsis(container_settings)
        
        return settings

            a method to summarize key configuration settings required for docker compose

        :param container_alias: string with name or id of container
        :return: dictionary with values required for module configurations
        
a method to summarize key configuration settings required for docker compose
a method to summarize key configuration settings required for docker compose
def synopsis(self, container_alias):
        title = '%s.synopsis' % self.__class__.__name__
        input_fields = {
            'container_alias': container_alias
        }
        for key, value in input_fields.items():
            object_title = '%s(%s=%s)' % (title, key, str(value))
            self.fields.validate(value, '.%s' % key, object_title)
        container_settings = self.inspect_container(container_alias)
        settings = self._synopsis(container_settings)
        return settings
def synopsis ( self , container_alias ) : title = '%s.synopsis' % self . __class__ . __name__ input_fields = { 'container_alias' : container_alias } for key , value in input_fields . items ( ) : object_title = '%s(%s=%s)' % ( title , key , str ( value ) ) self . fields . validate ( value , '.%s' % key , object_title ) container_settings = self . inspect_container ( container_alias ) settings = self . _synopsis ( container_settings ) return settings
a method to summarize key configuration settings required for docker compose
a method to summarize key configuration settings required for docker compose
'''
            a method to summarize key configuration settings required for docker compose

        :param container_alias: string with name or id of container
        :return: dictionary with values required for module configurations
        ''' # validate inputs
 # retrieve container settings
 # summarize settings

dictionary with values required for module configurations
dictionary with values required for module configurations
self
container_alias
string with name or id of container
string with name or id of container