1. artgins
  2. ginsfsm


Ginés Martínez Sánchez  committed e84933d Draft

improve doc. todo: search dynamic routes by steps

  • Participants
  • Parent commits f81646e
  • Branches default

Comments (0)

Files changed (2)

File ginsfsm/gaplic.py

View file
         """ Send an event to an external gaplic.
+        :param gaplic: name of external gaplic.
         :param role: name of external role.
         :param gobj_name: name of external gobj.
         :param event_name: name of the event to send.
         :param subscriber_gobj: subscriber obj that wants receive the response.
+        :param origin_role: specify role if you have two o more roles.
         :param kw: keyword arguments.
         Possible values for **kw** arguments:

File ginsfsm/router.py

View file
             roles = route.roles
             # TODO: busca el rol conectado si hay varios
             for ro in roles:
-                ro = ro.lstrip('^')
+                ro = ro.lstrip('^')  # TODO: search removing ^ one to one
                 if ro == role:
                     return route