[X] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[X] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[X] I have added necessary documentation (if appropriate)
[X] Any dependent changes have been merged and published in downstream modules
Further comments
The setup() method is called in the _run_main_loop() function, before the while loop.
The teardown() method, on the other hand, is called after the same while loop, just before the call to the stop() method.
Proposed changes
Add a
setup()
andteardown()
method to theAgent
class.Fixes
Fixes #332
Types of changes
What types of changes does your code introduce to agents-tac? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply.develop
branch (left side). Also you should start your branch off ourdevelop
.Further comments
The
setup()
method is called in the_run_main_loop()
function, before thewhile
loop. Theteardown()
method, on the other hand, is called after the samewhile
loop, just before the call to thestop()
method.