ISSUE Template 경로 .github/ISSUE_TEMPLATE/feature_request.md --- name: Feature request about: 새로운 기능을 추가할 때 사용하는 템플릿 title: "[FEAT] " labels: '' assignees: 'username' --- ## Background - ## To do - [ ] PR Template 경로 .github/PULL_REQUEST_TEMPLATE.md ## PR Type - [ ] 기능 추가 - [ ] 기능 삭제 - [ ] 버그 수정 - [ ] 의존성, 환경 변수, 빌드 관련 코드 업데이트 ## Change Log - ## To Reviewer - ## Issue Tags - Closed: # - See also:..
Union을 쓰는 이유 # multi_param.py from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/users/{user_id}/items/{item_id}") def read_user_item(user_id: int, item_id: str, q: Union[str, None] = None, short: bool = False): item = {"item": item_id, "owner_id": user_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long..
https://mlops-for-mle.github.io/tutorial/docs/database/overview 0) Overview | ML Engineer를 위한 MLOps 📌 Overview of Database Chapter mlops-for-mle.github.io Overview Docker를 이용해 DB server (Postges Server) 생성 psycopg2 패키지 이용하여 테이블 생성 및 데이터 삽입 DB Server Creation DB 서버 생성 docker run -d \ --name postgres-server \ -p 5432:5432 \ -e POSTGRES_USER=myuser \ -e POSTGRES_PASSWORD=mypassword \ -e POSTGRES_DB..
pip install pre-commit pre-commit 설치 sample hook 생성 pre-commit sample-config > .pre-commit-config.yaml sample hook customize # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: trailing-whitespace - id: check-yaml - id: check-json - repo: https://github.com/..