Traceback (most recent call last):


 "repro.py", line 6, in <module>

Model.schema()


 "pydantic/main.py", line 511, in pydantic.main.BaseModel.schema


 "pydantic/schema.py", line 146, in pydantic.schema.model_schema


 "pydantic/schema.py", line 465, in pydantic.schema.model_process_schema


 "pydantic/schema.py", line 494, in pydantic.schema.model_type_schema


 "pydantic/schema.py", line 191, in pydantic.schema.field_schema


 "pydantic/schema.py", line 745, in genexpr


 "pydantic/schema.py", line 745, in genexpr


 "pydantic/schema.py", line 749, in pydantic.schema.encode_default


 "pydantic/json.py", line 59, in pydantic.json.pydantic_encoder
TypeError: Object of type 'NoneType' is not JSON serializable

Traceback (most recent call last):


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature

video_id, player_url, s


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function

cache_res = res(test_string)


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in <lambda>

return lambda s: initial_function([s])


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 255, in resf

res, abort = self.interpret_statement(stmt, local_vars)


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement

v = self.interpret_expression(expr, local_vars, allow_recursion)


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 143, in interpret_expression

self._objects[variable] = self.extract_object(variable)


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 219, in extract_object

r'\}\s*;' % _FUNC_NAME_RE,
TypeError: not all arguments converted during string formatting
