Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for items (0.17 sec)

  1. tests/test_generate_unique_id_function.py

        @app.post("/", response_model=List[Item], responses={404: {"model": List[Message]}})
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @router.post(
            "/router", response_model=List[Item], responses={404: {"model": List[Message]}}
        )
        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        app.include_router(router)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. common/scripts/metallb-native.yaml

                  nodeSelectors:
                    description: Only connect to this peer on nodes that match one of
                      these selectors.
                    items:
                      properties:
                        matchExpressions:
                          items:
                            properties:
                              key:
                                type: string
                              operator:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // or a string representing a sub-field or item. The string will follow one of these four formats:
    // 'f:<name>', where <name> is the name of a field in a struct, or key in a map
    // 'v:<value>', where <value> is the exact json formatted value of a list item
    // 'i:<index>', where <index> is position of a item in a list
    // 'k:<keys>', where <keys> is a map of  a list item's key fields to their unique values
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  4. tests/test_application.py

                        },
                        "summary": "Get Id",
                        "operationId": "get_id_path__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id"},
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    	}
    
    	foundIngresses := []*ingressInfo{}
    	for _, ns := range ingressNss.UnsortedList() {
    		// Currently no support for non-standard gateways selecting non ingressgateway pods
    		serviceList, err := kubeClient.CoreV1().Services(ns).List(context.TODO(), metav1.ListOptions{})
    		if err == nil {
    			for i, s := range serviceList.Items {
    				iInfo := &ingressInfo{
    					service: serviceList.Items[i].DeepCopy(),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
        async def read_items(
            item_id: Annotated[int, Path(title="The ID of the item to get")],
        ):
            return {"item_id": item_id}
        ```
        """
        return params.Path(
            default=default,
            default_factory=default_factory,
            alias=alias,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  7. docs/ru/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    В этой же директории создайте файл `Dockerfile` и заполните его:
    
    ```{ .dockerfile .annotate }
    # (1)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>The list of results is in the same order as the input list.
       *
       * <p>This differs from {@link #successfulAsList(ListenableFuture[])} in that it will return a
       * failed future if any of the items fails.
       *
       * <p>Canceling this future will attempt to cancel all the component futures, and if any of the
       * provided futures fails or is canceled, this one is, too.
       *
       * @param futures futures to combine
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    final BulkItemResponse[] items = response.getItems();
                    if (requests.size() == items.length) {
                        for (int i = 0; i < requests.size(); i++) {
                            final BulkItemResponse resp = items[i];
                            if (resp.isFailed() && resp.getFailure() != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  10. configure.py

    
    def get_var(environ_cp,
                var_name,
                query_item,
                enabled_by_default,
                question=None,
                yes_reply=None,
                no_reply=None):
      """Get boolean input from user.
    
      If var_name is not set in env, ask user to enable query_item or not. If the
      response is empty, use the default.
    
      Args:
        environ_cp: copy of the os.environ.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top