- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for first_name (0.08 sec)
-
docs/ru/docs/python-types.md
Вы вводите первый параметр функции, `first_name`, затем точку (`.`) и нажимаете `Ctrl+Space`, чтобы вызвать автозавершение. Но, к сожалению, ничего полезного не находится: <img src="/img/python-types/image01.png"> ### Добавим типы { #add-types } Давайте изменим одну строку из предыдущей версии. Мы поменяем ровно этот фрагмент — параметры функции — с: ```Python first_name, last_name ``` на:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 24.4K bytes - Viewed (0) -
docs/de/docs/python-types.md
```Python first_name, last_name ``` zu: ```Python first_name: str, last_name: str ``` Das war's. Das sind die „Typhinweise“: {* ../../docs_src/python_types/tutorial002_py39.py hl[1] *} Das ist nicht das gleiche wie das Deklarieren von Defaultwerten, wie es hier der Fall ist: ```Python first_name="john", last_name="doe" ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.9K bytes - Viewed (1) -
docs/pt/docs/python-types.md
```Python first_name, last_name ``` para: ```Python first_name: str, last_name: str ``` É isso aí. Esses são os "type hints": {* ../../docs_src/python_types/tutorial002_py39.py hl[1] *} Isso não é o mesmo que declarar valores padrão como seria com: ```Python first_name="john", last_name="doe" ``` É uma coisa diferente.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.7K bytes - Viewed (0) -
docs/es/docs/python-types.md
```Python first_name, last_name ``` a: ```Python first_name: str, last_name: str ``` Eso es todo. Esas son las "anotaciones de tipos": {* ../../docs_src/python_types/tutorial002_py39.py hl[1] *} Eso no es lo mismo que declarar valores predeterminados como sería con: ```Python first_name="john", last_name="doe" ``` Es una cosa diferente.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (1) -
docs/en/docs/python-types.md
```Python first_name, last_name ``` to: ```Python first_name: str, last_name: str ``` That's it. Those are the "type hints": {* ../../docs_src/python_types/tutorial002_py39.py hl[1] *} That is not the same as declaring default values like would be with: ```Python first_name="john", last_name="doe" ``` It's a different thing.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/fr/docs/python-types.md
```Python first_name, last_name ``` à : ```Python first_name: str, last_name: str ``` C'est tout. Ce sont des annotations de types : {*../../docs_src/python_types/tutorial002.py hl[1] *} À ne pas confondre avec la déclaration de valeurs par défaut comme ici : ```Python first_name="john", last_name="doe" ``` C'est une chose différente.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 10K bytes - Viewed (0) -
docs/uk/docs/python-types.md
Ви надрукуєте перший параметр функції, `first_name`, тоді крапку (`.`), а тоді натиснете `Ctrl+Space`, щоб запустити автозаповнення. Але, на жаль, ви не отримаєте нічого корисного: <img src="/img/python-types/image01.png"> ### Додайте типи Давайте змінимо один рядок з попередньої версії. Ми змінимо саме цей фрагмент, параметри функції, з: ```Python first_name, last_name ``` на: ```Python
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 19.4K bytes - Viewed (0) -
docs/ko/docs/python-types.md
그때 개발자들의 오랜 친구, 에디터 자동완성을 시도해봅니다. 당신은 `first_name`를 입력한 뒤 점(`.`)을 입력하고 자동완성을 켜기 위해서 `Ctrl+Space`를 눌렀습니다. 하지만 슬프게도 아무런 도움이 되지 않습니다: <img src="/img/python-types/image01.png"> ### 타입 추가하기 이전 버전에서 한 줄만 수정해봅시다. 저희는 이 함수의 매개변수 부분: ```Python first_name, last_name ``` 을 아래와 같이 바꿀 겁니다: ```Python first_name: str, last_name: str ``` 이게 다입니다. 이게 "타입 힌트"입니다:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/ja/docs/python-types.md
そして、古くからプログラマーの友人であるエディタで自動補完を試してみます。 関数の最初のパラメータ`first_name`を入力し、ドット(`.`)を入力してから、`Ctrl+Space`を押すと補完が実行されます。 しかし、悲しいことに、これはなんの役にも立ちません: <img src="https://fastapi.tiangolo.com/img/python-types/image01.png"> ### 型の追加 先ほどのコードから一行変更してみましょう。 以下の関数のパラメータ部分を: ```Python first_name, last_name ``` 以下へ変更します: ```Python first_name: str, last_name: str ``` これだけです。 それが「型ヒント」です:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.6K bytes - Viewed (0) -
tests/test_schema_extra_examples.py
# TODO: In that case, define if File() should support example/examples too # @app.post("/form_example") # def form_example(firstname: str = Form(example="John")): # return firstname # @app.post("/form_examples") # def form_examples( # lastname: str = Form( # ..., # examples={
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 32.2K bytes - Viewed (0)