작성
·
330
답변 4
2
TinyDB 공식 레퍼런스 변경사항입니다.
v4.0.0 (2020-05-02)
Attributes removed from TinyDB in favor of customizing TinyDB’s behavior by subclassing it and overloading __init__(...) and table(...):
DEFAULT_TABLE
DEFAULT_TABLE_KWARGS
DEFAULT_STORAGE
Arguments removed from TinyDB(...):
default_table: replace with TinyDB.default_table_name = 'name'
table_class: replace with TinyDB.table_class = Class
해당 API에서 default_table이라는 속성을 제거했다고 나오네요.
0
0
0
안녕하세요.
항상 오류에는 원인이 존재합니다.
기본적인 테이블 생성은 버전이 바뀌어도 변한게 없는데 TinyDB 공식 홈페이지에 가셔서
레퍼런스를 한 번 읽어보시는 것을 추천드립니다.
지금까지 잘 오셨으니 쉽게 해결하실 수 있을 것 같습니다.