code: def test_parent_should_not_warn_inheriting_kwargs_to_children():
      with pytest.warns(None, match="ignored unknown") as record:
          with Flow(gpus="all").add():
              pass
      assert len(record) == 0
  
file_path: jina/tests/unit/parsers/test_warnings.py
imports: import pytest
  from jina import Executor, Flow
label_desc: Use image node_id 8 for calling a global function with example usage: test_parent_should_not_warn_inheriting_kwargs_to_children() without return types