Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,876 for Ehat (0.14 sec)

  1. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    // are responsible for serializing and deserializing the objects that contain
    // their internal state.
    // Once a ControllerRevision has been successfully created, it can not be updated.
    // The API Server will fail validation of all requests that attempt to mutate
    // the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/extending-openapi.md

    A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema.
    
    As part of the application object creation, a *path operation* for `/openapi.json` (or for whatever you set your `openapi_url`) is registered.
    
    It just returns a JSON response with the result of the application's `.openapi()` method.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/sql-databases.md

    Now create Pydantic *models* (schemas) that will be used when reading data, when returning it from the API.
    
    For example, before creating an item, we don't know what will be the ID assigned to it, but when reading it (when returning it from the API) we will already know its ID.
    
    The same way, when reading a user, we can now declare that `items` will contain the items that belong to this user.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. cmd/data-usage-cache_test.go

    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    			// what is absent in exp is absent in got too
    			for k := range got {
    				if _, ok := exp[k]; !ok && got[k] > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                return false;
            }
    
            MavenProject that = (MavenProject) other;
    
            return Objects.equals(getArtifactId(), that.getArtifactId())
                    && Objects.equals(getGroupId(), that.getGroupId())
                    && Objects.equals(getVersion(), that.getVersion());
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    It is not encrypted, so, anyone could recover the information from the contents.
    
    But it's signed. So, when you receive a token that you emitted, you can verify that you actually emitted it.
    
    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

        ```
    
    ## Request body + path parameters
    
    You can declare path parameters and request body at the same time.
    
    **FastAPI** will recognize that the function parameters that match path parameters should be **taken from the path**, and that function parameters that are declared to be Pydantic models should be **taken from the request body**.
    
    === "Python 3.10+"
    
        ```Python hl_lines="15-16"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    // all leading UTF-8-encoded code points c that satisfy f(c).
    func TrimLeftFunc(s []byte, f func(r rune) bool) []byte {
    	i := indexFunc(s, f, false)
    	if i == -1 {
    		return nil
    	}
    	return s[i:]
    }
    
    // TrimRightFunc returns a subslice of s by slicing off all trailing
    // UTF-8-encoded code points c that satisfy f(c).
    func TrimRightFunc(s []byte, f func(r rune) bool) []byte {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. doc/asm.html

    If you plan to write assembly language, you should read that document although much of it is Plan 9-specific.
    The current document provides a summary of the syntax and the differences with
    what is explained in that document, and
    describes the peculiarities that apply when writing assembly code to interact with Go.
    </p>
    
    <p>
    The most important thing to know about Go's assembler is that it is not a direct representation of the underlying machine.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top