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
{{ message }}
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
{
"errorMessage": "module 'typing' has no attribute '_ClassVar'",
"errorType": "AttributeError",
"requestId": "ac8561f5-dc64-42e5-af44-9f3c942ef80d",
"stackTrace": [
" File "/var/task/lambda_function.py", line 13, in lambda_handler\n for secret in whispers.secrets(args):\n",
" File "/opt/python/whispers/init.py", line 14, in secrets\n from whispers.core.args import parse_args\n",
" File "/opt/python/whispers/core/args.py", line 7, in \n from whispers.core.utils import DEFAULT_PATH, default_rules, load_regex\n",
" File "/opt/python/whispers/core/utils.py", line 12, in \n from whispers.models.pair import KeyValuePair\n",
" File "/opt/python/whispers/models/pair.py", line 6, in \n class KeyValuePair:\n",
" File "/opt/python/dataclasses.py", line 958, in dataclass\n return wrap(_cls)\n",
" File "/opt/python/dataclasses.py", line 950, in wrap\n return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen)\n",
" File "/opt/python/dataclasses.py", line 800, in _process_class\n cls_fields = [_get_field(cls, name, type)\n",
" File "/opt/python/dataclasses.py", line 800, in \n cls_fields = [_get_field(cls, name, type)\n",
" File "/opt/python/dataclasses.py", line 659, in _get_field\n if (_is_classvar(a_type, typing)\n",
" File "/opt/python/dataclasses.py", line 550, in _is_classvar\n return type(a_type) is typing._ClassVar\n"
]
}
The text was updated successfully, but these errors were encountered:
hey @bheemuni-raju, I think the problem is with having dataclassesinstalled. So short term fix is to pip3 uninstall dataclasses on Python 3.9.. but i have not yet done any testing.
{
"errorMessage": "module 'typing' has no attribute '_ClassVar'",
"errorType": "AttributeError",
"requestId": "ac8561f5-dc64-42e5-af44-9f3c942ef80d",
"stackTrace": [
" File "/var/task/lambda_function.py", line 13, in lambda_handler\n for secret in whispers.secrets(args):\n",
" File "/opt/python/whispers/init.py", line 14, in secrets\n from whispers.core.args import parse_args\n",
" File "/opt/python/whispers/core/args.py", line 7, in \n from whispers.core.utils import DEFAULT_PATH, default_rules, load_regex\n",
" File "/opt/python/whispers/core/utils.py", line 12, in \n from whispers.models.pair import KeyValuePair\n",
" File "/opt/python/whispers/models/pair.py", line 6, in \n class KeyValuePair:\n",
" File "/opt/python/dataclasses.py", line 958, in dataclass\n return wrap(_cls)\n",
" File "/opt/python/dataclasses.py", line 950, in wrap\n return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen)\n",
" File "/opt/python/dataclasses.py", line 800, in _process_class\n cls_fields = [_get_field(cls, name, type)\n",
" File "/opt/python/dataclasses.py", line 800, in \n cls_fields = [_get_field(cls, name, type)\n",
" File "/opt/python/dataclasses.py", line 659, in _get_field\n if (_is_classvar(a_type, typing)\n",
" File "/opt/python/dataclasses.py", line 550, in _is_classvar\n return type(a_type) is typing._ClassVar\n"
]
}
The text was updated successfully, but these errors were encountered: