- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,302 for SAME (0.03 sec)
-
docs/en/docs/how-to/custom-request-and-route.md
After that, all of the processing logic is the same. But because of our changes in `GzipRequest.body`, the request body will be automatically decompressed when it is loaded by **FastAPI** when needed. ## Accessing the request body in an exception handler /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
### Same Schema for Input and Output Models in Docs And now there will be one single schema for input and output for the model, only `Item`, and it will have `description` as **not required**: <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image05.png"> </div>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
But it's still part of the same **FastAPI** application/web API (it's part of the same "Python Package"). You can create the *path operations* for that module using `APIRouter`. ### Import `APIRouter` You import it and create an "instance" the same way you would with the class `FastAPI`: ```Python hl_lines="1 3" title="app/routers/users.py"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
docs/en/docs/python-types.md
//// tab | Python 3.10+ You can use the same builtin types as generics (with square brackets and types inside): * `list` * `tuple` * `set` * `dict` And the same as with Python 3.8, from the `typing` module: * `Union` * `Optional` (the same as with Python 3.8) * ...and others.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
netns1 := p.UpsertPodCacheWithNetns(string(pod.UID), wl) if !reflect.DeepEqual(netns1, ns) { t.Fatalf("Expected the same Netns for the same uid, got %v and %v", netns1, ns) } ns2 := newFakeNsInode(inc(), 1) wl2 := WorkloadInfo{ Workload: podToWorkload(pod), Netns: ns2, } // when using same uid, the original netns should be returned netns2 := p.UpsertPodCacheWithNetns(string(pod.UID), wl2) if netns2 != ns {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-params.md
# Cookie Parameters You can define Cookie parameters the same way you define `Query` and `Path` parameters. ## Import `Cookie` First import `Cookie`: //// tab | Python 3.10+ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001_an_py39.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
And of course, it supports the same: * data validation * data serialization * data documentation, etc. This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. /// info Keep in mind that dataclasses can't do everything Pydantic models can do.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:35:06 UTC 2024 - 4K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
This is the same mechanism used when you give permissions while logging in with Facebook, Google, GitHub, etc: <img src="/img/tutorial/security/image11.png"> ## JWT token with scopes Now, modify the token *path operation* to return the scopes requested.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 11:02:16 UTC 2024 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
public abstract class DiscreteDomain<C extends Comparable> { /** * Returns the discrete domain for values of type {@code Integer}. * * <p>This method always returns the same object. That object is serializable; deserializing it * results in the same object too. * * @since 14.0 (since 10.0 as {@code DiscreteDomains.integers()}) */ public static DiscreteDomain<Integer> integers() { return IntegerDomain.INSTANCE;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
* the same. * <li>The unreserved characters ".", "-", "~", and "_" remain the same. * <li>The general delimiters "@" and ":" remain the same. * <li>The subdelimiters "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", and "=" remain * the same. * <li>The space character " " is converted into %20.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 7.1K bytes - Viewed (0)