Skip to content

events module: serialize only specific fields of related objects

Codecov / codecov/patch failed Jul 25, 2024 in 0s

34.61% of diff hit (target 63.76%)

View this Pull Request on Codecov

34.61% of diff hit (target 63.76%)

Annotations

Check warning on line 41 in care/facility/events/handler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

care/facility/events/handler.py#L41

Added line #L41 was not covered by tests

Check warning on line 316 in care/users/models.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

care/users/models.py#L316

Added line #L316 was not covered by tests

Check warning on line 34 in care/utils/event_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

care/utils/event_utils.py#L32-L34

Added lines #L32 - L34 were not covered by tests

Check warning on line 40 in care/utils/event_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

care/utils/event_utils.py#L36-L40

Added lines #L36 - L40 were not covered by tests

Check warning on line 44 in care/utils/event_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

care/utils/event_utils.py#L42-L44

Added lines #L42 - L44 were not covered by tests

Check warning on line 46 in care/utils/event_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

care/utils/event_utils.py#L46

Added line #L46 was not covered by tests