Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'typing' has no attribute 'Self' #31

Open
Bishwas-py opened this issue Aug 26, 2024 · 0 comments
Open

AttributeError: module 'typing' has no attribute 'Self' #31

Bishwas-py opened this issue Aug 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Bishwas-py
Copy link
Owner

  File "/home/path-to-proj/authentication/schemas/__init__.py", line 7, in <module>
    from djapy import Schema
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/__init__.py", line 2, in <module>
    from djapy.openapi import openapi
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/openapi/__init__.py", line 11, in <module>
    from .openapi_path import OpenAPI_Path
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/openapi/openapi_path.py", line 9, in <module>
    from djapy.core.type_check import schema_type, basic_query_schema
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/core/type_check.py", line 9, in <module>
    from ..schema.handle import Payload
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/schema/__init__.py", line 3, in <module>
    from djapy.schema.handle import payload, uni_schema
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/schema/handle.py", line 6, in <module>
    from .schema import Schema
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/schema/schema.py", line 91, in <module>
    class Outsource(BaseModel):
  File "/home/path-to-proj/.venv/lib/python3.10/site-packages/djapy/schema/schema.py", line 103, in Outsource
    next_: typing.Callable[[Any], typing.Self],
AttributeError: module 'typing' has no attribute 'Self'
@Bishwas-py Bishwas-py self-assigned this Aug 26, 2024
@Bishwas-py Bishwas-py added the bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant