You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/API/YTScraper/scraper/api.py", line 135, in
app = App(routes=routes)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/app.py", line 54, in init
routes = routes + self.include_extra_routes(schema_url, docs_url, static_url)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/app.py", line 82, in include_extra_routes
Route(
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/core.py", line 17, in init
self.link = self.generate_link(url, method, handler, self.name)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/core.py", line 20, in generate_link
fields = self.generate_fields(url, method, handler)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/core.py", line 70, in generate_fields
elif issubclass(param.annotation, types.Type):
File "/usr/lib/python3.8/abc.py", line 102, in subclasscheck
return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
Idk how to fix that
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/API/YTScraper/scraper/api.py", line 135, in
app = App(routes=routes)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/app.py", line 54, in init
routes = routes + self.include_extra_routes(schema_url, docs_url, static_url)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/app.py", line 82, in include_extra_routes
Route(
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/core.py", line 17, in init
self.link = self.generate_link(url, method, handler, self.name)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/core.py", line 20, in generate_link
fields = self.generate_fields(url, method, handler)
File "/root/.local/share/virtualenvs/YTScraper-6Z8BojAV/lib/python3.8/site-packages/apistar/server/core.py", line 70, in generate_fields
elif issubclass(param.annotation, types.Type):
File "/usr/lib/python3.8/abc.py", line 102, in subclasscheck
return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
Idk how to fix that
The text was updated successfully, but these errors were encountered: