Skip to content

Commit

Permalink
fix(ingestion/powerbi): object has no attribute startswith (datahub-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-acryl authored Nov 7, 2024
1 parent 0d57fbd commit 35a7a2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class User:
groupUserAccessRight: Optional[str] = None

def get_urn_part(self, use_email: bool, remove_email_suffix: bool) -> str:
if use_email:
if use_email and self.emailAddress:
if remove_email_suffix:
return self.emailAddress.split("@")[0]
else:
Expand Down

0 comments on commit 35a7a2a

Please sign in to comment.