Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for actuals (0.49 sec)

  1. docs/en/docs/advanced/openapi-webhooks.md

    The webhooks that you define will end up in the **OpenAPI** schema and the automatic **docs UI**.
    
    /// info
    
    The `app.webhooks` object is actually just an `APIRouter`, the same type you would use when structuring your app with multiple files.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
    
    ## Documenting the callback { #documenting-the-callback }
    
    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    It could be just one or two lines of code, like:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/sql-databases.md

    * `name`
    * `age`
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:9] hl[7:9] *}
    
    #### `Hero` - the *table model* { #hero-the-table-model }
    
    Then let's create `Hero`, the actual *table model*, with the **extra fields** that are not always in the other models:
    
    * `id`
    * `secret_name`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. docs/en/docs/python-types.md

    ```
    
    Using `Optional[str]` instead of just `str` will let the editor help you detect errors where you could be assuming that a value is always a `str`, when it could actually be `None` too.
    
    `Optional[Something]` is actually a shortcut for `Union[Something, None]`, they are equivalent.
    
    This also means that in Python 3.10, you can use `Something | None`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

            int expected = Byte.compare(x, y);
            int actual = SignedBytes.compare(x, y);
            if (expected == 0) {
              assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
              assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual)
                  .that(actual < 0)
                  .isTrue();
            } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/security/get-current-user.md

    # Obtener Usuario Actual { #get-current-user }
    
    En el capítulo anterior, el sistema de seguridad (que se basa en el sistema de inyección de dependencias) le estaba dando a la *path operation function* un `token` como un `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual.
    
    ## Crear un modelo de usuario { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    	for _, tc := range testCases {
    		actual := f([]byte(tc.in))
    		if actual == nil && tc.out != nil {
    			t.Errorf("%s(%q) = nil; want %q", funcName, tc.in, tc.out)
    		}
    		if actual != nil && tc.out == nil {
    			t.Errorf("%s(%q) = %q; want nil", funcName, tc.in, actual)
    		}
    		if !Equal(actual, tc.out) {
    			t.Errorf("%s(%q) = %q; want %q", funcName, tc.in, actual, tc.out)
    		}
    	}
    }
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

         * Verifies that {@code projectManager.attachArtifact(…)} throws an exception,
         * and that the expecption message contains the expected and actual <abbr>GAV</abbr>.
         *
         * @param expectedGAV the actual <abbr>GAV</abbr> that the exception message should contain
         * @param actualGAV the actual <abbr>GAV</abbr> that the exception message should contain
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial005_py39.py

                        "tax": 3.2,
                    },
                },
                "converted": {
                    "summary": "An example with converted data",
                    "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                    "value": {
                        "name": "Bar",
                        "price": "35.4",
                    },
                },
                "invalid": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.java

            int expected = Short.compare(x, y);
            int actual = Shorts.compare(x, y);
            if (expected == 0) {
              assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
              assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual)
                  .that(actual < 0)
                  .isTrue();
            } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top