Skip to content

Commit

Permalink
Merge branch 'release/3.3.2'
Browse files Browse the repository at this point in the history
* release/3.3.2:
  preparing release 3.3.2
  Bump version: 3.3.1 → 3.3.2
  Fix usage.rst type
  Fix "to ve overloaded" typo
  Fix atention typo in extending.rst
  • Loading branch information
javipalanca committed Sep 18, 2023
2 parents 1f75e04 + 0953195 commit 520c412
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 12 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Expand Up @@ -2,6 +2,11 @@
History
=======

3.3.2 (2023-09-18)
------------------

* Added add_template_path function to the web component.

3.3.1 (2023-09-18)
------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/extending.rst
Expand Up @@ -31,7 +31,7 @@ New Behaviours
--------------

Developing new behaviours is as easy as creating a new class that inherits from ``spade.behaviour.CyclicBehaviour`` (or
any of its subclassed behaviours) and overload the methods that are needed. Pay atention to the methods that are related
any of its subclassed behaviours) and overload the methods that are needed. Pay attention to the methods that are related
with the control flow of a behaviour like ``_step``, ``done`` and ``_run``. And remember that you *should not* overload
the methods that are reserved for the user to be overloaded: ``on_start``, ``run`` and ``on_end``.

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Expand Up @@ -232,7 +232,7 @@ Creating an agent from within another agent
-------------------------------------------

There is a common use case where you may need to create an agent from within another agent, that is, from within another
agent's behaviour. This is a common case where ```start`` must be called with an ``await`` statement in order to work properly. Example::
agent's behaviour. This is a common case where ``start`` must be called with an ``await`` statement in order to work properly. Example::

import spade
from spade.agent import Agent
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.3.1
current_version = 3.3.2
commit = True
tag = False

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -28,7 +28,7 @@ def parse_requirements(filename):

setup(
name='spade',
version='3.3.1',
version='3.3.2',
description="Smart Python Agent Development Environment",
long_description=readme + '\n\n' + history,
author="Javi Palanca",
Expand Down
2 changes: 1 addition & 1 deletion spade/__init__.py
Expand Up @@ -12,7 +12,7 @@

__author__ = """Javi Palanca"""
__email__ = "jpalanca@gmail.com"
__version__ = "3.3.1"
__version__ = "3.3.2"

__all__ = ["agent", "behaviour", "message", "template"]

Expand Down
12 changes: 6 additions & 6 deletions spade/presence.py
Expand Up @@ -258,7 +258,7 @@ def _on_unsubscribed(self, stanza: aioxmpp.Presence) -> None:
def on_subscribe(self, peer_jid: str) -> None:
"""
Callback called when a subscribe query is received.
To ve overloaded by user.
To be overloaded by user.
Args:
peer_jid (str): the JID of the agent asking for subscription
Expand All @@ -269,7 +269,7 @@ def on_subscribe(self, peer_jid: str) -> None:
def on_subscribed(self, peer_jid: str) -> None:
"""
Callback called when a subscribed message is received.
To ve overloaded by user.
To be overloaded by user.
Args:
peer_jid (str): the JID of the agent that accepted subscription
Expand All @@ -280,7 +280,7 @@ def on_subscribed(self, peer_jid: str) -> None:
def on_unsubscribe(self, peer_jid: str) -> None:
"""
Callback called when an unsubscribe query is received.
To ve overloaded by user.
To be overloaded by user.
Args:
peer_jid (str): the JID of the agent asking for unsubscription
Expand All @@ -291,7 +291,7 @@ def on_unsubscribe(self, peer_jid: str) -> None:
def on_unsubscribed(self, peer_jid: str) -> None:
"""
Callback called when an unsubscribed message is received.
To ve overloaded by user.
To be overloaded by user.
Args:
peer_jid (str): the JID of the agent that unsubscribed
Expand All @@ -302,7 +302,7 @@ def on_unsubscribed(self, peer_jid: str) -> None:
def on_available(self, peer_jid: str, stanza: aioxmpp.Presence) -> None:
"""
Callback called when a contact becomes available.
To ve overloaded by user.
To be overloaded by user.
Args:
peer_jid (str): the JID of the agent that is available
Expand All @@ -314,7 +314,7 @@ def on_available(self, peer_jid: str, stanza: aioxmpp.Presence) -> None:
def on_unavailable(self, peer_jid: str, stanza: aioxmpp.Presence) -> None:
"""
Callback called when a contact becomes unavailable.
To ve overloaded by user.
To be overloaded by user.
Args:
peer_jid (str): the JID of the agent that is unavailable
Expand Down
2 changes: 1 addition & 1 deletion spade/templates/internal_tpl_base.html
Expand Up @@ -302,7 +302,7 @@ <h3 class="box-title">Agent Friends</h3>

<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 3.3.1
<b>Version</b> 3.3.2
</div>
<strong>Copyright © {% now 'local', '%Y' %} <a href="http://github.com/javipalanca/spade">SPADE</a>.</strong>
</footer>
Expand Down

0 comments on commit 520c412

Please sign in to comment.