Skip to content

Commit

Permalink
Merge pull request #161 from iiif-prezi/add_autoid
Browse files Browse the repository at this point in the history
Add AutoId to other classes
  • Loading branch information
digitaldogsbody authored Jan 27, 2023
2 parents e8106b0 + 959923b commit 00ddeda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iiif_prezi3/helpers/auto_fields.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import uuid

from ..config.config import Config, register_config
from ..skeleton import (Annotation, AnnotationCollection, AnnotationPage,
Canvas, Class, Collection, KeyValueString, Manifest, Range, Reference)
from ..skeleton import (AnnotationPage, Canvas, Class, KeyValueString, Range,
Reference)


class AutoConfig(Config):
Expand Down Expand Up @@ -151,6 +151,6 @@ def manipulate_value(self, what, value=None):
ait = AutoItems(aitcfg)

# Set up some obvious defaults
ai.register_on_class(Collection, Manifest, Canvas, Range, Annotation, AnnotationPage, AnnotationCollection)
al.register_on_class(Collection, Manifest, Canvas, Range, AnnotationCollection, KeyValueString, Class, Reference)
ai.register_on_class(AnnotationPage, Class)
al.register_on_class(KeyValueString, Class, Reference)
ait.register_on_class(Canvas, Range)

0 comments on commit 00ddeda

Please sign in to comment.