def _remove_non_serializable_store_entries(store: dict):
removed_key_list = []<EOL>for key, value in store.items():<EOL><INDENT>if not (_is_serializable(key) and _is_serializable(value)):<EOL><INDENT>_logger.info("<STR_LIT>"<EOL>"<STR_LIT>".format(key, value))<EOL>removed_key_list.append(key)<EOL><DEDENT><DEDENT>for key in removed_key_list:<EOL><INDENT>del store[key]<EOL><DEDENT>
This function is called if there are non-serializable items in the global script storage.
This function removes all such items.