code: def pytest_collection_finish(session):
      # Unlike bazel, `pytest` doesn't invoke `tf.test.run()` (which parses flags),
      # so for external developers using pytest we just parse the flags directly.
      absl_flags = session.config.getoption("absl_flag", default=[])
      app._register_and_parse_flags_with_usage(["test.py"] + absl_flags)
  
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_collection_finish(session) without return types