Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal committed Sep 22, 2023
1 parent 13b5289 commit 283fb21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re
from functools import lru_cache
from typing import List, Optional, cast
import re

from datahub.configuration.common import TransformerSemanticsConfigModel
from datahub.emitter.mce_builder import Aspect
Expand Down Expand Up @@ -69,7 +69,7 @@ def transform_aspect(
tag_str = tag_urn.get_entity_id()[0]
re_match = re.search(self.config.tag_prefix, tag_str)
if re_match:
owner_str = tag_str[re_match.end():].strip()
owner_str = tag_str[re_match.end() :].strip()
owner_urn_str = self.get_owner_urn(owner_str)
if self.config.is_user:
owner_urn = str(CorpuserUrn.create_from_id(owner_urn_str))
Expand Down

0 comments on commit 283fb21

Please sign in to comment.