def input_schema_clean(input_, input_schema):
if input_schema.get('<STR_LIT:type>') == '<STR_LIT:object>':<EOL><INDENT>try:<EOL><INDENT>defaults = get_object_defaults(input_schema)<EOL><DEDENT>except NoObjectDefaults:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>return deep_update(defaults, input_)<EOL><DEDENT><DEDENT>return input_<EOL>
Updates schema default values with input data.

:param input_: Input data
:type  input_: dict
:param input_schema: Input schema
:type  input_schema: dict
:returns: Nested dict with data (defaul values updated with input data)
:rtype: dict