Skip to content

Commit

Permalink
Fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloperezj committed Mar 5, 2025
1 parent 1527e8f commit 0197ac4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _get_indicator_type(item: dict):
raise ValueError(f'Unknown type: {item.get("type")}. ID: {item.get("id")}')


def _get_indicator_id(item: dict) -> str:
def _get_indicator_id(item: dict):
"""Gets indicator ID."""
if item.get('type') == 'url':
return item.get('attributes', {}).get('url') or item.get('id')
Expand Down

0 comments on commit 0197ac4

Please sign in to comment.