code: def pytest_collection(session):
      """Perform the collection protocol for the given session.
  
      Stops at first non-None result, see :ref:`firstresult`.
  
      :param _pytest.main.Session session: the pytest session object
      """
  
imports: from pluggy import HookspecMarker
  from _pytest.deprecated import PYTEST_LOGWARNING
label_desc: Use image node_id 9 for calling a global function with example usage: pytest_collection(session) without return types