Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
243 changed files
with
15,561 additions
and
7,763 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
autopilot/core/__init__.py → autopilot/agents/__init__.py
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
""" | ||
Base Agent class. | ||
Currently a stub just to get them in the object hierarchy | ||
""" | ||
|
||
from autopilot.root import Autopilot_Object | ||
|
||
|
||
class Agent(Autopilot_Object): | ||
""" | ||
Metaclass for agent types. | ||
Currently a stub, but will provide hooks for basic lifecycle methods of agents: | ||
* ``pre_init`` - to be run before any other standard initialization | ||
* ``init`` - main initialization hook | ||
* ``init_external`` - initialize external processes | ||
* ``post_init`` - to be run after other initialization | ||
* ... to be continued | ||
And core class and instance attributes: | ||
* ``prefs`` - prefs that are needed to configure this agent | ||
* ``processes`` - processes spawned by this agent | ||
* ``listens`` - methods to handle messages sent to this agent | ||
* ``dependencies`` - additional optional python packages or system configurations that this agent depends on. | ||
""" |
Oops, something went wrong.