Adjustments based on code review feedback

This commit is contained in:
Joseph Schorr 2018-11-15 13:51:48 +02:00
parent c46b11bac1
commit 1eaf5b18dd
9 changed files with 30 additions and 19 deletions

View file

@ -4,9 +4,13 @@ from six import add_metaclass
@add_metaclass(ABCMeta)
class ManifestInterface(object):
""" Defines the interface for the various manifests types supported. """
@abstractproperty
def is_manifest_list(self):
""" Returns whether this manifest is a list. """
@abstractproperty
def schema_version(self):
""" The version of the schema, or None for lists. """
""" The version of the schema. """
@abstractproperty
def digest(self):