示例#1
0
文件: worker.py 项目: w1z2g3/crossbar
    def get_profilers(self, details=None):
        """
        Registered under: ``crossbar.node.<node_id>.worker.<worker_id>.get_profilers``

        Returns available profilers.

        :param details: WAMP call details (auto-filled by WAMP).
        :type details: obj
        :returns: A list of profilers.
        :rtype: list of unicode
        """
        return [p.marshal() for p in PROFILERS.items()]
示例#2
0
    def get_profilers(self, details=None):
        """
        Registered under: ``crossbar.node.<node_id>.worker.<worker_id>.get_profilers``

        Returns available profilers.

        :param details: WAMP call details (auto-filled by WAMP).
        :type details: obj
        :returns: A list of profilers.
        :rtype: list of unicode
        """
        return [p.marshal() for p in PROFILERS.items()]
示例#3
0
    def get_profilers(self, details=None):
        """
        Registered under: ``crossbar.worker.<worker_id>.get_profilers``

        Returns available profilers.

        :param details: WAMP call details (auto-filled by WAMP).
        :type details: :class:`autobahn.wamp.types.CallDetails`

        :returns: A list of profilers.
        :rtype: list[str]
        """
        return [p.marshal() for p in PROFILERS.items()]
示例#4
0
    def get_profilers(self, details=None):
        """
        Registered under: ``crossbar.worker.<worker_id>.get_profilers``

        Returns available profilers.

        :param details: WAMP call details (auto-filled by WAMP).
        :type details: :class:`autobahn.wamp.types.CallDetails`

        :returns: A list of profilers.
        :rtype: list[str]
        """
        return [p.marshal() for p in PROFILERS.items()]
示例#5
0
 def get_profilers(self, details=None):
     """
     Returns available profilers.
     """
     return [p.marshal() for p in PROFILERS.items()]
示例#6
0
 def get_profilers(self, details=None):
     """
     Returns available profilers.
     """
     return [p.marshal() for p in PROFILERS.items()]