This file is indexed.

/usr/lib/python3/dist-packages/bioblend/galaxy/roles/__init__.py is in python3-bioblend 0.7.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"""
Contains possible interactions with the Galaxy Roles
"""
from bioblend.galaxy.client import Client


class RolesClient(Client):

    def __init__(self, galaxy_instance):
        self.module = 'roles'
        super(RolesClient, self).__init__(galaxy_instance)

    def get_roles(self):
        """
        Displays a collection (list) of roles.

        :rtype: list
        :return: A list of dicts with details on individual roles.
                 For example::

                   [ {"id": "f2db41e1fa331b3e",
                   "model_class": "Role",
                   "name": "Foo",
                   "url": "/api/roles/f2db41e1fa331b3e"},
                   {"id": "f597429621d6eb2b",
                   "model_class": "Role",
                   "name": "Bar",
                   "url": "/api/roles/f597429621d6eb2b"}
                   ]
        """
        return Client._get(self)

    def show_role(self, role_id):
        """
        Display information on a single role

        :type role_id: str
        :param role_id: Encoded role ID

        :rtype: dict
        :return: A description of role
                 For example::

                   {"description": "Private Role for Foo",
                   "id": "f2db41e1fa331b3e",
                   "model_class": "Role",
                   "name": "Foo",
                   "type": "private",
                   "url": "/api/roles/f2db41e1fa331b3e"}
        """

        return Client._get(self, id=role_id)