Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for route (0.02 sec)

  1. docs/pt/docs/how-to/custom-request-and-route.md

    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    ## Classe `APIRoute` personalizada em um router
    
    vocรช tambรฉm pode definir o parametro `route_class` de uma `APIRouter`;
    
    ```Python hl_lines="26"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/custom-request-and-route.md

    ```
    
    ## Benutzerdefinierte `APIRoute`-Klasse in einem Router
    
    Sie kรถnnen auch den Parameter `route_class` eines `APIRouter` festlegen:
    
    ```Python hl_lines="26"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Custom `APIRoute` class in a router
    
    You can also set the `route_class` parameter of an `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003.py hl[26] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/em/docs/how-to/custom-request-and-route.md

    ```
    
    ## ๐Ÿ›ƒ `APIRoute` ๐ŸŽ“ ๐Ÿ“ป
    
    ๐Ÿ‘† ๐Ÿ’ช โš’ `route_class` ๐Ÿ”ข `APIRouter`:
    
    ```Python hl_lines="26"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ–ผ, *โžก ๐Ÿ› ๏ธ* ๐Ÿ”ฝ `router` ๐Ÿ”œ โš™๏ธ ๐Ÿ›ƒ `TimedRoute` ๐ŸŽ“, & ๐Ÿ”œ โœ”๏ธ โž• `X-Response-Time` ๐ŸŽš ๐Ÿ“จ โฎ๏ธ ๐Ÿ•ฐ โšซ๏ธ โœŠ ๐Ÿ— ๐Ÿ“จ:
    
    ```Python hl_lines="13-20"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

        operation["summary"] = generate_operation_summary(route=route, method=method)
        if route.description:
            operation["description"] = route.description
        operation_id = route.operation_id or route.unique_id
        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. fastapi/routing.py

                        route_class_override=type(route),
                        callbacks=current_callbacks,
                        openapi_extra=route.openapi_extra,
                        generate_unique_id_function=current_generate_unique_id,
                    )
                elif isinstance(route, routing.Route):
                    methods = list(route.methods or [])
                    self.add_route(
                        prefix + route.path,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables_linux.go

    				Table:     RouteTableInbound,
    				LinkIndex: loopbackLink.Attrs().Index,
    			},
    		}
    
    		for _, route := range netlinkRoutes {
    			log.Debugf("processing netlink route: %+v", route)
    			if err := f(route); err != nil {
    				return fmt.Errorf("failed to %v route (%+v): %v", operation, route, err)
    			}
    		}
    	}
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    			for _, route := range vh.Routes {
    				if routeDestinationMatchesSvc(route, svc, vh, port) {
    					return getIstioConfig(route.Metadata)
    				}
    			}
    		}
    	}
    	return "", nil
    }
    
    // routeDestinationMatchesSvc determines whether or not to use this service as a destination
    func routeDestinationMatchesSvc(vhRoute *route.Route, svc corev1.Service, vh *route.VirtualHost, port int32) bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. fastapi/utils.py

        operation_id = f"{operation_id}_{method.lower()}"
        return operation_id
    
    
    def generate_unique_id(route: "APIRoute") -> str:
        operation_id = f"{route.name}{route.path_format}"
        operation_id = re.sub(r"\W", "_", operation_id)
        assert route.methods
        operation_id = f"{operation_id}_{list(route.methods)[0].lower()}"
        return operation_id
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 23:46:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config routes deployment/<deployment-name[.namespace]>
    
      # Retrieve route summary for route 9080.
      istioctl proxy-config route <pod-name[.namespace]> --name 9080
    
      # Retrieve full route dump for route 9080
      istioctl proxy-config route <pod-name[.namespace]> --name 9080 -o json
    
      # Retrieve route summary without using Kubernetes API
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top