- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 48 for say (0.01 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/environment-variables.md
When you install Python, you might be asked if you want to update the `PATH` environment variable. //// tab | Linux, macOS Let's say you install Python and it ends up in a directory `/opt/custompython/bin`. If you say yes to update the `PATH` environment variable, then the installer will add `/opt/custompython/bin` to the `PATH` environment variable. It could look like this: ```plaintext
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/en/docs/tutorial/cors.md
* `http://localhost` * `https://localhost` * `http://localhost:8080` Even if they are all in `localhost`, they use different protocols or ports, so, they are different "origins". ## Steps { #steps } So, let's say you have a frontend running in your browser at `http://localhost:8080`, and its JavaScript is trying to communicate with a backend running at `http://localhost` (because we don't specify a port, the browser will assume the default port `80`).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
/// info If you come from Flask, this would be the equivalent of Flask's Blueprints. /// ## An example file structure { #an-example-file-structure } Let's say you have a file structure like this: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 19.2K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
In a real application, you probably would have your tests in a different file. And your **FastAPI** application might also be composed of several files/modules, etc. ### **FastAPI** app file { #fastapi-app-file } Let's say you have a file structure as described in [Bigger Applications](bigger-applications.md): ``` . ├── app │ ├── __init__.py │ └── main.py ``` In the file `main.py` you have your **FastAPI** app:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
docs/en/docs/python-types.md
{* ../../docs_src/python_types/tutorial008_py310.py hl[1] *} This means: * The variable `prices` is a `dict`: * The keys of this `dict` are of type `str` (let's say, the name of each item). * The values of this `dict` are of type `float` (let's say, the price of each item). #### Union { #union } You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/en/docs/advanced/additional-status-codes.md
If you want to return additional status codes apart from the main one, you can do that by returning a `Response` directly, like a `JSONResponse`, and set the additional status code directly. For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2K bytes - Click Count (0) -
docs/en/docs/deployment/versions.md
The first thing you should do is to "pin" the version of **FastAPI** you are using to the specific latest version that you know works correctly for your application. For example, let's say you are using version `0.112.0` in your app. If you use a `requirements.txt` file you could specify the version with: ```txt fastapi[standard]==0.112.0 ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
But it's possible to customize it, you can set a specific CDN, or serve the files yourself. ## Custom CDN for JavaScript and CSS { #custom-cdn-for-javascript-and-css } Let's say that you want to use a different <abbr title="Content Delivery Network">CDN</abbr>, for example you want to use `https://unpkg.com/`. This could be useful if for example you live in a country that restricts some URLs.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
TearDownStack result = new TearDownStack(); tearDownStack.addTearDown( () -> { synchronized (result.lock) { assertEquals( "The test should have cleared the stack (say, by virtue of running runTearDown)", 0, result.stack.size()); } }); return result; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params.md
Several of these are explored in the next chapters of the tutorial. ## Order matters { #order-matters } When creating *path operations*, you can find situations where you have a fixed path. Like `/users/me`, let's say that it's to get data about the current user. And then you can also have a path `/users/{user_id}` to get data about a specific user by some user ID.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0)