Skip to content

Commit

Permalink
Remove annotated dynamic attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHarris360 committed Nov 13, 2024
1 parent 4969474 commit 2d2b5af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kolibri/core/discovery/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def get_object(self, id_filter=None):
for filter_key in ("id", "instance_id"):
try:
obj = queryset.get(**{filter_key: id_filter})
obj.dynamic = obj.location_type == LocationTypes.Dynamic
break
except NetworkLocation.DoesNotExist:
pass
Expand Down

0 comments on commit 2d2b5af

Please sign in to comment.