Skip to content

Commit

Permalink
updated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Jan 15, 2024
1 parent a7ddad5 commit 1f9af49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class RandomActivationByType(BaseScheduler):
def agents_by_type(self):
warnings.warn(

Check warning on line 293 in mesa/time.py

View check run for this annotation

Codecov / codecov/patch

mesa/time.py#L293

Added line #L293 was not covered by tests
"Because of the shift to using AgentSet, in the future this attribute will return a dict with"
"type as key as AgentSet as value",
"type as key as AgentSet as value. Future behavior is available via RandomActivationByType._agents_by_type",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit 1f9af49

Please sign in to comment.