- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 874 for Pythons (0.07 sec)
-
docs/pt/docs/how-to/extending-openapi.md
### **FastAPI** Normal Primeiro, escreva toda a sua aplicação **FastAPI** normalmente: ```Python hl_lines="1 4 7-9" {!../../docs_src/extending_openapi/tutorial001.py!} ``` ### Gerar o esquema OpenAPI Em seguida, use a mesma função utilitária para gerar o esquema OpenAPI, dentro de uma função `custom_openapi()`: ```Python hl_lines="2 15-21" {!../../docs_src/extending_openapi/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:40:08 UTC 2024 - 3.4K bytes - Viewed (0) -
.github/actions/notify-translations/Dockerfile
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 19:51:39 UTC 2023 - 138 bytes - Viewed (0) -
docs/pt/docs/alternatives.md
> Requests é um dos pacotes Python mais baixados de todos os tempos O jeito de usar é muito simples. Por exemplo, para fazer uma requisição `GET`, você deveria escrever: ```Python response = requests.get("http://example.com/some/url") ``` A contra-parte da aplicação FastAPI, *rota de operação*, poderia parecer como: ```Python hl_lines="1" @app.get("/some/url") def read_url():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.5K bytes - Viewed (0) -
common/Makefile.common.mk
.*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' .PHONY: lint-dockerfiles lint-scripts lint-yaml lint-copyright-banner lint-go lint-python lint-helm lint-markdown lint-sass lint-typescript lint-all format-go format-python update-common lint-licenses dump-licenses dump-licenses-csv check-clean-repo tidy-docker help tidy-go mod-download-go...
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 14:37:27 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/zh/docs/contributing.md
首先,你可能想了解 [帮助 FastAPI 及获取帮助](help-fastapi.md){.internal-link target=_blank}的基本方式。 ## 开发 如果你已经克隆了源码仓库,并且需要深入研究代码,下面是设置开发环境的指南。 ### 通过 `venv` 管理虚拟环境 你可以使用 Python 的 `venv` 模块在一个目录中创建虚拟环境: <div class="termy"> ```console $ python -m venv env ``` </div> 这将使用 Python 程序创建一个 `./env/` 目录,然后你将能够为这个隔离的环境安装软件包。 ### 激活虚拟环境 使用以下方法激活新环境: //// tab | Linux, macOS <div class="termy"> ```console
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 12.8K bytes - Viewed (0) -
docs/en/docs/reference/middleware.md
It can be imported from `fastapi`: ```python from fastapi.middleware.cors import CORSMiddleware ``` ::: fastapi.middleware.gzip.GZipMiddleware It can be imported from `fastapi`: ```python from fastapi.middleware.gzip import GZipMiddleware ``` ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware It can be imported from `fastapi`: ```python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 991 bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
### Импортируйте `HTTPException` ```Python hl_lines="1" {!../../docs_src/handling_errors/tutorial001.py!} ``` ### Вызовите `HTTPException` в своем коде `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API. Поскольку это исключение Python, то его не `возвращают`, а `вызывают`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.5K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.packages.txt
libhdf5-serial-dev libomp-18-dev libssl-dev libtool libxml2-dev libxslt1-dev libzmq3-dev mlocate moreutils openjdk-21-jdk openjdk-21-jre-headless openssl parallel patchelf pkg-config python3-dev python3-setuptools rsync software-properties-common sudo swig unzip vim wget zip
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 09 19:53:03 UTC 2024 - 494 bytes - Viewed (0) -
docs/em/docs/advanced/security/http-basic-auth.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/pt/docs/advanced/additional-responses.md
Para estes casos, você pode utilizar a técnica do Python de "desempacotamento" de um `dict` utilizando `**dict_to_unpack`: ```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` Aqui, o `new_dict` terá todos os pares de chave-valor do `old_dict` mais o novo par de chave-valor: ```Python { "old key": "old value",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.3K bytes - Viewed (0)