def create_module_assets(self, module_name, css='', js=''):
        # Collect classes and remember which ones we have covered
        classes = list()
        for cls in get_model_classes():
            if modname_startswith(cls.__module__, module_name):
                # This cls is in our module, check if we dont already have it
                for name in self._module_names:
                    if modname_startswith(cls.__module__, name):
                        break
                else:
                    classes.append(cls)
        
        css_, js_ = create_css_and_js_from_model_classes(classes, css, js)
        
        # Store module name and sort
        self._module_names.append(module_name)
        self._module_names.sort(key=lambda x: -len(x))
        
        # Create cached assets
        fname = module_name.replace('.', '-')
        self._assets[fname + '.css'] = css_.encode()
        self._assets[fname + '.js'] = js_.encode()
Create an asset with Model classes from a Python module.
dataset/ETHPy150Open zoofIO/flexx/flexx/app/assetstore.py/AssetStore.create_module_assets