Jandari91

Jandari91

  • 분류 전체보기 (120)
    • -----------[프로그래밍]---------.. (0)
    • Language (38)
      • C# (10)
      • Rust (26)
      • Python (2)
      • JavaScript (0)
    • Message Queue (1)
      • RabbitMQ (1)
    • OOP (1)
    • Design Pattern (2)
    • DDD (42)
      • CleanArchitecture (39)
    • Infra (8)
      • Docker (6)
      • FTP (2)
    • Deepleaning (5)
      • Tensorflow (4)
      • Pytorch (1)
    • WebAssembly (1)
      • Yew (1)
    • Back-End (7)
      • FastAPI (4)
      • ASP.NET (2)
      • Axum (1)
    • Front-End (5)
      • Blazor (2)
      • WPF (3)
      • Vue.js (0)
      • React (0)
    • OS (8)
      • 윈도우 (3)
      • Linux (4)
    • 보안 (0)
    • Database (1)
      • Postgres (1)
    • -----------[기타]----------- (1)
      • IT (1)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

Jandari91

컨텐츠 검색

태그

docker-compose Python rust WPF cleanArchitecture c# 러스트 만들면서 배우는 클린 아키텍처 TypeHint windows11 DDD fastapi CUDA error .NET docker TensorFlow CentOS Linux RHEL

최근글

댓글

공지사항

아카이브

TypeHint(2)

  • VS Code에서 Python Type Check 기능 활성화

    소개 python은 기본적으로 동적(dynamic)프로그래밍 언어로써 인터프리터(interpreter)가 코드를 실행하면서 Type을 추론하여 체크하기 때문에 Type이 고정되어 있지 않습니다. 하지만 Python 3.5 부터 Python에서도 Type을 체크할 수 있도록 Type Hints라는 기능이 도입되어 ㅆ습니다. 데이터형에 주석을 붙여 사용하게 됩니다. def greeting(name:str) -> str: return 'Hello' + name name:str : 인수 name의 Type이 str이라는 것을 어노테이션합니다. -> str : 함수 반환값의 Type이 str이라는 것을 어노테이션 합니다. VSCode Type Check 활성화 VS Code에서 아래와 같이 코딩을 합니다. def..

    2023.04.21
  • FastAPI의 Type hits

    https://fastapi.tiangolo.com/ko/python-types/ Python Types란 FastAPI는 Python의 type hints를 사용합니다. python은 기본적으로 동적(dynamic)프로그래밍 언어로써 인터프리터(interpreter)가 코드를 실행하면서 Type을 추론하여 체크하기 때문에 Type이 고정되어 있지 않습니다. FastAPI에서는 type을 선언하여 사용하므로 Editor와 Tools에서 디버깅에 대해 더 나은 경험을 제공 할 수 있습니다. 인텔리센스(IntelliSense) 지원 def get_full_name(first_name, last_name): full_name = first_name.title() + " " + last_name.title() ..

    2023.04.19
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바