medi/api/project.py
def search(self, string, **kwargs):
        """
        Searches a name in the whole project. If the project is very big,
        at some point Medi will stop searching. However it's also very much
        recommended to not exhaust the generator. Just display the first ten
        results to the user.

        There are currently three different search patterns:

        - ``foo`` to search for a definition foo in any file or a file called
          ``foo.py`` or ``foo.pyi``.
        - ``foo.bar`` to search for the ``foo`` and then an attribute ``bar``
          in it.
        - ``class foo.bar.Bar`` or ``def foo.bar.baz`` to search for a specific
          API type.

        :param bool all_scopes: Default False; searches not only for
            definitions on the top level of a module level, but also in
            functions and classes.
        :yields: :class:`.Name`
        """
        return self._search(string, **kwargs)

        Searches a name in the whole project. If the project is very big,
        at some point Medi will stop searching. However it's also very much
        recommended to not exhaust the generator. Just display the first ten
        results to the user.

        There are currently three different search patterns:

        - ``foo`` to search for a definition foo in any file or a file called
          ``foo.py`` or ``foo.pyi``.
        - ``foo.bar`` to search for the ``foo`` and then an attribute ``bar``
          in it.
        - ``class foo.bar.Bar`` or ``def foo.bar.baz`` to search for a specific
          API type.

        :param bool all_scopes: Default False; searches not only for
            definitions on the top level of a module level, but also in
            functions and classes.
        :yields: :class:`.Name`
        
Searches a name in the whole project. If the project is very big,
at some point Medi will stop searching. However it's also very much
recommended to not exhaust the generator. Just display the first ten
results to the user.

There are currently three different search patterns.


Searches a name in the whole project . If the project is very big at some point Medi will stop searching . However it ' s also very much recommended to not exhaust the generator . Just display the first ten results to the user . There are currently three different search patterns .
def search(self, string, **kwargs):
        return self._search(string, **kwargs)
def search ( self , string , ** kwargs ) : return self . _search ( string , ** kwargs )
Searches a name in the whole project.
Searches a name in the whole project .
"""
        Searches a name in the whole project. If the project is very big,
        at some point Medi will stop searching. However it's also very much
        recommended to not exhaust the generator. Just display the first ten
        results to the user.

        There are currently three different search patterns:

        - ``foo`` to search for a definition foo in any file or a file called
          ``foo.py`` or ``foo.pyi``.
        - ``foo.bar`` to search for the ``foo`` and then an attribute ``bar``
          in it.
        - ``class foo.bar.Bar`` or ``def foo.bar.baz`` to search for a specific
          API type.

        :param bool all_scopes: Default False; searches not only for
            definitions on the top level of a module level, but also in
            functions and classes.
        :yields: :class:`.Name`
        """
None
self
string
all_scopes
Default False; searches not only for
definitions on the top level of a module level, but also in
functions and classes.
Default False ; searches not only for definitions on the top level of a module level but also in functions and classes .