Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,872 for that (0.16 sec)

  1. docs/en/docs/advanced/events.md

    This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model.
    
    ## Use Case
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    * Then check that the tests **pass** after the PR. ✅
    
    * Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that.
    
    * Then also comment what you tried, that way I'll know that you checked it. 🤓
    
    ## Create a Pull Request
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    Routes are declared in a single place, using functions declared in other places (instead of using decorators that can be placed right on top of the function that handles the endpoint). This is closer to how Django does it than to how Flask (and Starlette) does it. It separates in the code things that are relatively tightly coupled.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // DriverName defines the name of the dynamic resource driver that is
      // used for allocation of a ResourceClaim that uses this class.
      //
      // Resource drivers have a unique name in forward domain order
      // (acme.example.com).
      optional string driverName = 2;
    
      // ParametersRef references an arbitrary separate object that may hold
      // parameters that will be used by the driver when allocating a
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/docker.md

    Then, in that case, it could be simpler to have **one container** with **multiple processes**, and a local tool (e.g. a Prometheus exporter) on the same container collecting Prometheus metrics for all the internal processes and exposing those metrics on that single container.
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    The last `CommonQueryParams`, in:
    
    ```Python
    ... Depends(CommonQueryParams)
    ```
    
    ...is what **FastAPI** will actually use to know what is the dependency.
    
    From it is that FastAPI will extract the declared parameters and that is what FastAPI will actually call.
    
    ---
    
    In this case, the first `CommonQueryParams`, in:
    
    === "Python 3.8+"
    
        ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      //
      // The value of this field can be more than 100, implying that this
      // priority level can borrow a number of seats that is greater than
      // its own nominal concurrency limit (NominalCL).
      // When this field is left `nil`, the limit is effectively infinite.
      // +optional
      optional int32 borrowingLimitPercent = 4;
    }
    
    // NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      //
      // The value of this field can be more than 100, implying that this
      // priority level can borrow a number of seats that is greater than
      // its own nominal concurrency limit (NominalCL).
      // When this field is left `nil`, the limit is effectively infinite.
      // +optional
      optional int32 borrowingLimitPercent = 4;
    }
    
    // NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  9. architecture/ambient/ztunnel.md

    When fetching certificates, ztunnel will authenticate to the CA with its own identity, but request the identity of another workload.
    Critically, the CA must enforce that the ztunnel has permission to request that identity.
    Requests for identities not running on the node are rejected.
    This is critical to ensure that a compromised node does not compromise the entire mesh.
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    #### Technical Details about ORM mode
    
    SQLAlchemy and many others are by default "lazy loading".
    
    That means, for example, that they don't fetch the data for relationships from the database unless you try to access the attribute that would contain that data.
    
    For example, accessing the attribute `items`:
    
    ```Python
    current_user.items
    ```
    
    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)
Back to top