(self)
return self.schema
Return a schema object valid for the current metadata
Return a schema object valid for the current metadata
Return a schema object valid for the current metadata
def get_schema(self):
        """
        Return a schema object valid for the current metadata
        """
        current_metadata_version = self.get_global_info().get(self.VERSION_KEY)
        if self.version != current_metadata_version or self.schema is None:
            self.version = current_metadata_version
            self.schema = schema.get_schema(self.version)
        assert isinstance(self.schema, dict)
        return self.schema
def get_schema ( self ) : current_metadata_version = self . get_global_info ( ) . get ( self . VERSION_KEY ) if self . version != current_metadata_version or self . schema is None : self . version = current_metadata_version self . schema = schema . get_schema ( self . version ) assert isinstance ( self . schema , dict ) return self . schema