Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 28 of 28 for Morty (0.08 seconds)

  1. fastapi/routing.py

        app = FastAPI()
        router = APIRouter()
    
    
        @router.get("/users/", tags=["users"])
        async def read_users():
            return [{"username": "Rick"}, {"username": "Morty"}]
    
    
        app.include_router(router)
        ```
        """
    
        def __init__(
            self,
            *,
            prefix: Annotated[str, Doc("An optional path prefix for the router.")] = "",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/query-params-str-validations.md

    Por ejemplo, esto no está permitido:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...porque no está claro si el valor por defecto debería ser `"rick"` o `"morty"`.
    
    Así que utilizarías (preferentemente):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...o en code bases más antiguas encontrarás:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/query-params-str-validations.md

    Par exemple, ceci n’est pas autorisé :
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ... parce qu’il n’est pas clair si la valeur par défaut doit être « rick » ou « morty ».
    
    Donc, vous utiliseriez (de préférence) :
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_bigger_applications/test_main.py

    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. docs/en/docs/release-notes.md

    ```Python
    from fastapi import Depends, FastAPI, HTTPException
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    32B6          ; mapped                 ; 0034 0031     # 3.2  CIRCLED NUMBER FORTY ONE
    32B7          ; mapped                 ; 0034 0032     # 3.2  CIRCLED NUMBER FORTY TWO
    32B8          ; mapped                 ; 0034 0033     # 3.2  CIRCLED NUMBER FORTY THREE
    32B9          ; mapped                 ; 0034 0034     # 3.2  CIRCLED NUMBER FORTY FOUR
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    thought to herself.
    
      At this moment the King, who had been for some time busily
    writing in his note-book, cackled out `Silence!' and read out
    from his book, `Rule Forty-two.  ALL PERSONS MORE THAN A MILE
    HIGH TO LEAVE THE COURT.'
    
      Everybody looked at Alice.
    
      `I'M not a mile high,' said Alice.
    
      `You are,' said the King.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    thought to herself.
    
      At this moment the King, who had been for some time busily
    writing in his note-book, cackled out `Silence!' and read out
    from his book, `Rule Forty-two.  ALL PERSONS MORE THAN A MILE
    HIGH TO LEAVE THE COURT.'
    
      Everybody looked at Alice.
    
      `I'M not a mile high,' said Alice.
    
      `You are,' said the King.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
Back to Top