Skip to content

Model: Replace get_agents_of_type method with agents_by_type property

Codecov / codecov/patch failed Sep 2, 2024 in 0s

66.66% of diff hit (target 79.62%)

View this Pull Request on Codecov

66.66% of diff hit (target 79.62%)

Annotations

Check warning on line 116 in mesa/model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

mesa/model.py#L116

Added line #L116 was not covered by tests

Check warning on line 122 in mesa/model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

mesa/model.py#L122

Added line #L122 was not covered by tests