Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 147 for Something (1.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_custom_schema_fields.py

        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
            }
        }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
        return {"name": "Foo item"}
    
    
    client = TestClient(app)
    
    
    item_schema = {
        "title": "Item",
        "required": ["name"],
        "type": "object",
        "x-something-internal": {
            "level": 4,
        },
        "properties": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            String details = testableJob.testFormatDetails(events);
    
            assertNotNull(details);
            assertTrue(details.contains("Total: 1 event(s)"));
            assertTrue(details.contains("ERROR"));
            assertTrue(details.contains("org.codelibs.fess.TestClass"));
            assertTrue(details.contains("Something went wrong"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. tests/test_forms_single_model.py

                "age": "70",
                "tags": ["plumbus", "citadel"],
                "with": "something",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "Rick",
            "lastname": "Sanchez",
            "age": 70,
            "tags": ["plumbus", "citadel"],
            "with": "something",
        }
    
    
    def test_defaults():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/events.md

    If you check, the function is decorated with an `@asynccontextmanager`.
    
    That converts the function into something called an "**async context manager**".
    
    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager:
    
    ```Python
    with open("file.txt") as file:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/encoder.md

    # JSON Compatible Encoder { #json-compatible-encoder }
    
    There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc).
    
    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. docs/en/docs/async.md

    Asynchronous code just means that the language 💬 has a way to tell the computer / program 🤖 that at some point in the code, it 🤖 will have to wait for *something else* to finish somewhere else. Let's say that *something else* is called "slow-file" 📝.
    
    So, during that time, the computer can go and do some other work, while "slow-file" 📝 finishes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    A "**callable**" in Python is anything that Python can "call" like a function.
    
    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    ## Classes as dependencies { #classes-as-dependencies_1 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

    Let's imagine some attackers are trying to guess the username and password.
    
    And they send a request with a username `johndoe` and a password `love123`.
    
    Then the Python code in your application would be equivalent to something like:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. docs/en/docs/management-tasks.md

    * `feature`: Features
        * New features, adding support for things that didn't exist before.
    * `bug`: Fixes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. docs/en/docs/deployment/concepts.md

    We also saw that HTTPS is normally provided by a component **external** to your application server, a **TLS Termination Proxy**.
    
    And there has to be something in charge of **renewing the HTTPS certificates**, it could be the same component or it could be something different.
    
    ### Example Tools for HTTPS { #example-tools-for-https }
    
    Some of the tools you could use as a TLS Termination Proxy are:
    
    * Traefik
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 18.5K bytes
    - Click Count (1)
Back to Top