Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- ubuntu
- Git
- 자연어처리
- AI 경진대회
- SW Expert Academy
- ChatGPT
- 금융문자분석경진대회
- 데이콘
- PYTHON
- Baekjoon
- Kaggle
- 백준
- 프로그래머스
- github
- 맥북
- programmers
- 프로그래머스 파이썬
- 편스토랑
- 코로나19
- hackerrank
- 우분투
- leetcode
- gs25
- 더현대서울 맛집
- dacon
- Docker
- Real or Not? NLP with Disaster Tweets
- 편스토랑 우승상품
- 파이썬
- 캐치카페
Archives
- Today
- Total
목록
반응형
APIRouter TypeError: __init__() got an unexpected keyword argument 'tags' FastAPI (1)
반응형
솜씨좋은장씨
[FastAPI] APIRouter TypeError: __init__() got an unexpected keyword argument 'tags' 해결방법 (Python)
FastAPI로 API를 개발하면서 from fastapi import APIRouter router = APIRouter(tags=["template crud"]) 위처럼 FastAPI의 APIRouter를 활용하여 개발한 후에 호기롭게 실행하였는데...! router = APIRouter(tags=["template crud"]) TypeError: __init__() got an unexpected keyword argument 'tags' 위처럼 APIRouter는 tags라는 항목을 가지고 있지 않다는 오류가 발생하였습니다. 원인 원인은 내 컴퓨터 또는 서버에 설치되어있는 FastAPI의 버전이 낮아 발생하는 오류입니다. 해결방법 pip를 최신버전으로 업데이트 한 이후에 $ python3 -m ..
Programming/Python
2021. 8. 9. 17:33
반응형