equal
deleted
inserted
replaced
399 """set of entities and relations schema defining the possible data sets |
399 """set of entities and relations schema defining the possible data sets |
400 used in an application |
400 used in an application |
401 |
401 |
402 |
402 |
403 :type name: str |
403 :type name: str |
404 :ivar name: name of the schema, usually the application identifier |
404 :ivar name: name of the schema, usually the instance identifier |
405 |
405 |
406 :type base: str |
406 :type base: str |
407 :ivar base: path of the directory where the schema is defined |
407 :ivar base: path of the directory where the schema is defined |
408 """ |
408 """ |
409 reading_from_database = False |
409 reading_from_database = False |
854 self.warning('ignoring file %r', filepath) |
854 self.warning('ignoring file %r', filepath) |
855 |
855 |
856 |
856 |
857 class CubicWebSchemaLoader(BootstrapSchemaLoader): |
857 class CubicWebSchemaLoader(BootstrapSchemaLoader): |
858 """cubicweb specific schema loader, automatically adding metadata to the |
858 """cubicweb specific schema loader, automatically adding metadata to the |
859 application's schema |
859 instance's schema |
860 """ |
860 """ |
861 |
861 |
862 def load(self, config, **kwargs): |
862 def load(self, config, **kwargs): |
863 """return a Schema instance from the schema definition read |
863 """return a Schema instance from the schema definition read |
864 from <directory> |
864 from <directory> |