* fix issue 18271 * the same update for python-pydantic-v1 * add test * update samples * update samples * put properties under allOf for python client tests * update samples * add a test in test model