Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Added missing identifiers_url field to entity structure
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSputnik committed Feb 8, 2016
1 parent cf94c71 commit 5e93f7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbws/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def output(self, key, obj):
ENTITY.update({
'last_updated': fields.DateTime(dt_format='iso8601'),
'aliases_uri': fields.Url('entity_get_aliases', True),
'identifiers_uri': fields.Url('entity_get_aliases', True),
'disambiguation_uri': fields.Url('entity_get_disambiguation', True),
'annotation_uri': fields.Url('entity_get_annotation', True),
'relationships_uri': fields.Url('relationship_get_many', True),
Expand Down

2 comments on commit 5e93f7c

@s17k
Copy link
Contributor

@s17k s17k commented on 5e93f7c Feb 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure it's entity_get_aliases ?

@LordSputnik
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no that's a mistake, I thought I changed it! Thanks for spotting.

Please sign in to comment.