Skip to content

Commit

Permalink
added disable=w0212
Browse files Browse the repository at this point in the history
  • Loading branch information
jkshj21 authored Aug 27, 2024
1 parent 8430b62 commit 2479b0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dfcx_scrapi/core/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@ def _unpack_match(self, df: pd.DataFrame):
df.copy()
.assign(
match_type = lambda df: df.match.apply(
lambda m: attrgetter("m.match_type._name_") if m else ""
# pylint: disable=W0212
lambda m: m.match_type._name_ if m else ""
),
confidence = lambda df: df.match.apply(
lambda m: m.confidence if m else ""
Expand Down

0 comments on commit 2479b0e

Please sign in to comment.