-
Notifications
You must be signed in to change notification settings - Fork 0
Description
TypeError Traceback (most recent call last)
Input In [198], in <cell line: 1>()
----> 1 from t4json.t4json import *
File /anaconda/envs/py39_cardano/lib/python3.9/site-packages/t4json/init.py:1, in
----> 1 from t4json.t4json import *
File /anaconda/envs/py39_cardano/lib/python3.9/site-packages/t4json/t4json.py:18, in
14 from typing import Any, KeysView
15 from copy import deepcopy, copy
---> 18 class T4Json:
19 slots: tuple = (
20 '__file_path', 'ignore_method_errors', 'indentation', 'sort_keys', 'only_ascii', '__known_objects_for_path',
21 '__json_separators', '__path_separator', '__relative_path_command', '__relative_back_path_command',
22 '__working_level', '__root', '__data')
24 def init(self, source: str | bytes | dict | list = None, url_parameters: dict | list | bytes = None,
25 url_headers: dict = None, url_body: Any = None, url_user_auth: Any = None,
26 url_request_method: str = 'GET', url_raise_for_status: bool = True, create: bool = False,
27 encoding: str = 'utf-8', encoding_errors: str = 'ignore', decode_html_entities: bool = False):
File /anaconda/envs/py39_cardano/lib/python3.9/site-packages/t4json/t4json.py:24, in T4Json()
18 class T4Json:
19 slots: tuple = (
20 '__file_path', 'ignore_method_errors', 'indentation', 'sort_keys', 'only_ascii', '__known_objects_for_path',
21 '__json_separators', '__path_separator', '__relative_path_command', '__relative_back_path_command',
22 '__working_level', '__root', '__data')
---> 24 def init(self, source: str | bytes | dict | list = None, url_parameters: dict | list | bytes = None,
25 url_headers: dict = None, url_body: Any = None, url_user_auth: Any = None,
26 url_request_method: str = 'GET', url_raise_for_status: bool = True, create: bool = False,
27 encoding: str = 'utf-8', encoding_errors: str = 'ignore', decode_html_entities: bool = False):
28 self.__file_path: str | None = None # used to save the currently opened file if one is open.
30 # user_settings
TypeError: unsupported operand type(s) for |: 'type' and 'type'