- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for exists (0.49 sec)
-
scripts/docs.py
@app.command() def new_lang(lang: str = typer.Argument(..., callback=lang_callback)): """ Generate a new docs translation directory for the language LANG. """ new_path: Path = Path("docs") / lang if new_path.exists(): typer.echo(f"The language was already created: {lang}") raise typer.Abort() new_path.mkdir() new_config_path: Path = Path(new_path) / mkdocs_name
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 10.9K bytes - Viewed (1) -
docs/es/docs/index.md
* ReDoc. --- Volviendo al ejemplo de código anterior, **FastAPI** va a: * Validar que existe un `item_id` en el path para requests usando `GET` y `PUT`. * Validar que el `item_id` es del tipo `int` para requests de tipo `GET` y `PUT`. * Si no lo es, el cliente verá un mensaje de error útil y claro.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
I'll tell you a bit more about these **concepts** here, and that would hopefully give you the **intuition** you would need to decide how to deploy your API in very different environments, possibly even in **future** ones that don't exist yet. By considering these concepts, you will be able to **evaluate and design** the best way to deploy **your own APIs**. In the next chapters, I'll give you more **concrete recipes** to deploy FastAPI applications.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
* find the module `dependencies` (an imaginary file at `app/routers/dependencies.py`)... * and from it, import the function `get_token_header`. But that file doesn't exist, our dependencies are in a file at `app/dependencies.py`. Remember how our app/file structure looks like: <img src="/img/tutorial/bigger-applications/package.svg"> --- The two dots `..`, like in:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
```console // Create an env var MY_NAME in line for this program call $ MY_NAME="Wade Wilson" python main.py // Now it can read the environment variable Hello Wade Wilson from Python // The env var no longer exists afterwards $ python main.py Hello World from Python ``` </div> !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 15.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
Pode ser que você precise comunicar ao cliente que: * O cliente não tem direitos para realizar aquela operação. * O cliente não tem acesso aquele recurso. * O item que o cliente está tentando acessar não existe. * etc. Nesses casos, você normalmente retornaria um **HTTP status code** próximo ao status code na faixa do status code **400** (do 400 ao 499).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10K bytes - Viewed (0) -
docs/pt/docs/index.md
* ReDoc. --- Voltando ao código do exemplo anterior, **FastAPI** irá: * Validar que existe um `item_id` na rota para requisições `GET` e `PUT`. * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`. * Se não é validado, o cliente verá um útil, claro erro. * Verificar se existe um parâmetro de _query_ opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/fr/docs/contributing.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:51:07 GMT 2023 - 16.3K bytes - Viewed (0) -
docs/fr/docs/index.md
--- Pour revenir à l'exemple de code précédent, **FastAPI** permet de : * Valider que `item_id` existe dans le chemin des requêtes `GET` et `PUT`. * Valider que `item_id` est de type `int` pour les requêtes `GET` et `PUT`. * Si ce n'est pas le cas, le client voit une erreur utile et claire. * Vérifier qu'il existe un paramètre de requête facultatif nommé `q` (comme dans `http://127.0.0.1:8000/items/foo?q=somequery`) pour les requêtes `GET`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 22K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
"application/json": { ... ``` #### À quoi sert OpenAPI Le schéma **OpenAPI** est ce qui alimente les deux systèmes de documentation interactive. Et il existe des dizaines d'alternatives, toutes basées sur **OpenAPI**. Vous pourriez facilement ajouter n'importe laquelle de ces alternatives à votre application **FastAPI**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Sep 27 20:52:31 GMT 2023 - 10.3K bytes - Viewed (0)