Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 770 for emberi (0.14 sec)

  1. docs/en/docs/tutorial/body-multiple-params.md

    ## Embed a single body parameter
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                    if (containingClassSymbol != null) {
                        val member = useSitePosition.parentsWithSelf
                            .filterNot { it is PsiTypeParameter }
                            .takeWhile { it !is PsiClass }
                            .firstIsInstanceOrNull<PsiTypeParameterListOwner>()
    
                        if (member != null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    // represent type lists.  In particular, TypesN<T1, T2, ..., TN>
    // represents a type list with N types (T1, T2, ..., and TN) in it.
    // Except for Types0, every struct in the family has two member types:
    // Head for the first type in the list, and Tail for the rest of the
    // list.
    
    // The empty type list.
    struct Types0 {};
    
    // Type lists of length 1, 2, 3, and so on.
    
    template <typename T1>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/unicode/graphic.go

    }
    
    // IsOneOf reports whether the rune is a member of one of the ranges.
    // The function "In" provides a nicer signature and should be used in preference to IsOneOf.
    func IsOneOf(ranges []*RangeTable, r rune) bool {
    	for _, inside := range ranges {
    		if Is(inside, r) {
    			return true
    		}
    	}
    	return false
    }
    
    // In reports whether the rune is a member of one of the ranges.
    func In(r rune, ranges ...*RangeTable) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial005_an_py39.py

        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 428 bytes
    - Viewed (0)
  6. src/internal/syscall/windows/memory_windows.go

    	// A pointer to the base address of the region of pages.
    	BaseAddress uintptr
    	// A pointer to the base address of a range of pages allocated by the VirtualAlloc function.
    	// The page pointed to by the BaseAddress member is contained within this allocation range.
    	AllocationBase uintptr
    	// The memory protection option when the region was initially allocated
    	AllocationProtect uint32
    	PartitionId       uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:18:04 UTC 2022
    - 940 bytes
    - Viewed (0)
  7. src/net/http/roundtrip.go

    //go:build !js
    
    package http
    
    import _ "unsafe" // for linkname
    
    // RoundTrip should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/erda-project/erda-infra
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname badRoundTrip net/http.(*Transport).RoundTrip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 988 bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta2/types.go

    // at least one member of verbs matches the request, (b) at least one
    // member of apiGroups matches the request, (c) at least one member of
    // resources matches the request, and (d) either (d1) the request does
    // not specify a namespace (i.e., `Namespace==""`) and clusterScope is
    // true or (d2) the request specifies a namespace and least one member
    // of namespaces matches the request's namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java

    import org.apache.commons.lang3.exception.ExceptionUtils;
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    
    public class HttpClientWrapper {
    
        private final HttpClient client; // private member: implementation details
    
        // HttpClient is used as a parameter of a public method
        // so "leaks" into the public API of this component
        public HttpClientWrapper(HttpClient client) {
            this.client = client;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

    import org.apache.commons.lang3.exception.ExceptionUtils;
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    
    public class HttpClientWrapper {
    
        private final HttpClient client; // private member: implementation details
    
        // HttpClient is used as a parameter of a public method
        // so "leaks" into the public API of this component
        public HttpClientWrapper(HttpClient client) {
            this.client = client;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top