Загрузка данных


Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

(.venv) PS C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth> pip install bcrypt
Requirement already satisfied: bcrypt in c:\__evasyutinskiy\!!projects\top-python\fastapi_less5_auth\.venv\lib\site-packages (5.0.0)

[notice] A new release of pip is available: 23.2.1 -> 26.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
(.venv) PS C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth> uvicorn app.main:app --reload --port 8002
INFO:     Will watch for changes in these directories: ['C:\\__Evasyutinskiy\\!!Projects\\Top-Python\\fastapi_less5_auth']
INFO:     Uvicorn running on http://127.0.0.1:8002 (Press CTRL+C to quit)
INFO:     Started reloader process [10596] using StatReload
Process SpawnProcess-1:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 7, in <module>
    from app.auth import hash_password, verify_password, create_access_token, get_current_user
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 16, in <module>
    pwd_context = CryptContext(schemas=[bcrypt], deprecated="auto")
                                        ^^^^^^
NameError: name 'bcrypt' is not defined
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
Process SpawnProcess-2:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 7, in <module>
    from app.auth import hash_password, verify_password, create_access_token, get_current_user
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 16, in <module>
    pwd_context = CryptContext(schemas=["bcrypt"], deprecated="auto")
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 1402, in __init__
    self.load(kwds)
    ~~~~~~~~~^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 1597, in load
    config = _CryptConfig(source)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 636, in __init__
    self._init_options(source)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 734, in _init_options
    key, value = norm_context_option(cat, key, value)
                 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 800, in _norm_context_option
    raise KeyError("unknown CryptContext keyword: %r" % (key,))
KeyError: "unknown CryptContext keyword: 'schemas'"
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
Process SpawnProcess-3:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 7, in <module>
    from app.auth import hash_password, verify_password, create_access_token, get_current_user
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 16, in <module>
    pwd_context = CryptContext(schemas=["bcrypt"], deprecated="auto")
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 1402, in __init__
    self.load(kwds)
    ~~~~~~~~~^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 1597, in load
    config = _CryptConfig(source)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 636, in __init__
    self._init_options(source)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 734, in _init_options
    key, value = norm_context_option(cat, key, value)
                 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 800, in _norm_context_option
    raise KeyError("unknown CryptContext keyword: %r" % (key,))
KeyError: "unknown CryptContext keyword: 'schemas'"
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
Process SpawnProcess-4:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 57, in <module>
    @app.get("/profile", response_model=UserOut)
     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 921, in decorator
    self.add_api_route(
    ~~~~~~~~~~~~~~~~~~^
        path,
        ^^^^^
    ...<23 lines>...
        generate_unique_id_function=generate_unique_id_function,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 860, in add_api_route
    route = route_class(
        self.prefix + path,
    ...<24 lines>...
        generate_unique_id_function=current_generate_unique_id,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 490, in __init__
    self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
                     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 269, in get_dependant
    sub_dependant = get_param_sub_dependant(
        param_name=param_name,
    ...<2 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 112, in get_param_sub_dependant
    return get_sub_dependant(
        depends=depends,
    ...<3 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 148, in get_sub_dependant
    sub_dependant = get_dependant(
        path=path,
    ...<3 lines>...
        use_cache=depends.use_cache,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 269, in get_dependant
    sub_dependant = get_param_sub_dependant(
        param_name=param_name,
    ...<2 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 112, in get_param_sub_dependant
    return get_sub_dependant(
        depends=depends,
    ...<3 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 148, in get_sub_dependant
    sub_dependant = get_dependant(
        path=path,
    ...<3 lines>...
        use_cache=depends.use_cache,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 251, in get_dependant
    endpoint_signature = get_typed_signature(call)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 209, in get_typed_signature
    signature = inspect.signature(call)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\inspect.py", line 3322, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                   globals=globals, locals=locals, eval_str=eval_str,
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                   annotation_format=annotation_format)
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\inspect.py", line 3037, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
                                    follow_wrapper_chains=follow_wrapped,
                                    globals=globals, locals=locals, eval_str=eval_str,
                                    annotation_format=annotation_format)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\inspect.py", line 2596, in _signature_from_callable
    raise ValueError(
        'no signature found for builtin type {!r}'.format(obj))
ValueError: no signature found for builtin type <class 'str'>
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
Process SpawnProcess-5:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 57, in <module>
    @app.get("/profile", response_model=UserOut)
     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 921, in decorator
    self.add_api_route(
    ~~~~~~~~~~~~~~~~~~^
        path,
        ^^^^^
    ...<23 lines>...
        generate_unique_id_function=generate_unique_id_function,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 860, in add_api_route
    route = route_class(
        self.prefix + path,
    ...<24 lines>...
        generate_unique_id_function=current_generate_unique_id,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 490, in __init__
    self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
                     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 269, in get_dependant
    sub_dependant = get_param_sub_dependant(
        param_name=param_name,
    ...<2 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 112, in get_param_sub_dependant
    return get_sub_dependant(
        depends=depends,
    ...<3 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 148, in get_sub_dependant
    sub_dependant = get_dependant(
        path=path,
    ...<3 lines>...
        use_cache=depends.use_cache,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 269, in get_dependant
    sub_dependant = get_param_sub_dependant(
        param_name=param_name,
    ...<2 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 112, in get_param_sub_dependant
    return get_sub_dependant(
        depends=depends,
    ...<3 lines>...
        security_scopes=security_scopes,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 148, in get_sub_dependant
    sub_dependant = get_dependant(
        path=path,
    ...<3 lines>...
        use_cache=depends.use_cache,
    )
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 251, in get_dependant
    endpoint_signature = get_typed_signature(call)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\dependencies\utils.py", line 209, in get_typed_signature
    signature = inspect.signature(call)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\inspect.py", line 3322, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                   globals=globals, locals=locals, eval_str=eval_str,
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                   annotation_format=annotation_format)
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\inspect.py", line 3037, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
                                    follow_wrapper_chains=follow_wrapped,
                                    globals=globals, locals=locals, eval_str=eval_str,
                                    annotation_format=annotation_format)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\inspect.py", line 2596, in _signature_from_callable
    raise ValueError(
        'no signature found for builtin type {!r}'.format(obj))
ValueError: no signature found for builtin type <class 'str'>
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
Process SpawnProcess-6:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 7, in <module>
    from app.auth import hash_password, verify_password, create_access_token, get_current_user
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 40, in <module>
    token: str = Header(..., alias="Authorization"),  # или используйте OAuth2PasswordBearer
                 ^^^^^^
NameError: name 'Header' is not defined
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
Process SpawnProcess-7:
Traceback (most recent call last):
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
    ~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\server.py", line 68, in serve
    config.load()
    ~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
                      ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\Evasyutinskiy\AppData\Local\Programs\Python\Python314\Lib\importlib\__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 7, in <module>
    from app.auth import hash_password, verify_password, create_access_token, get_current_user
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 19, in <module>
    pwd_context = CryptContext(schemas=["bcrypt"], deprecated="auto")
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 1402, in __init__
    self.load(kwds)
    ~~~~~~~~~^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 1597, in load
    config = _CryptConfig(source)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 636, in __init__
    self._init_options(source)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 734, in _init_options
    key, value = norm_context_option(cat, key, value)
                 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 800, in _norm_context_option
    raise KeyError("unknown CryptContext keyword: %r" % (key,))
KeyError: "unknown CryptContext keyword: 'schemas'"
WARNING:  StatReload detected changes in 'app\auth.py'. Reloading...
INFO:     Started server process [10560]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     127.0.0.1:53100 - "GET / HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:53100 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:51186 - "GET /docs HTTP/1.1" 200 OK
INFO:     127.0.0.1:51186 - "GET /openapi.json HTTP/1.1" 200 OK
(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 620, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
              ^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute '__about__'
INFO:     127.0.0.1:56234 - "POST /register HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.scope, self.receive, self.send
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\applications.py", line 1106, in __call__
    await super().__call__(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
    raise e
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 274, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        dependant=dependant, values=values, is_coroutine=is_coroutine
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 32, in register
    hashed_password=hash_password(user_data.password),
                    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 22, in hash_password
    return pwd_context.hash(password)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 2258, in hash
    return record.hash(secret, **kwds)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
    self.checksum = self._calc_checksum(secret)
                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
    self._stub_requires_backend()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
    cls.set_backend()
    ~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
    return owner.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
    return cls.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
    cls._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
    super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
    ok = loader(**kwds)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
    return mixin_cls._finalize_backend_mixin(name, dryrun)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
    if detect_wrap_bug(IDENT_2A):
       ~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
    if verify(secret, bug_hash):
       ~~~~~~^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
    return consteq(self._calc_checksum(secret), chk)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
    hash = _bcrypt.hashpw(secret, config)
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 620, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
              ^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute '__about__'
INFO:     127.0.0.1:55267 - "POST /register HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.scope, self.receive, self.send
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\applications.py", line 1106, in __call__
    await super().__call__(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
    raise e
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 274, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        dependant=dependant, values=values, is_coroutine=is_coroutine
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 32, in register
    hashed_password=hash_password(user_data.password),
                    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 22, in hash_password
    return pwd_context.hash(password)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 2258, in hash
    return record.hash(secret, **kwds)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
    self.checksum = self._calc_checksum(secret)
                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
    self._stub_requires_backend()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
    cls.set_backend()
    ~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
    return owner.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
    return cls.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
    cls._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
    super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
    ok = loader(**kwds)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
    return mixin_cls._finalize_backend_mixin(name, dryrun)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
    if detect_wrap_bug(IDENT_2A):
       ~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
    if verify(secret, bug_hash):
       ~~~~~~^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
    return consteq(self._calc_checksum(secret), chk)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
    hash = _bcrypt.hashpw(secret, config)
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 620, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
              ^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute '__about__'
INFO:     127.0.0.1:52645 - "POST /register HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.scope, self.receive, self.send
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\applications.py", line 1106, in __call__
    await super().__call__(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
    raise e
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 274, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        dependant=dependant, values=values, is_coroutine=is_coroutine
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 32, in register
    hashed_password=hash_password(user_data.password),
                    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 22, in hash_password
    return pwd_context.hash(password)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 2258, in hash
    return record.hash(secret, **kwds)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
    self.checksum = self._calc_checksum(secret)
                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
    self._stub_requires_backend()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
    cls.set_backend()
    ~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
    return owner.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
    return cls.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
    cls._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
    super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
    ok = loader(**kwds)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
    return mixin_cls._finalize_backend_mixin(name, dryrun)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
    if detect_wrap_bug(IDENT_2A):
       ~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
    if verify(secret, bug_hash):
       ~~~~~~^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
    return consteq(self._calc_checksum(secret), chk)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
    hash = _bcrypt.hashpw(secret, config)
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 620, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
              ^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute '__about__'
INFO:     127.0.0.1:51115 - "POST /register HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.scope, self.receive, self.send
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\applications.py", line 1106, in __call__
    await super().__call__(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
    raise e
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 274, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        dependant=dependant, values=values, is_coroutine=is_coroutine
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\main.py", line 32, in register
    hashed_password=hash_password(user_data.password),
                    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\app\auth.py", line 22, in hash_password
    return pwd_context.hash(password)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\context.py", line 2258, in hash
    return record.hash(secret, **kwds)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
    self.checksum = self._calc_checksum(secret)
                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
    self._stub_requires_backend()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
    cls.set_backend()
    ~~~~~~~~~~~~~~~^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
    return owner.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
    return cls.set_backend(name, dryrun=dryrun)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
    cls._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
    super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
    ok = loader(**kwds)
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
    return mixin_cls._finalize_backend_mixin(name, dryrun)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
    if detect_wrap_bug(IDENT_2A):
       ~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
    if verify(secret, bug_hash):
       ~~~~~~^^^^^^^^^^^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
    return consteq(self._calc_checksum(secret), chk)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\__Evasyutinskiy\!!Projects\Top-Python\fastapi_less5_auth\.venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
    hash = _bcrypt.hashpw(secret, config)
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])