def test(headers=None, data=None): print("in test") header = {"a": "test"} test(headers=header, data={"b": "test"})