• 관리
  • 글쓰기
  • 로그인
  • 로그아웃

하톨의 컴퓨터 세상

  • 홈
  • 태그
  • 방명록

다크 모드

글자 크기

프로필

꾸미기 > 스킨 편집 > 문구 수정

꾸미기 > 사이드바 > 프로필 추가/제거

카테고리

  • 분류 전체보기 (12)
    • 코딩(Coding) (11)
      • 파이썬(Python) (1)
      • 우분투(Ubuntu) (0)
    • 도커(Docker) (1)

공지사항

최근 글

인기 글

최근 댓글

태그

글 보관함

방문자 통계

오늘 :

어제 :

코딩(Coding)/파이썬(Python)1

  • [FastAPI] 경로 인자/변수 (Path Parameters) Path Parameters item_id 를 통한 인자 설정 You can declare path parameters or variables with the same syntax used by Python format strings 경로의 파라미터들이나 변수들을 Python format strings 을 사용하여 정의할 수 있다. from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_item(item_id): return {"item_id": item_id} The value of the path parameter item_id will be passed to your function as the a.. 코딩(Coding)/파이썬(Python) 2022. 12. 11.
이전 1 다음
TOP

나를 이롭게 남을 이롭게 모두를 이롭게 하고 싶은 회사원 개발자 선생님

미리 알았다면 좋았을 텐데

잠깐만요! 이 글도 한 번 보고 가세요 🧡



티스토리툴바