Commit d04f650a authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[schema] Drop accepted_format attribute of script entity types

This is not used in this cube and should be handled in downstream application.
parent 1ed366186ae4
......@@ -4,7 +4,6 @@ def copy_script(eid, etype, **kwargs):
"""
script = cnx.entity_from_eid(eid)
kwargs['name'] = script.name
kwargs['accepted_format'] = script.accepted_format
kwargs['implemented_by'] = script.implemented_by
new = create_entity(etype, **kwargs)
script.cw_delete()
......
......@@ -127,12 +127,6 @@ File.__permissions__.update({'update': _update_file_perms,
class _Script(EntityType):
name = String(required=True, fulltextindexed=True)
accepted_format = String(
maxsize=128,
description=_('the MIME type of input files that this script accepts '
'(if unspecified, the script is assumed to handle any '
'kind of format)'),
)
class implemented_by(RelationDefinition):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment