Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,540 for some (0.19 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        ```Python hl_lines="16-17  24-25"
        {!> ../../../docs_src/dependencies/tutorial008.py!}
        ```
    
    The same way, you could have some dependencies with `yield` and some other dependencies with `return`, and have some of those depend on some of the others.
    
    And you could have a single dependency that requires several other dependencies with `yield`, etc.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/index.md

        ```
        pip install "uvicorn[standard]"
        ```
    
        And the same for each of the optional dependencies that you want to use.
    
    ## Advanced User Guide
    
    There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
    
    The **Advanced User Guide**, builds on this, uses the same concepts, and teaches you some extra features.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py

        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/bar/ws?token=some-token") as websocket:
                message = "Message one"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: some-token"
                data = websocket.receive_text()
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/separate-openapi-schemas.md

    ## Do not Separate Schemas
    
    Now, there are some cases where you might want to have the **same schema for input and output**.
    
    Probably the main use case for this is if you already have some autogenerated client code/SDKs and you don't want to update all the autogenerated client code/SDKs yet, you probably will want to do it at some point, but maybe not right now.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. manifests/charts/gateway/files/profile-demo.yaml

    # The demo profile enables a variety of things to try out Istio in non-production environments.
    # * Lower resource utilization.
    # * Some additional features are enabled by default; especially ones used in some tasks in istio.io.
    # * More ports enabled on the ingress, which is used in some tasks.
    meshConfig:
      accessLogFile: /dev/stdout
      extensionProviders:
        - name: otel
          envoyOtelAls:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/testing-dependencies.md

    # Testing Dependencies with Overrides
    
    ## Overriding dependencies during testing
    
    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/index.md

    It just extends OAuth2 specifying some things that are relatively ambiguous in OAuth2, to try to make it more interoperable.
    
    For example, Google login uses OpenID Connect (which underneath uses OAuth2).
    
    But Facebook login doesn't support OpenID Connect. It has its own flavor of OAuth2.
    
    ### OpenID (not "OpenID Connect")
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. tests/test_callable_endpoint.py

    from fastapi.testclient import TestClient
    
    
    def main(some_arg, q: Optional[str] = None):
        return {"some_arg": some_arg, "q": q}
    
    
    endpoint = partial(main, "foo")
    
    app = FastAPI()
    
    app.get("/")(endpoint)
    
    
    client = TestClient(app)
    
    
    def test_partial():
        response = client.get("/?q=bar")
        data = response.json()
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Jun 28 18:13:30 GMT 2020
    - 457 bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/http-basic-auth.md

    #### The time to answer helps the attackers
    
    At that point, by noticing that the server took some microseconds longer to send the "Incorrect username or password" response, the attackers will know that they got _something_ right, some of the initial letters were right.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-ingress/files/profile-demo.yaml

    # The demo profile enables a variety of things to try out Istio in non-production environments.
    # * Lower resource utilization.
    # * Some additional features are enabled by default; especially ones used in some tasks in istio.io.
    # * More ports enabled on the ingress, which is used in some tasks.
    meshConfig:
      accessLogFile: /dev/stdout
      extensionProviders:
        - name: otel
          envoyOtelAls:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top