Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Mar 6, 2025
1 parent 298a651 commit 3132077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metadata-ingestion/src/datahub/cli/check_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ def test_path_spec(config: str, input: str, path_spec_key: str) -> None:

def _jsonify(data: Any) -> Any:
if dataclasses.is_dataclass(data):
# dataclasses.asdict() is recursive, which is not what we want.
# We're doing the recursion manually here, so we don't want
# dataclasses to do it too.
# dataclasses.asdict() is recursive. We're doing the recursion
# manually here via _jsonify calls, so we can't use
# dataclasses.asdict() here.
return {
f.name: _jsonify(getattr(data, f.name)) for f in dataclasses.fields(data)
}
Expand Down

0 comments on commit 3132077

Please sign in to comment.