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

Typing does not support old python versions #19

Open
AcerP-py opened this issue Oct 11, 2024 · 0 comments
Open

Typing does not support old python versions #19

AcerP-py opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working code improvement documentation Improvements or additions to documentation

Comments

@AcerP-py
Copy link
Contributor

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib64/python3.6/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib64/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/ccs/home/xjv/.local/lib/python3.6/site-packages/velocity/__init__.py", line 2, in <module>
    from ._config import config
  File "/ccs/home/xjv/.local/lib/python3.6/site-packages/velocity/_config.py", line 11, in <module>
    class Config:
  File "/ccs/home/xjv/.local/lib/python3.6/site-packages/velocity/_config.py", line 17, in Config
    def set(self, item: str, value: int | bool | str | list | dict | None) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
@AcerP-py AcerP-py added bug Something isn't working documentation Improvements or additions to documentation code improvement labels Oct 11, 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 code improvement documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant