Closed pobocks closed 6 years ago
Since refs contain (and literally only contain) the URI, uri on jsonmodel objects that are refs should be special-cased to not reify and instead return __json['ref']
__json['ref']
Relevant code to reference right now for this issue is https://github.com/archivesspace-labs/ArchivesSnake/blob/abstraction_layer/asnake/jsonmodel/__init__.py#L18
Fixed by 9074d50.
Since refs contain (and literally only contain) the URI, uri on jsonmodel objects that are refs should be special-cased to not reify and instead return
__json['ref']
Relevant code to reference right now for this issue is https://github.com/archivesspace-labs/ArchivesSnake/blob/abstraction_layer/asnake/jsonmodel/__init__.py#L18